mirror of
https://github.com/ggml-org/llama.cpp.git
synced 2026-09-19 01:04:55 +02:00
ggml-cuda: fix unused parameter in non-HIP builds
This commit is contained in:
committed by
Piotr Wilkin
parent
52ff274b82
commit
624617ac6e
Regular → Executable
+2
@@ -4955,6 +4955,8 @@ static bool ggml_backend_cuda_device_supports_cuda_host_buft(int device) {
|
||||
if (ggml_cuda_info().devices[device].integrated) {
|
||||
return false;
|
||||
}
|
||||
#else
|
||||
GGML_UNUSED(device);
|
||||
#endif
|
||||
|
||||
return ggml_backend_cuda_host_buffer_supported();
|
||||
|
||||
Reference in New Issue
Block a user