keep simplifying the change required for UMA
This commit is contained in:
parent
6caf33cfc8
commit
7ee8df3dc9
1 changed files with 1 additions and 1 deletions
|
@ -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
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue