use new func
This commit is contained in:
@@ -37,10 +37,10 @@
|
|||||||
#define cudaGetDeviceProperties hipGetDeviceProperties
|
#define cudaGetDeviceProperties hipGetDeviceProperties
|
||||||
#define cudaDeviceGetAttribute hipDeviceGetAttribute
|
#define cudaDeviceGetAttribute hipDeviceGetAttribute
|
||||||
|
|
||||||
#define cudaMallocHost hipMallocHost
|
#define cudaMallocHost hipHostMalloc
|
||||||
#define cudaFreeHost hipFreeHost
|
#define cudaFreeHost hipHostFree
|
||||||
#define cudaMalloc hipMallocHost
|
#define cudaMalloc hipMalloc
|
||||||
#define cudaFree hipFreeHost
|
#define cudaFree hipFree
|
||||||
|
|
||||||
#define cudaMemcpy hipMemcpy
|
#define cudaMemcpy hipMemcpy
|
||||||
#define cudaMemcpyAsync hipMemcpyAsync
|
#define cudaMemcpyAsync hipMemcpyAsync
|
||||||
|
|||||||
Reference in New Issue
Block a user