From dev-return-4484-archive-asf-public=cust-asf.ponee.io@singa.apache.org Fri Mar 13 02:52:39 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 3C34018064F for ; Fri, 13 Mar 2020 03:52:39 +0100 (CET) Received: (qmail 63110 invoked by uid 500); 13 Mar 2020 02:52:38 -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 63100 invoked by uid 99); 13 Mar 2020 02:52:38 -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; Fri, 13 Mar 2020 02:52:38 +0000 From: GitBox To: dev@singa.apache.org Subject: [GitHub] [singa] dcslin commented on a change in pull request #625: tensor.AsType() Message-ID: <158406795848.9794.3505472270036978235.gitbox@gitbox.apache.org> References: In-Reply-To: Date: Fri, 13 Mar 2020 02:52:38 -0000 Content-Type: text/plain; charset=utf-8 Content-Transfer-Encoding: 8bit dcslin commented on a change in pull request #625: tensor.AsType() URL: https://github.com/apache/singa/pull/625#discussion_r392003376 ########## File path: src/core/tensor/math_kernel.cu ########## @@ -184,6 +184,20 @@ __global__ void KernelAbs(const size_t n, const float *in, float *out) { } } +__global__ void KernelAsType2(const size_t n, const float *in, int *out) { Review comment: Thank you, this is rectified. ---------------------------------------------------------------- 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