Skip to content

Commit 6b10aa9

Browse files
committed
Revert "cuda : add ROCM aliases for CUDA pool stuff (#3918)"
This reverts commit 629f917.
1 parent d9b33fe commit 6b10aa9

File tree

1 file changed

+0
-6
lines changed

1 file changed

+0
-6
lines changed

ggml-cuda.cu

Lines changed: 0 additions & 6 deletions
Original file line numberDiff line numberDiff line change
@@ -39,10 +39,6 @@
3939
#define cudaDeviceCanAccessPeer hipDeviceCanAccessPeer
4040
#define cudaDeviceDisablePeerAccess hipDeviceDisablePeerAccess
4141
#define cudaDeviceEnablePeerAccess hipDeviceEnablePeerAccess
42-
#define cudaDeviceGetMemPool hipDeviceGetMemPool
43-
#define cudaMemPoolAttrReleaseThreshold hipMemPoolAttrReleaseThreshold
44-
#define cudaMemPoolSetAttribute hipMemPoolSetAttribute
45-
#define cudaMemPool_t hipMemPool_t
4642
#define cudaDeviceProp hipDeviceProp_t
4743
#define cudaDeviceSynchronize hipDeviceSynchronize
4844
#define cudaError_t hipError_t
@@ -52,15 +48,13 @@
5248
#define cudaEvent_t hipEvent_t
5349
#define cudaEventDestroy hipEventDestroy
5450
#define cudaFree hipFree
55-
#define cudaFreeAsync hipFreeAsync
5651
#define cudaFreeHost hipHostFree
5752
#define cudaGetDevice hipGetDevice
5853
#define cudaGetDeviceCount hipGetDeviceCount
5954
#define cudaGetDeviceProperties hipGetDeviceProperties
6055
#define cudaGetErrorString hipGetErrorString
6156
#define cudaGetLastError hipGetLastError
6257
#define cudaMalloc hipMalloc
63-
#define cudaMallocFromPoolAsync hipMallocFromPoolAsync
6458
#define cudaMallocHost(ptr, size) hipHostMalloc(ptr, size, hipHostMallocDefault)
6559
#define cudaMemcpy hipMemcpy
6660
#define cudaMemcpy2DAsync hipMemcpy2DAsync

0 commit comments

Comments
 (0)