]> git.djapps.eu Git - pkg/ggml/sources/whisper.cpp/commitdiff
musa: fix build warning (llama/13129)
authorR0CKSTAR <redacted>
Sun, 27 Apr 2025 11:22:49 +0000 (19:22 +0800)
committerGeorgi Gerganov <redacted>
Thu, 1 May 2025 10:29:02 +0000 (13:29 +0300)
Signed-off-by: Xiaodong Ye <redacted>
ggml/src/ggml-cuda/cpy.cu

index eca480524917d9eb495704cd31de8365c3cea54f..d027271fcd932d895bdda98cd52a7293ae262ca3 100644 (file)
@@ -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
 
 }