Skip to content

Commit ed10ff5

Browse files
committed
Fix: Adds missing reference to maintain_cuda_graph() definition.
1 parent eb3ea69 commit ed10ff5

File tree

1 file changed

+1
-1
lines changed

1 file changed

+1
-1
lines changed

ggml/src/ggml-cuda/ggml-cuda.cu

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -2339,7 +2339,7 @@ static bool ggml_graph_node_has_matching_properties(ggml_tensor * node, ggml_gra
23392339

23402340

23412341
#ifdef USE_CUDA_GRAPH
2342-
static void maintain_cuda_graph(ggml_backend_cuda_context * cuda_ctx, std::vector<void *> ggml_cuda_cpy_fn_ptrs, bool cuda_graph_update_required) {
2342+
static void maintain_cuda_graph(ggml_backend_cuda_context * cuda_ctx, std::vector<void *> & ggml_cuda_cpy_fn_ptrs, bool cuda_graph_update_required) {
23432343

23442344
if (cuda_graph_update_required) {
23452345
// Extract nodes from graph

0 commit comments

Comments
 (0)