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<void(Context*)>&& 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?
So I can use: cudaeventrecord(node->stream)
----------------------------------------------------------------
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:
[email protected]