From 2c3fbf980cf172ab85de317fcf8d1e985279091b Mon Sep 17 00:00:00 2001 From: slaren Date: Sun, 24 Dec 2023 18:03:50 +0100 Subject: [PATCH] hip --- ggml-cuda.cu | 1 + 1 file changed, 1 insertion(+) 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