From dev-return-127-archive-asf-public=cust-asf.ponee.io@tvm.apache.org Fri Apr 5 22:34:14 2019 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 CBFC918060F for ; Sat, 6 Apr 2019 00:34:13 +0200 (CEST) Received: (qmail 79887 invoked by uid 500); 5 Apr 2019 22:34:13 -0000 Mailing-List: contact dev-help@tvm.apache.org; run by ezmlm Precedence: bulk List-Help: List-Unsubscribe: List-Post: List-Id: Reply-To: dev@tvm.apache.org Delivered-To: mailing list dev@tvm.apache.org Received: (qmail 79875 invoked by uid 99); 5 Apr 2019 22:34:12 -0000 Received: from pnap-us-west-generic-nat.apache.org (HELO spamd3-us-west.apache.org) (209.188.14.142) by apache.org (qpsmtpd/0.29) with ESMTP; Fri, 05 Apr 2019 22:34:12 +0000 Received: from localhost (localhost [127.0.0.1]) by spamd3-us-west.apache.org (ASF Mail Server at spamd3-us-west.apache.org) with ESMTP id EC6FA1809E5 for ; Fri, 5 Apr 2019 22:34:11 +0000 (UTC) X-Virus-Scanned: Debian amavisd-new at spamd3-us-west.apache.org X-Spam-Flag: NO X-Spam-Score: 1.624 X-Spam-Level: * X-Spam-Status: No, score=1.624 tagged_above=-999 required=6.31 tests=[DKIMWL_WL_HIGH=-0.001, DKIM_SIGNED=0.1, DKIM_VALID=-0.1, DKIM_VALID_AU=-0.1, HEADER_FROM_DIFFERENT_DOMAINS=0.001, HTML_IMAGE_ONLY_28=0.726, HTML_MESSAGE=2, MAILING_LIST_MULTI=-1, RCVD_IN_DNSWL_NONE=-0.0001, RCVD_IN_MSPIKE_H2=-0.001, SPF_PASS=-0.001] autolearn=disabled Authentication-Results: spamd3-us-west.apache.org (amavisd-new); dkim=pass (1024-bit key) header.d=github.com Received: from mx1-lw-eu.apache.org ([10.40.0.8]) by localhost (spamd3-us-west.apache.org [10.40.0.10]) (amavisd-new, port 10024) with ESMTP id xKwh_Y7WK80W for ; Fri, 5 Apr 2019 22:34:10 +0000 (UTC) Received: from mail-ed1-f48.google.com (mail-ed1-f48.google.com [209.85.208.48]) by mx1-lw-eu.apache.org (ASF Mail Server at mx1-lw-eu.apache.org) with ESMTPS id 2BCD261105 for ; Fri, 5 Apr 2019 22:26:50 +0000 (UTC) Received: by mail-ed1-f48.google.com with SMTP id s16so6820804edr.3 for ; Fri, 05 Apr 2019 15:26:50 -0700 (PDT) X-Google-DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=1e100.net; s=20161025; h=x-gm-message-state:delivered-to:date:dkim-signature:from:reply-to :to:cc:message-id:in-reply-to:references:subject:mime-version :content-transfer-encoding:precedence:list-id:list-archive:list-post :list-unsubscribe; bh=oESF0+H6fjtTLCVnEBeskPPiC+KRrhsrj8w4LHUeUE4=; b=E8cj/z/Ha7+9IzY9l9vVgi6lTcm1Iv5/LWhQQKWfdjEuSKAXxHgc8qotU/FMB4xgC1 ksJQuOgmFo1X7EU6XjttSKpgx8Fq31oQeJqzF2XE6pfukoTOInfTu3yaZ6YrOv40MFaR fD61tMe7UgO4uvm3KllY+joeyfvRD0s9NTa6xq4t7PvZfu0HtNdWSxO7ox1V7Ltvem/Q cMtSyFj14NYlxM8NqBqM64NdRarsBs3M007QNBaC6CwjFQXla/sTBaE9LzUVYnAalbkN i1Eee4hM+2vnLvPD45v1z8eb6RCZ2CVoHfb0FcCv8AGqUu5cGFjVVs3hF0dHfsysgFP9 Q56g== X-Gm-Message-State: APjAAAXxB/aHW5h7BGJT3wkV/E/p9Ed6jAsK12mHdkFq+/fFqlg3XajH KSyJrNp4rng8TzYrcKrJkL5Xm2nmDlKlB0zSNMTD+P2huppK4Xw= X-Received: by 2002:a17:906:184e:: with SMTP id w14mr8834340eje.209.1554503209982; Fri, 05 Apr 2019 15:26:49 -0700 (PDT) X-Forwarded-To: dev@tvm.apache.org X-Forwarded-For: tvm.archiver@gmail.com dev@tvm.apache.org Delivered-To: tvm.archiver@gmail.com Received: by 2002:a50:cf4b:0:0:0:0:0 with SMTP id d11csp993436edk; Fri, 5 Apr 2019 15:26:49 -0700 (PDT) X-Google-Smtp-Source: APXvYqwNs98XxqQ8btzU5M2qM41WyatlQlTLZcQO1ml8OVsrPK7NCE00GEHUyGElMGQw1+MbYhv1 X-Received: by 2002:ac8:17ee:: with SMTP id r43mr13486172qtk.169.1554503208996; Fri, 05 Apr 2019 15:26:48 -0700 (PDT) ARC-Seal: i=1; a=rsa-sha256; t=1554503208; cv=none; d=google.com; s=arc-20160816; b=Lz4tkak0ZpzlL/GNNmec1LitIYyXlnnbIMFVgzSR1I32bLVpWu8Y+M2pKXMcDk8GWI CwXr86o5KFhR97pUZIbt4UP2eZB6m8ahav2N8v1OS3Nft8AhJK0ZaXZh9uJF5PIqagJI E/USsVqVqU0NwTUFYlyDHvCxsqMM8NHw2camJYnyECVsSJrOM8opFD8hS7PLhnePaTzF doo/8dZSQ0PtLX6CN5rDzGbZZd7SCULiLO4U152ndsX9C7ggXaMCr32F6a6UL8SSGkez h+lK8/W3OpGxiR9gp52mGPEq1L6RALBAa8cMh2ZJFfjxtfwT9H6kg1m+RV1TjygDTXKL H/Sg== ARC-Message-Signature: i=1; a=rsa-sha256; c=relaxed/relaxed; d=google.com; s=arc-20160816; h=list-unsubscribe:list-post:list-archive:list-id:precedence :content-transfer-encoding:mime-version:subject:references :in-reply-to:message-id:cc:to:reply-to:from:dkim-signature:date; bh=oESF0+H6fjtTLCVnEBeskPPiC+KRrhsrj8w4LHUeUE4=; b=xo+iEAB8bEDfJaXUt6xrogFjVMyj0h08cYnOLiwITBh08yRBWMrNyXEx4PkdKDs/dA N6Q19QGCVfVLHg7zvh1EhtkrO8tPoDzwhXAN45WGCFV+xJwTTd2dFMZLduQreFkkCzIX ERTlF5CJbt2gCKqZxpfBsRrlpMoDW4KQEVM+xZe12cvWW1C7JtZRuodNlr+W6h3Sqhzk N6lxa4LviisvB+E+Yl4WVJWfDJmkLnHHPKf5tDBgOTTo2vqYFiLz87Y+8VsQYNukhw8v 17bAp1a088NR/+heYqWI2zSaRcuHUbwx/HRjOiKVqaljAdLoJp8YdzOK8dSuCeXF1o/k kjBw== ARC-Authentication-Results: i=1; mx.google.com; dkim=pass (test mode) header.i=@github.com header.s=pf2014 header.b=KP5Q7MaV; spf=pass (google.com: domain of noreply@github.com designates 192.30.252.195 as permitted sender) smtp.mailfrom=noreply@github.com; dmarc=pass (p=NONE sp=NONE dis=NONE) header.from=github.com Received: from out-4.smtp.github.com (out-4.smtp.github.com. [192.30.252.195]) by mx.google.com with ESMTPS id r8si3250488qvj.6.2019.04.05.15.26.48 for (version=TLS1_2 cipher=ECDHE-RSA-AES128-GCM-SHA256 bits=128/128); Fri, 05 Apr 2019 15:26:48 -0700 (PDT) Received-SPF: pass (google.com: domain of noreply@github.com designates 192.30.252.195 as permitted sender) client-ip=192.30.252.195; Authentication-Results: mx.google.com; dkim=pass (test mode) header.i=@github.com header.s=pf2014 header.b=KP5Q7MaV; spf=pass (google.com: domain of noreply@github.com designates 192.30.252.195 as permitted sender) smtp.mailfrom=noreply@github.com; dmarc=pass (p=NONE sp=NONE dis=NONE) header.from=github.com Date: Fri, 05 Apr 2019 15:26:48 -0700 DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=github.com; s=pf2014; t=1554503208; bh=oESF0+H6fjtTLCVnEBeskPPiC+KRrhsrj8w4LHUeUE4=; h=Date:From:Reply-To:To:Cc:In-Reply-To:References:Subject:List-ID: List-Archive:List-Post:List-Unsubscribe:From; b=KP5Q7MaVff+j5Go+rh4Va/B4dfAKvCUvhFQGWh9keB1wibN5AiisNh8Sa8dmrCrnv 0MLEB9dzPQIkGIRKqejXabt72EdL424c+GmAJF3w3cic8xKZtMvUBYVdZeGGQC+F2e p3Po5RyZ/85J9Jmf75Gs/vS+qtWPwTxmyAFmmI+0= From: Tianqi Chen Reply-To: dmlc/tvm To: dmlc/tvm Cc: Subscribed Message-ID: In-Reply-To: References: Subject: Re: [dmlc/tvm] [RFC][PASS][RUNTIME] Enable Slice on RHS during concat (#2975) Mime-Version: 1.0 Content-Type: multipart/alternative; boundary="--==_mimepart_5ca7d628971b6_6fa53f7e8e0d45c019535b"; charset=UTF-8 Content-Transfer-Encoding: 7bit X-GitHub-Sender: tqchen X-GitHub-Recipient: tvm-archiver X-GitHub-Reason: subscribed List-Archive: https://github.com/dmlc/tvm X-Auto-Response-Suppress: All X-GitHub-Recipient-Address: tvm.archiver@gmail.com ----==_mimepart_5ca7d628971b6_6fa53f7e8e0d45c019535b Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 7bit What I mean is that runtime need to be aware of the memory layout and provide out[slice] = f(inputs). Another possible "obstacle" is that TVM's compute kernel requires the buffer to be somewhat aligned, and we need to generate a special kernel for ```out[slice] = f(inputs)```, with a known offset(so we still benefit from good alignment). This is necessary for OpenCL -- You are receiving this because you are subscribed to this thread. Reply to this email directly or view it on GitHub: https://github.com/dmlc/tvm/issues/2975#issuecomment-480441459 ----==_mimepart_5ca7d628971b6_6fa53f7e8e0d45c019535b--