We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
There was an error while loading. Please reload this page.
1 parent 755fad8 commit 858982eCopy full SHA for 858982e
openmp/libomptarget/plugins-nextgen/cuda/src/rtl.cpp
@@ -69,7 +69,7 @@ cuMemGetAllocationGranularity(size_t *granularity,
69
#if (defined(CUDA_VERSION) && (CUDA_VERSION < 11020))
70
// Forward declarations of asynchronous memory management functions. This is
71
// necessary for older versions of CUDA.
72
-CUresult cuMemAllocAsync(CUdeviceptr *ptr, size_t, CUstream) { *ptr = nullptr; }
+CUresult cuMemAllocAsync(CUdeviceptr *ptr, size_t, CUstream) { *ptr = 0; }
73
74
CUresult cuMemFreeAsync(CUdeviceptr dptr, CUstream hStream) {}
75
#endif
0 commit comments