From: R0CKSTAR Date: Sun, 27 Apr 2025 11:22:49 +0000 (+0800) Subject: musa: fix build warning (llama/13129) X-Git-Tag: upstream/0.0.2015~23 X-Git-Url: https://git.djapps.eu/?a=commitdiff_plain;h=c38c21cba6e4648fd9fa30ebe725c9d9dd9f2e1e;p=pkg%2Fggml%2Fsources%2Fggml musa: fix build warning (llama/13129) Signed-off-by: Xiaodong Ye --- diff --git a/src/ggml-cuda/cpy.cu b/src/ggml-cuda/cpy.cu index eca48052..d027271f 100644 --- a/src/ggml-cuda/cpy.cu +++ b/src/ggml-cuda/cpy.cu @@ -641,6 +641,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 }