]> git.djapps.eu Git - pkg/ggml/sources/llama.cpp/commitdiff
musa: fix build warning (#13129)
authorR0CKSTAR <redacted>
Sun, 27 Apr 2025 11:22:49 +0000 (19:22 +0800)
committerGitHub <redacted>
Sun, 27 Apr 2025 11:22:49 +0000 (13:22 +0200)
Signed-off-by: Xiaodong Ye <redacted>
ggml/src/ggml-cuda/cpy.cu

index ed25646e8e2610378602ba7e5a615afea84ced8a..2d46176eab344ccf4a5402f45dc642e232fefac4 100644 (file)
@@ -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
 
 }