R0CKSTAR commited on
Commit
3436ba4
·
1 Parent(s): c47823e

musa: fix build warning (llama/13129)

Browse files

Signed-off-by: Xiaodong Ye <[email protected]>

Files changed (1) hide show
  1. ggml/src/ggml-cuda/cpy.cu +2 -0
ggml/src/ggml-cuda/cpy.cu CHANGED
@@ -641,6 +641,8 @@ void ggml_cuda_cpy(ggml_backend_cuda_context & ctx, const ggml_tensor * src0, gg
641
  if(ctx.cuda_graph->use_cpy_indirection && !disable_indirection_for_this_node) {
642
  ctx.cuda_graph->graph_cpynode_index = graph_cpynode_index;
643
  }
 
 
644
  #endif
645
 
646
  }
 
641
  if(ctx.cuda_graph->use_cpy_indirection && !disable_indirection_for_this_node) {
642
  ctx.cuda_graph->graph_cpynode_index = graph_cpynode_index;
643
  }
644
+ #else
645
+ GGML_UNUSED(disable_indirection_for_this_node);
646
  #endif
647
 
648
  }