From e291450b7602d7a36239e4ceeece37625f838373 Mon Sep 17 00:00:00 2001 From: R0CKSTAR Date: Sun, 27 Apr 2025 19:22:49 +0800 Subject: [PATCH] musa: fix build warning (#13129) Signed-off-by: Xiaodong Ye --- ggml/src/ggml-cuda/cpy.cu | 2 ++ 1 file changed, 2 insertions(+) diff --git a/ggml/src/ggml-cuda/cpy.cu b/ggml/src/ggml-cuda/cpy.cu index ed25646e8..2d46176ea 100644 --- a/ggml/src/ggml-cuda/cpy.cu +++ b/ggml/src/ggml-cuda/cpy.cu @@ -639,6 +639,8 @@ void ggml_cuda_cpy(ggml_backend_cuda_context & ctx, const ggml_tensor * src0, gg if(ctx.cuda_graph->use_cpy_indirection && !disable_indirection_for_this_node) { ctx.cuda_graph->graph_cpynode_index = graph_cpynode_index; } +#else + GGML_UNUSED(disable_indirection_for_this_node); #endif }