diff --git a/ggml-cuda.cu b/ggml-cuda.cu index cfe124d0d..5272c6589 100644 --- a/ggml-cuda.cu +++ b/ggml-cuda.cu @@ -70,6 +70,7 @@ #define cudaMemcpy hipMemcpy #define cudaMemcpy2DAsync hipMemcpy2DAsync #define cudaMemcpyAsync hipMemcpyAsync +#define cudaMemcpyPeerAsync hipMemcpyPeerAsync #define cudaMemcpyDeviceToDevice hipMemcpyDeviceToDevice #define cudaMemcpyDeviceToHost hipMemcpyDeviceToHost #define cudaMemcpyHostToDevice hipMemcpyHostToDevice