[Openmp-commits] [PATCH] D74145: [OpenMP][Offloading] Added support for multiple streams so that multiple kernels can be executed concurrently

Shilei Tian via Phabricator via Openmp-commits openmp-commits at lists.llvm.org
Fri Feb 7 10:35:42 PST 2020


tianshilei1992 added inline comments.


================
Comment at: openmp/libomptarget/plugins/cuda/src/rtl.cpp:832
 
   CUresult sync_err = cuCtxSynchronize();
   if (sync_err != CUDA_SUCCESS) {
----------------
ye-luo wrote:
> This synchronization should be replaced with stream wait.
Are you referring to `cudaStreamWaitEvent`?


CHANGES SINCE LAST ACTION
  https://reviews.llvm.org/D74145/new/

https://reviews.llvm.org/D74145





More information about the Openmp-commits mailing list