From dev-return-6110-archive-asf-public=cust-asf.ponee.io@singa.apache.org Wed Aug 12 08:10:35 2020 Return-Path: X-Original-To: archive-asf-public@cust-asf.ponee.io Delivered-To: archive-asf-public@cust-asf.ponee.io Received: from mailroute1-lw-us.apache.org (mailroute1-lw-us.apache.org [207.244.88.153]) by mx-eu-01.ponee.io (Postfix) with ESMTPS id A4DE1180622 for ; Wed, 12 Aug 2020 10:10:35 +0200 (CEST) Received: from mail.apache.org (localhost [127.0.0.1]) by mailroute1-lw-us.apache.org (ASF Mail Server at mailroute1-lw-us.apache.org) with SMTP id C71191244D3 for ; Wed, 12 Aug 2020 08:10:34 +0000 (UTC) Received: (qmail 72570 invoked by uid 500); 12 Aug 2020 08:10:34 -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 72559 invoked by uid 99); 12 Aug 2020 08:10:34 -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; Wed, 12 Aug 2020 08:10:34 +0000 From: =?utf-8?q?GitBox?= To: dev@singa.apache.org Subject: =?utf-8?q?=5BGitHub=5D_=5Bsinga=5D_dcslin_commented_on_pull_request_=23779?= =?utf-8?q?=3A_half_float_update?= Message-ID: <159721983440.32230.9350784233813571343.asfpy@gitbox.apache.org> Date: Wed, 12 Aug 2020 08:10:34 -0000 Content-Type: text/plain; charset=utf-8 Content-Transfer-Encoding: 8bit In-Reply-To: References: dcslin commented on pull request #779: URL: https://github.com/apache/singa/pull/779#issuecomment-672713946 refactored https://github.com/apache/singa/pull/775 changes: - cpp - tensor impl across device - add `half.hpp` - IO - add `f16` to `TYPE_SWITCH` - add `f16<->f32` to `singa::TypeCast` (scalar) - add explicit instantiation for `CopyDataFromHostPtr` - add cast DType to SType in `Tensor::SetValue` - add `f16` to `tensor::set_value()` - math - add `f16<->f32` for `cpu/cuda` to `TYPE_LANG_SWITCH` - add `f16<->f32` for `cpu/cuda` to `TYPE_TYPE_LANG_SWITCH` - add cast DType to SType in `EltwiseTensorScalarFn` - add cast DType to SType in `Div` (scalar/tensor) - tensor ops impl on device - add `GetCudnnDataType` to `generate_tensor_nd_desc` - add `f16` to `Transform` - add `f16` on `cpu/cuda` Gaussian - add `f16<->f32` for `cpu/cuda` to CastCopy - SWIG - add f16 typemaps - add API `GetHalfFloatValue` - add API `CopyHalfFloatDataFromHostPtr` - py - add f16 to `tensor.as_type()` - add f16 to `tensor.copy_from_numpy()` - add raise exception to `tensor. copy_from_numpy()` for unsupported type - add f16 to `tensor. from_numpy()` - ---------------------------------------------------------------- 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