[Openmp-commits] [PATCH] D113119: [OpenMP] Introduce asynchronous malloc and free
Shilei Tian via Phabricator via Openmp-commits
openmp-commits at lists.llvm.org
Sun Jan 9 18:32:06 PST 2022
tianshilei1992 added inline comments.
================
Comment at: openmp/libomptarget/plugins/cuda/src/rtl.cpp:1515
+#if CUDA_VERSION < 11020
+ __tgt_rtl_synchronize(device_id, async_info_ptr);
+#endif
----------------
why would we need a sync before calling data alloc?
Repository:
rG LLVM Github Monorepo
CHANGES SINCE LAST ACTION
https://reviews.llvm.org/D113119/new/
https://reviews.llvm.org/D113119
More information about the Openmp-commits
mailing list