diff --git a/llama.cpp b/llama.cpp index 25c92ee17c78b8..64adb895ae21de 100644 --- a/llama.cpp +++ b/llama.cpp @@ -580,9 +580,9 @@ static inline void * llama_host_malloc(size_t n) { #elif GGML_USE_METAL return ggml_metal_host_malloc(n); #elif GGML_USE_CPU_HBM - return hbw_malloc(n) + return hbw_malloc(n); #else - return malloc(n) + return malloc(n); #endif } @@ -596,9 +596,9 @@ static inline void llama_host_free(void * ptr) { #elif GGML_USE_METAL return ggml_metal_host_free(ptr); #elif GGML_USE_CPU_HBM - return hbw_free(ptr) + return hbw_free(ptr); #else - return free(ptr) + return free(ptr); #endif }