diff --git a/ggml/src/ggml-cuda/ggml-cuda.cu b/ggml/src/ggml-cuda/ggml-cuda.cu old mode 100644 new mode 100755 index b6b775d6f5..e55b76b455 --- a/ggml/src/ggml-cuda/ggml-cuda.cu +++ b/ggml/src/ggml-cuda/ggml-cuda.cu @@ -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();