avoid using deprecated ROCm hipMallocHost
This commit is contained in:
parent
e754a83a40
commit
405fc540d5
1 changed files with 1 additions and 1 deletions
|
@ -59,7 +59,7 @@
|
|||
#define cudaGetErrorString hipGetErrorString
|
||||
#define cudaGetLastError hipGetLastError
|
||||
#define cudaMalloc(ptr, size) hipMallocManaged(ptr, size, hipMemAttachGlobal)
|
||||
#define cudaMallocHost(ptr, size) hipMallocHost(ptr, size)
|
||||
#define cudaMallocHost(ptr, size) hipHostMalloc(ptr, size)
|
||||
#define cudaMemcpy hipMemcpy
|
||||
#define cudaMemcpy2DAsync hipMemcpy2DAsync
|
||||
#define cudaMemcpyAsync hipMemcpyAsync
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue