From dev-return-5694-archive-asf-public=cust-asf.ponee.io@singa.apache.org Sat Jun 6 15:46:19 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 8570D180608 for ; Sat, 6 Jun 2020 17:46:19 +0200 (CEST) Received: (qmail 67536 invoked by uid 500); 6 Jun 2020 15:46:11 -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 67326 invoked by uid 99); 6 Jun 2020 15:46:10 -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; Sat, 06 Jun 2020 15:46:10 +0000 From: =?utf-8?q?GitBox?= To: dev@singa.apache.org Subject: =?utf-8?q?=5BGitHub=5D_=5Bsinga=5D_chrishkchris_commented_on_a_change_in_pul?= =?utf-8?q?l_request_=23716=3A_SINGA-510_Distributed_Training_Time_Profiling?= Message-ID: <159145837081.17834.8548035697937852170.asfpy@gitbox.apache.org> Date: Sat, 06 Jun 2020 15:46:10 -0000 Content-Type: text/plain; charset=utf-8 Content-Transfer-Encoding: 8bit References: In-Reply-To: chrishkchris commented on a change in pull request #716: URL: https://github.com/apache/singa/pull/716#discussion_r436278541 ########## File path: src/core/device/cuda_gpu.cc ########## @@ -120,9 +132,41 @@ void CudaGPU::TimeProfilingDoExec(function&& fn, int executor, cudaEventCreate(&(node->start_)); cudaEventCreate(&(node->end_)); +#ifdef USE_DIST Review comment: then may pass the cuda stream from the buffered op and save the cuda stream in the node? ---------------------------------------------------------------- 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