Skip to content

Commit 9fff2f7

Browse files
yeahdongcnggerganov
authored andcommitted
musa: fix build warning (llama/13129)
Signed-off-by: Xiaodong Ye <[email protected]>
1 parent 46392f7 commit 9fff2f7

File tree

1 file changed

+2
-0
lines changed

1 file changed

+2
-0
lines changed

ggml/src/ggml-cuda/cpy.cu

Lines changed: 2 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -641,6 +641,8 @@ void ggml_cuda_cpy(ggml_backend_cuda_context & ctx, const ggml_tensor * src0, gg
641641
if(ctx.cuda_graph->use_cpy_indirection && !disable_indirection_for_this_node) {
642642
ctx.cuda_graph->graph_cpynode_index = graph_cpynode_index;
643643
}
644+
#else
645+
GGML_UNUSED(disable_indirection_for_this_node);
644646
#endif
645647

646648
}

0 commit comments

Comments
 (0)