Spaces:
Sleeping
Sleeping
R0CKSTAR
commited on
Commit
·
3436ba4
1
Parent(s):
c47823e
musa: fix build warning (llama/13129)
Browse filesSigned-off-by: Xiaodong Ye <[email protected]>
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 |
}
|