[offload][CUDA] Fix DLWRAP for memory routines (#190500)

This commit is contained in:
Kevin Sala Penades 2026-04-04 19:29:25 -07:00 committed by GitHub
parent 17ed1e6c4b
commit 00d5f660f4
No known key found for this signature in database
GPG Key ID: B5690EEEBB952194

View File

@ -100,8 +100,6 @@ DLWRAP(cuEventSynchronize, 1)
DLWRAP(cuEventElapsedTime, 3) DLWRAP(cuEventElapsedTime, 3)
DLWRAP(cuEventDestroy, 1) DLWRAP(cuEventDestroy, 1)
DLWRAP_FINALIZE()
DLWRAP(cuMemUnmap, 2) DLWRAP(cuMemUnmap, 2)
DLWRAP(cuMemRelease, 1) DLWRAP(cuMemRelease, 1)
DLWRAP(cuMemAddressFree, 2) DLWRAP(cuMemAddressFree, 2)
@ -112,6 +110,8 @@ DLWRAP(cuMemCreate, 4)
DLWRAP(cuMemSetAccess, 4) DLWRAP(cuMemSetAccess, 4)
DLWRAP(cuMemGetAllocationGranularity, 3) DLWRAP(cuMemGetAllocationGranularity, 3)
DLWRAP_FINALIZE()
#ifndef DYNAMIC_CUDA_PATH #ifndef DYNAMIC_CUDA_PATH
#define DYNAMIC_CUDA_PATH "libcuda.so" #define DYNAMIC_CUDA_PATH "libcuda.so"
#endif #endif