From dev-return-2219-archive-asf-public=cust-asf.ponee.io@mxnet.incubator.apache.org Fri Feb 23 16:10:58 2018 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 [140.211.11.3]) by mx-eu-01.ponee.io (Postfix) with SMTP id 63A1D180652 for ; Fri, 23 Feb 2018 16:10:58 +0100 (CET) Received: (qmail 36839 invoked by uid 500); 23 Feb 2018 15:10:57 -0000 Mailing-List: contact dev-help@mxnet.incubator.apache.org; run by ezmlm Precedence: bulk List-Help: List-Unsubscribe: List-Post: List-Id: Reply-To: dev@mxnet.incubator.apache.org Delivered-To: mailing list dev@mxnet.incubator.apache.org Received: (qmail 36812 invoked by uid 99); 23 Feb 2018 15:10:56 -0000 Received: from pnap-us-west-generic-nat.apache.org (HELO spamd4-us-west.apache.org) (209.188.14.142) by apache.org (qpsmtpd/0.29) with ESMTP; Fri, 23 Feb 2018 15:10:56 +0000 Received: from localhost (localhost [127.0.0.1]) by spamd4-us-west.apache.org (ASF Mail Server at spamd4-us-west.apache.org) with ESMTP id 53FC3C00B8 for ; Fri, 23 Feb 2018 15:10:56 +0000 (UTC) X-Virus-Scanned: Debian amavisd-new at spamd4-us-west.apache.org X-Spam-Flag: NO X-Spam-Score: -0.121 X-Spam-Level: X-Spam-Status: No, score=-0.121 tagged_above=-999 required=6.31 tests=[DKIM_SIGNED=0.1, DKIM_VALID=-0.1, DKIM_VALID_AU=-0.1, RCVD_IN_DNSWL_NONE=-0.0001, RCVD_IN_MSPIKE_H3=-0.01, RCVD_IN_MSPIKE_WL=-0.01, SPF_PASS=-0.001] autolearn=disabled Authentication-Results: spamd4-us-west.apache.org (amavisd-new); dkim=pass (2048-bit key) header.d=gmail.com Received: from mx1-lw-us.apache.org ([10.40.0.8]) by localhost (spamd4-us-west.apache.org [10.40.0.11]) (amavisd-new, port 10024) with ESMTP id fx_MQZ5T4Au2 for ; Fri, 23 Feb 2018 15:10:55 +0000 (UTC) Received: from mail-lf0-f47.google.com (mail-lf0-f47.google.com [209.85.215.47]) by mx1-lw-us.apache.org (ASF Mail Server at mx1-lw-us.apache.org) with ESMTPS id 3FCB35F24A for ; Fri, 23 Feb 2018 15:10:55 +0000 (UTC) Received: by mail-lf0-f47.google.com with SMTP id r80so12793806lfe.13 for ; Fri, 23 Feb 2018 07:10:55 -0800 (PST) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=gmail.com; s=20161025; h=mime-version:from:date:message-id:subject:to; bh=YRQhsDO8Jn7JmRGBuwLxMv2QE7DwKi/qmgKiTZ90YdA=; b=STeysLolxcRNvYf2cItF8LNAHtGbX8HXY2JpqRJlZvDY0I8C2w4FDubKiONN7w4P1c zXuFI37OAlshGHGRvFeTp6MxR8RZjUP/7zQqLzCvt+k6jXCq6wDsNyFwQp2mKHLWFE5G mZjTkRY9qs76qWhDq/duxh7Q6FMBsDZ6z4UsaaWWfsINdzWMIlWS06tMzHKql4HLWopa fAng1B+JNwM210KXpHKQ+pG/FrENBSt7//qdcImdDiEfGNoAEooX/VVYrnds/fW4mWXp ei/Y1JcR5hRnn+rBtnnwghQhNXGIMXiltxv+qZ0CV3qLvRN8+j0OOR/fih+XGkbmQT1R 08pQ== X-Google-DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=1e100.net; s=20161025; h=x-gm-message-state:mime-version:from:date:message-id:subject:to; bh=YRQhsDO8Jn7JmRGBuwLxMv2QE7DwKi/qmgKiTZ90YdA=; b=c/arKDe8rqTfDwPRM3HLssO3x8pQhBjrHGSlAuzRDSF24wSkKN6EYniKgHTNBVNPof 3FJblhXkS+nMdeet+vsYp4A2YbHxw5F7cnw0g2ghtC8DDBLto99Kld8rBCy2/ZV6AnOg wrMZ14L8Yy1kRavgUgGXy1FrofFmFkFBMUwzxU9LQ77MmrMlfPdX/RWsQ8GT3PTNPQDx QpzhfRgX6sZzGTn9xIRCDqX598f1kyn334P1OmN53ehxRfhwYQwTDMmU/YTAGHwf3eiC kwhSfJxOp6Xpfh3mgosKo24PNWv4DpYdYH7SdN8MfDFxHeGBoRctAf0Zgerm8ReirRkn XXag== X-Gm-Message-State: APf1xPDQufLb1vfi7Gxw3crcPhZEkJRD25tikpxgv2Gtg1nFz/U0vB3a uFaqIgDldjBbFJy4Tli/ohXhVL/S2Amga4y7mKg= X-Google-Smtp-Source: AG47ELvFgACoicAEyHX+0OuxNM7DVfb9lz4JhkrRm2XLOuroDRao3JECCNYdcDX/Iz1yd9+Usr+osSRVpUR2AdvM3c8= X-Received: by 10.46.43.219 with SMTP id r88mr1678903ljr.26.1519398653474; Fri, 23 Feb 2018 07:10:53 -0800 (PST) MIME-Version: 1.0 Received: by 10.25.147.145 with HTTP; Fri, 23 Feb 2018 07:10:52 -0800 (PST) From: Pedro Larroy Date: Fri, 23 Feb 2018 16:10:52 +0100 Message-ID: Subject: ndarray using dynamic dispatch To: dev@mxnet.incubator.apache.org Content-Type: text/plain; charset="UTF-8" Hi When looking at NDArray seems to me that the code will be cleaner if we used dynamic dispatch and have different implementations such as MKLDNN in diferent compilation units instead of having the ifdef code intermingled. Is there any reason that I'm not aware of not to do it that way? What happens when we integrate the next tensor library from the next manufacturer? Pedro.