Skip to content

Commit c9c733c

Browse files
committed
CUDA : fix unused argument when USE_CUDA_GRAPH=OFF (llama/18800)
1 parent 3086e27 commit c9c733c

File tree

1 file changed

+1
-0
lines changed

1 file changed

+1
-0
lines changed

src/ggml-cuda/ggml-cuda.cu

Lines changed: 1 addition & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -3737,6 +3737,7 @@ static bool ggml_cuda_graph_set_enabled(ggml_backend_cuda_context * cuda_ctx) {
37373737

37383738
return cuda_ctx->cuda_graph->is_enabled();
37393739
#else
3740+
GGML_UNUSED(cuda_ctx);
37403741
return false;
37413742
#endif // USE_CUDA_GRAPH
37423743
}

0 commit comments

Comments
 (0)