[Openmp-commits] [PATCH] D108528: [OpenMP][Offloading] Add support for event related interfaces

Shilei Tian via Phabricator via Openmp-commits openmp-commits at lists.llvm.org
Fri Aug 27 16:41:50 PDT 2021


tianshilei1992 marked an inline comment as done.
tianshilei1992 added inline comments.


================
Comment at: openmp/libomptarget/plugins/cuda/src/rtl.cpp:132
 
+void *createEvent() {
+  CUevent Event = nullptr;
----------------
ye-luo wrote:
> I just realize that this one needs to be
> int createEvent(void** createEvent)
> and the return code needs to indicate the success/failure of cuEventCreate call.
> 
> This is probably my last concern.
That's a good one. Done.


Repository:
  rG LLVM Github Monorepo

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

https://reviews.llvm.org/D108528



More information about the Openmp-commits mailing list