Skip to content

Commit

Permalink
update
Browse files Browse the repository at this point in the history
  • Loading branch information
wsxiaoys committed Nov 4, 2023
1 parent ca8fa3b commit 1caf0c4
Showing 1 changed file with 4 additions and 4 deletions.
8 changes: 4 additions & 4 deletions llama.cpp
Original file line number Diff line number Diff line change
Expand Up @@ -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
}

Expand All @@ -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
}

Expand Down

0 comments on commit 1caf0c4

Please sign in to comment.