[Openmp-commits] [PATCH] D116315: [OpenMP][CUDA] Add resource pool for CUevent
Ye Luo via Phabricator via Openmp-commits
openmp-commits at lists.llvm.org
Mon Dec 27 22:32:52 PST 2021
ye-luo added inline comments.
================
Comment at: openmp/libomptarget/plugins/cuda/src/rtl.cpp:487
EnvTeamThreadLimit(-1), RequiresFlags(OMP_REQ_UNDEFINED),
- DynamicMemorySize(0) {
+ DynamicMemorySize(0), EventPool(AllocatorTy<CUevent>(), 8) {
----------------
Need to be 0 instead of 8. Otherwise resize() happens before cuInit().
Repository:
rG LLVM Github Monorepo
CHANGES SINCE LAST ACTION
https://reviews.llvm.org/D116315/new/
https://reviews.llvm.org/D116315
More information about the Openmp-commits
mailing list