musa: fix build warning (#13129)
Signed-off-by: Xiaodong Ye <xiaodong.ye@mthreads.com>
This commit is contained in:
parent
59e991c23c
commit
e291450b76
1 changed files with 2 additions and 0 deletions
|
@ -639,6 +639,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) {
|
if(ctx.cuda_graph->use_cpy_indirection && !disable_indirection_for_this_node) {
|
||||||
ctx.cuda_graph->graph_cpynode_index = graph_cpynode_index;
|
ctx.cuda_graph->graph_cpynode_index = graph_cpynode_index;
|
||||||
}
|
}
|
||||||
|
#else
|
||||||
|
GGML_UNUSED(disable_indirection_for_this_node);
|
||||||
#endif
|
#endif
|
||||||
|
|
||||||
}
|
}
|
||||||
|
|
Loading…
Add table
Add a link
Reference in a new issue