fix compile error
This commit is contained in:
parent
26235eda50
commit
9f8d92d690
1 changed files with 1 additions and 1 deletions
|
@ -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;
|
||||||
}
|
}
|
||||||
|
|
Loading…
Add table
Add a link
Reference in a new issue