From: Georgi Gerganov Date: Tue, 13 Jan 2026 10:25:53 +0000 (+0200) Subject: CUDA : fix unused argument when USE_CUDA_GRAPH=OFF (llama/18800) X-Git-Tag: upstream/1.8.3~3 X-Git-Url: https://git.djapps.eu/?a=commitdiff_plain;h=6ee0eaf53175f762f4e96c4b6119aeff6cf91f33;p=pkg%2Fggml%2Fsources%2Fwhisper.cpp CUDA : fix unused argument when USE_CUDA_GRAPH=OFF (llama/18800) --- diff --git a/ggml/src/ggml-cuda/ggml-cuda.cu b/ggml/src/ggml-cuda/ggml-cuda.cu index f021de1d..c3ee2ea0 100644 --- a/ggml/src/ggml-cuda/ggml-cuda.cu +++ b/ggml/src/ggml-cuda/ggml-cuda.cu @@ -3737,6 +3737,7 @@ static bool ggml_cuda_graph_set_enabled(ggml_backend_cuda_context * cuda_ctx) { return cuda_ctx->cuda_graph->is_enabled(); #else + GGML_UNUSED(cuda_ctx); return false; #endif // USE_CUDA_GRAPH }