From dev-return-4198-archive-asf-public=cust-asf.ponee.io@singa.apache.org Tue Feb 18 04:32:31 2020 Return-Path: X-Original-To: archive-asf-public@cust-asf.ponee.io Delivered-To: archive-asf-public@cust-asf.ponee.io Received: from mail.apache.org (hermes.apache.org [207.244.88.153]) by mx-eu-01.ponee.io (Postfix) with SMTP id 37BF2180636 for ; Tue, 18 Feb 2020 05:32:31 +0100 (CET) Received: (qmail 46480 invoked by uid 500); 18 Feb 2020 04:32:30 -0000 Mailing-List: contact dev-help@singa.apache.org; run by ezmlm Precedence: bulk List-Help: List-Unsubscribe: List-Post: List-Id: Reply-To: dev@singa.apache.org Delivered-To: mailing list dev@singa.apache.org Received: (qmail 46469 invoked by uid 99); 18 Feb 2020 04:32:30 -0000 Received: from ec2-52-202-80-70.compute-1.amazonaws.com (HELO gitbox.apache.org) (52.202.80.70) by apache.org (qpsmtpd/0.29) with ESMTP; Tue, 18 Feb 2020 04:32:30 +0000 From: GitBox To: dev@singa.apache.org Subject: [GitHub] [singa] chrishkchris edited a comment on issue #591: Dev branch cpu training problem (with conv and pool) Message-ID: <158200035029.6307.8173510489826624823.gitbox@gitbox.apache.org> References: In-Reply-To: Date: Tue, 18 Feb 2020 04:32:30 -0000 Content-Type: text/plain; charset=utf-8 Content-Transfer-Encoding: 8bit chrishkchris edited a comment on issue #591: Dev branch cpu training problem (with conv and pool) URL: https://github.com/apache/singa/issues/591#issuecomment-587273343 I have found that the reason, the format of the memory tag should be any in order to use the direct algorithm, otherwise the implementation will silently fall back to an explicit GEMM algorithm which is slower: https://intel.github.io/mkl-dnn/dev_guide_convolution.html An example code of the correct implementation is: https://intel.github.io/mkl-dnn/cpu_cnn_training_f32_8c-example.html @dcslin I will try to modify the code myself first. If I find it too complex I will ask for your help because you are more familiar with the dnnl library. Thanks! ---------------------------------------------------------------- This is an automated message from the Apache Git Service. To respond to the message, please log on to GitHub and use the URL above to go to the specific comment. For queries about this service, please contact Infrastructure at: users@infra.apache.org With regards, Apache Git Services