Skip to content

Commit

Permalink
TEST tmp modif
Browse files Browse the repository at this point in the history
  • Loading branch information
phymbert committed Apr 3, 2024
1 parent ba5f8d3 commit 32614af
Showing 1 changed file with 1 addition and 0 deletions.
1 change: 1 addition & 0 deletions ggml.c
Original file line number Diff line number Diff line change
Expand Up @@ -245,6 +245,7 @@ inline static void * ggml_malloc(size_t size) {
return NULL;
}


void * result = malloc(size);
if (result == NULL) {
GGML_PRINT("%s: failed to allocate %6.2f MB\n", __func__, size/(1024.0*1024.0));
Expand Down

0 comments on commit 32614af

Please sign in to comment.