Update ggml.c
This commit is contained in:
parent
7ba244b3e8
commit
100d8e08ce
1 changed files with 1 additions and 1 deletions
2
ggml.c
2
ggml.c
|
@ -196,7 +196,7 @@ typedef void * thread_ret_t;
|
|||
#else
|
||||
inline static void * ggml_aligned_malloc(size_t size) {
|
||||
if (size == 0) {
|
||||
GGML_PRINT("WARNING: Behavior may be unexpected when allocate 0 byte for ggml_aligned_malloc!");
|
||||
GGML_PRINT("WARNING: Behavior may be unexpected when allocating 0 bytes for ggml_aligned_malloc!\n");
|
||||
return NULL;
|
||||
}
|
||||
void * aligned_memory = NULL;
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue