[Openmp-commits] [openmp] [Libomptarget] Fix RPC-based malloc on NVPTX (PR #72440)
Joseph Huber via Openmp-commits
openmp-commits at lists.llvm.org
Tue Jan 2 14:54:24 PST 2024
================
@@ -2064,6 +2064,7 @@ struct AMDGPUDeviceTy : public GenericDeviceTy, AMDGenericDeviceTy {
switch (Kind) {
case TARGET_ALLOC_DEFAULT:
case TARGET_ALLOC_DEVICE:
+ case TARGET_ALLOC_DEVICE_NON_BLOCKING:
MemoryPool = CoarseGrainedMemoryPools[0];
----------------
jhuber6 wrote:
I think we just assume they're all equivalent right now, and there's an assert somewhere to ensure that there's at least one IIRC.
https://github.com/llvm/llvm-project/pull/72440
More information about the Openmp-commits
mailing list