Skip to content

Commit 6c0d843

Browse files
committed
cuda : fix unused variable compile warning (#0)
ggml-ci
1 parent efb8005 commit 6c0d843

File tree

1 file changed

+2
-0
lines changed

1 file changed

+2
-0
lines changed

ggml/src/ggml-cuda/cpy.cu

+2
Original file line numberDiff line numberDiff line change
@@ -592,6 +592,8 @@ void ggml_cuda_cpy(ggml_backend_cuda_context & ctx, const ggml_tensor * src0, gg
592592
dest_ptrs_d = ctx.cuda_graph->dest_ptrs_d;
593593
graph_cpynode_index = ctx.cuda_graph->graph_cpynode_index;
594594
}
595+
#else
596+
GGML_UNUSED(disable_indirection_for_this_node);
595597
#endif
596598
if (src0->type == src1->type && ggml_is_contiguous(src0) && ggml_is_contiguous(src1)) {
597599
GGML_ASSERT(ggml_nbytes(src0) == ggml_nbytes(src1));

0 commit comments

Comments
 (0)