metal : enable buffer log prints again

This commit is contained in:
slaren 2024-04-18 01:01:42 +02:00
parent 0e6963da8f
commit 4d8fe0764b

View file

@ -2756,8 +2756,8 @@ GGML_CALL static ggml_backend_buffer_t ggml_backend_metal_buffer_type_alloc_buff
return NULL;
}
//GGML_METAL_LOG_INFO("%s: allocated buffer, size = %8.2f MiB", __func__, size_aligned / 1024.0 / 1024.0);
//ggml_backend_metal_log_allocated_size(device);
GGML_METAL_LOG_INFO("%s: allocated buffer, size = %8.2f MiB", __func__, size_aligned / 1024.0 / 1024.0);
ggml_backend_metal_log_allocated_size(device);
return ggml_backend_buffer_init(buft, ggml_backend_metal_buffer_i, ctx, size);
}