fix compile error

This commit is contained in:
Y. Velkov 2024-05-15 12:52:09 +03:00
parent 26235eda50
commit 9f8d92d690

View file

@ -3043,7 +3043,7 @@ GGML_CALL bool ggml_backend_cuda_register_host_buffer(void * buffer, size_t size
// clear the error // clear the error
cudaGetLastError(); cudaGetLastError();
GGML_CUDA_LOG_WARN(stderr, "%s: failed to register %.2f MiB of pinned memory: %s\n", __func__, GGML_CUDA_LOG_WARN("%s: failed to register %.2f MiB of pinned memory: %s\n", __func__,
size / 1024.0 / 1024.0, cudaGetErrorString(err)); size / 1024.0 / 1024.0, cudaGetErrorString(err));
return false; return false;
} }