From 7ee8df3dc958dfa1a0b19b0eabbeb1972b0635e8 Mon Sep 17 00:00:00 2001 From: Erik Garrison Date: Thu, 14 Dec 2023 01:06:37 +0100 Subject: [PATCH] keep simplifying the change required for UMA --- ggml-cuda.cu | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/ggml-cuda.cu b/ggml-cuda.cu index 3720cfae0..88fbe7917 100644 --- a/ggml-cuda.cu +++ b/ggml-cuda.cu @@ -58,7 +58,7 @@ #define cudaGetDeviceProperties hipGetDeviceProperties #define cudaGetErrorString hipGetErrorString #define cudaGetLastError hipGetLastError -#define cudaMalloc(ptr, size) hipMallocManaged(ptr, size, hipMemAttachGlobal) +#define cudaMalloc(ptr, size) hipMallocManaged(ptr, size) #define cudaMallocHost(ptr, size) hipHostMalloc(ptr, size) #define cudaMemcpy hipMemcpy #define cudaMemcpy2DAsync hipMemcpy2DAsync