Skip to content

Commit 7310616

Browse files
slarenarthw
authored andcommitted
ggml : fixes after sync (ggml/983)
ggml : remove test-backend-buffer ggml : fix CUDA build warnings
1 parent f451ae5 commit 7310616

File tree

1 file changed

+2
-0
lines changed

1 file changed

+2
-0
lines changed

ggml/src/ggml-cuda.cu

Lines changed: 2 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -2448,6 +2448,7 @@ static void ggml_backend_cuda_synchronize(ggml_backend_t backend) {
24482448
GGML_UNUSED(backend);
24492449
}
24502450

2451+
#ifdef USE_CUDA_GRAPH
24512452
static void set_ggml_graph_node_properties(ggml_tensor * node, ggml_graph_node_properties * graph_node_properties) {
24522453
graph_node_properties->node_address = node->data;
24532454
graph_node_properties->node_op = node->op;
@@ -2498,6 +2499,7 @@ static bool ggml_graph_node_has_matching_properties(ggml_tensor * node, ggml_gra
24982499

24992500
return true;
25002501
}
2502+
#endif
25012503

25022504
static enum ggml_status ggml_backend_cuda_graph_compute(ggml_backend_t backend, ggml_cgraph * cgraph) {
25032505
ggml_backend_cuda_context * cuda_ctx = (ggml_backend_cuda_context *)backend->context;

0 commit comments

Comments
 (0)