[Openmp-commits] [PATCH] D121322: [OpenMP][CUDA] Avoid calling `cuCtxSetCurrent` redundantly

Johannes Doerfert via Phabricator via Openmp-commits openmp-commits at lists.llvm.org
Wed Mar 9 12:02:10 PST 2022


jdoerfert accepted this revision.
jdoerfert added a comment.
This revision is now accepted and ready to land.

Nice, see my comment. LG



================
Comment at: openmp/libomptarget/plugins/cuda/src/rtl.cpp:1711
 
   return DeviceRTL.waitEvent(device_id, async_info_ptr, event_ptr);
 }
----------------
If we don't need setContext for an entry point, add a comment stating that please.


Repository:
  rG LLVM Github Monorepo

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

https://reviews.llvm.org/D121322



More information about the Openmp-commits mailing list