ggml-cuda: fix unused parameter in non-HIP builds

This commit is contained in:
Victor-Loos
2026-07-21 19:09:27 +02:00
committed by Piotr Wilkin
parent 52ff274b82
commit 624617ac6e
Regular → Executable
+2
View File
@@ -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();