Skip to content

Commit 1caf0c4

Browse files
committed
update
1 parent ca8fa3b commit 1caf0c4

File tree

1 file changed

+4
-4
lines changed

1 file changed

+4
-4
lines changed

llama.cpp

Lines changed: 4 additions & 4 deletions
Original file line numberDiff line numberDiff line change
@@ -580,9 +580,9 @@ static inline void * llama_host_malloc(size_t n) {
580580
#elif GGML_USE_METAL
581581
return ggml_metal_host_malloc(n);
582582
#elif GGML_USE_CPU_HBM
583-
return hbw_malloc(n)
583+
return hbw_malloc(n);
584584
#else
585-
return malloc(n)
585+
return malloc(n);
586586
#endif
587587
}
588588

@@ -596,9 +596,9 @@ static inline void llama_host_free(void * ptr) {
596596
#elif GGML_USE_METAL
597597
return ggml_metal_host_free(ptr);
598598
#elif GGML_USE_CPU_HBM
599-
return hbw_free(ptr)
599+
return hbw_free(ptr);
600600
#else
601-
return free(ptr)
601+
return free(ptr);
602602
#endif
603603
}
604604

0 commit comments

Comments
 (0)