Following D111954, this patch adds the resource pool for CUevent.
Details
Details
Diff Detail
Diff Detail
- Repository
- rG LLVM Github Monorepo
Event Timeline
| openmp/libomptarget/plugins/cuda/src/rtl.cpp | ||
|---|---|---|
| 335–336 | Right. I'll remove it as well as other .reset() in another NFC patch. | |
| openmp/libomptarget/plugins/cuda/src/rtl.cpp | ||
|---|---|---|
| 492 | Need to be 0 instead of 8. Otherwise resize() happens before cuInit(). | |
| openmp/libomptarget/plugins/cuda/src/rtl.cpp | ||
|---|---|---|
| 492 | Oh, that is the reason I used unique_ptr before. | |
This line probably can be removed.