|
39 | 39 | #define cudaDeviceCanAccessPeer hipDeviceCanAccessPeer
|
40 | 40 | #define cudaDeviceDisablePeerAccess hipDeviceDisablePeerAccess
|
41 | 41 | #define cudaDeviceEnablePeerAccess hipDeviceEnablePeerAccess
|
| 42 | +#define cudaDeviceGetMemPool hipDeviceGetMemPool |
42 | 43 | #define cudaDeviceProp hipDeviceProp_t
|
43 | 44 | #define cudaDeviceSynchronize hipDeviceSynchronize
|
44 | 45 | #define cudaError_t hipError_t
|
|
48 | 49 | #define cudaEvent_t hipEvent_t
|
49 | 50 | #define cudaEventDestroy hipEventDestroy
|
50 | 51 | #define cudaFree hipFree
|
| 52 | +#define cudaFreeAsync hipFreeAsync |
51 | 53 | #define cudaFreeHost hipHostFree
|
52 | 54 | #define cudaGetDevice hipGetDevice
|
53 | 55 | #define cudaGetDeviceCount hipGetDeviceCount
|
54 | 56 | #define cudaGetDeviceProperties hipGetDeviceProperties
|
55 | 57 | #define cudaGetErrorString hipGetErrorString
|
56 | 58 | #define cudaGetLastError hipGetLastError
|
57 | 59 | #define cudaMalloc hipMalloc
|
| 60 | +#define cudaMallocFromPoolAsync hipMallocFromPoolAsync |
58 | 61 | #define cudaMallocHost(ptr, size) hipHostMalloc(ptr, size, hipHostMallocDefault)
|
59 | 62 | #define cudaMemcpy hipMemcpy
|
60 | 63 | #define cudaMemcpy2DAsync hipMemcpy2DAsync
|
|
63 | 66 | #define cudaMemcpyDeviceToHost hipMemcpyDeviceToHost
|
64 | 67 | #define cudaMemcpyHostToDevice hipMemcpyHostToDevice
|
65 | 68 | #define cudaMemcpyKind hipMemcpyKind
|
| 69 | +#define cudaMemPool_t hipMemPool_t |
| 70 | +#define cudaMemPoolAttrReleaseThreshold hipMemPoolAttrReleaseThreshold |
| 71 | +#define cudaMemPoolSetAttribute hipMemPoolSetAttribute |
66 | 72 | #define cudaMemset hipMemset
|
67 | 73 | #define cudaMemsetAsync hipMemsetAsync
|
68 | 74 | #define cudaOccupancyMaxPotentialBlockSize hipOccupancyMaxPotentialBlockSize
|
|
0 commit comments