keep simplifying the change required for UMA

This commit is contained in:
Erik Garrison 2023-12-14 01:06:37 +01:00
parent 6caf33cfc8
commit 7ee8df3dc9

View file

@ -58,7 +58,7 @@
#define cudaGetDeviceProperties hipGetDeviceProperties
#define cudaGetErrorString hipGetErrorString
#define cudaGetLastError hipGetLastError
#define cudaMalloc(ptr, size) hipMallocManaged(ptr, size, hipMemAttachGlobal)
#define cudaMalloc(ptr, size) hipMallocManaged(ptr, size)
#define cudaMallocHost(ptr, size) hipHostMalloc(ptr, size)
#define cudaMemcpy hipMemcpy
#define cudaMemcpy2DAsync hipMemcpy2DAsync