Skip to content

Commit e5e448a

Browse files
[libomptarget][cuda] Fix build, change missed from D95274
1 parent cfd978d commit e5e448a

File tree

1 file changed

+11
-11
lines changed
  • openmp/libomptarget/plugins/cuda/dynamic_cuda

1 file changed

+11
-11
lines changed

openmp/libomptarget/plugins/cuda/dynamic_cuda/cuda.cpp

Lines changed: 11 additions & 11 deletions
Original file line numberDiff line numberDiff line change
@@ -28,26 +28,26 @@ DLWRAP(cuFuncGetAttribute, 3);
2828
DLWRAP(cuGetErrorString, 2);
2929
DLWRAP(cuLaunchKernel, 11);
3030

31-
DLWRAP(cuMemAlloc, 2);
32-
DLWRAP(cuMemcpyDtoDAsync, 4);
31+
DLWRAP(cuMemAlloc_v2, 2);
32+
DLWRAP(cuMemcpyDtoDAsync_v2, 4);
3333

34-
DLWRAP(cuMemcpyDtoH, 3);
35-
DLWRAP(cuMemcpyDtoHAsync, 4);
36-
DLWRAP(cuMemcpyHtoD, 3);
37-
DLWRAP(cuMemcpyHtoDAsync, 4);
34+
DLWRAP(cuMemcpyDtoH_v2, 3);
35+
DLWRAP(cuMemcpyDtoHAsync_v2, 4);
36+
DLWRAP(cuMemcpyHtoD_v2, 3);
37+
DLWRAP(cuMemcpyHtoDAsync_v2, 4);
3838

39-
DLWRAP(cuMemFree, 1);
39+
DLWRAP(cuMemFree_v2, 1);
4040
DLWRAP(cuModuleGetFunction, 3);
41-
DLWRAP(cuModuleGetGlobal, 4);
41+
DLWRAP(cuModuleGetGlobal_v2, 4);
4242

4343
DLWRAP(cuModuleUnload, 1);
4444
DLWRAP(cuStreamCreate, 2);
45-
DLWRAP(cuStreamDestroy, 1);
45+
DLWRAP(cuStreamDestroy_v2, 1);
4646
DLWRAP(cuStreamSynchronize, 1);
4747
DLWRAP(cuCtxSetCurrent, 1);
48-
DLWRAP(cuDevicePrimaryCtxRelease, 1);
48+
DLWRAP(cuDevicePrimaryCtxRelease_v2, 1);
4949
DLWRAP(cuDevicePrimaryCtxGetState, 3);
50-
DLWRAP(cuDevicePrimaryCtxSetFlags, 2);
50+
DLWRAP(cuDevicePrimaryCtxSetFlags_v2, 2);
5151
DLWRAP(cuDevicePrimaryCtxRetain, 2);
5252
DLWRAP(cuModuleLoadDataEx, 5);
5353

0 commit comments

Comments
 (0)