Skip to content

Commit e291450

Browse files
authored
musa: fix build warning (#13129)
Signed-off-by: Xiaodong Ye <xiaodong.ye@mthreads.com>
1 parent 59e991c commit e291450

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
@@ -639,6 +639,8 @@ void ggml_cuda_cpy(ggml_backend_cuda_context & ctx, const ggml_tensor * src0, gg
639639
if(ctx.cuda_graph->use_cpy_indirection && !disable_indirection_for_this_node) {
640640
ctx.cuda_graph->graph_cpynode_index = graph_cpynode_index;
641641
}
642+
#else
643+
GGML_UNUSED(disable_indirection_for_this_node);
642644
#endif
643645

644646
}

0 commit comments

Comments
 (0)