Skip to content

Commit 5226732

Browse files
committed
remove double lines between functions
1 parent 62f2f62 commit 5226732

File tree

1 file changed

+0
-7
lines changed

1 file changed

+0
-7
lines changed

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

Lines changed: 0 additions & 7 deletions
Original file line numberDiff line numberDiff line change
@@ -2284,7 +2284,6 @@ static void ggml_backend_cuda_synchronize(ggml_backend_t backend) {
22842284
GGML_UNUSED(backend);
22852285
}
22862286

2287-
22882287
#ifdef USE_CUDA_GRAPH
22892288
static bool check_node_graph_compatibility_and_refresh_copy_ops(ggml_backend_cuda_context * cuda_ctx, ggml_cgraph * cgraph,
22902289
std::vector<void *> & ggml_cuda_cpy_fn_ptrs, bool use_cuda_graph) {
@@ -2346,7 +2345,6 @@ static bool check_node_graph_compatibility_and_refresh_copy_ops(ggml_backend_cud
23462345
return use_cuda_graph;
23472346
}
23482347

2349-
23502348
static void set_ggml_graph_node_properties(ggml_tensor * node, ggml_graph_node_properties * graph_node_properties) {
23512349
graph_node_properties->node_address = node->data;
23522350
graph_node_properties->node_op = node->op;
@@ -2398,7 +2396,6 @@ static bool ggml_graph_node_has_matching_properties(ggml_tensor * node, ggml_gra
23982396
return true;
23992397
}
24002398

2401-
24022399
static void maintain_cuda_graph(ggml_backend_cuda_context * cuda_ctx, std::vector<void *> & ggml_cuda_cpy_fn_ptrs, bool cuda_graph_update_required) {
24032400

24042401
if (cuda_graph_update_required) {
@@ -2444,7 +2441,6 @@ static void maintain_cuda_graph(ggml_backend_cuda_context * cuda_ctx, std::vecto
24442441
}
24452442
}
24462443

2447-
24482444
static bool is_cuda_graph_update_required(ggml_backend_cuda_context * cuda_ctx, ggml_cgraph * cgraph) {
24492445

24502446
bool cuda_graph_update_required = false;
@@ -2475,7 +2471,6 @@ static bool is_cuda_graph_update_required(ggml_backend_cuda_context * cuda_ctx,
24752471
return cuda_graph_update_required;
24762472
}
24772473

2478-
24792474
static void update_cuda_graph_executable(ggml_backend_cuda_context * cuda_ctx) {
24802475

24812476
cudaGraphExecUpdateResultInfo result_info;
@@ -2496,7 +2491,6 @@ static void update_cuda_graph_executable(ggml_backend_cuda_context * cuda_ctx) {
24962491
}
24972492
#endif
24982493

2499-
25002494
static void evaluate_and_capture_cuda_graph(ggml_backend_cuda_context * cuda_ctx, ggml_cgraph * cgraph,
25012495
[[maybe_unused]] std::vector<void *> & ggml_cuda_cpy_fn_ptrs, bool & graph_evaluated_or_captured, bool & use_cuda_graph,
25022496
bool & cuda_graph_update_required) {
@@ -2564,7 +2558,6 @@ static void evaluate_and_capture_cuda_graph(ggml_backend_cuda_context * cuda_ctx
25642558
}
25652559
}
25662560

2567-
25682561
static enum ggml_status ggml_backend_cuda_graph_compute(ggml_backend_t backend, ggml_cgraph * cgraph) {
25692562
ggml_backend_cuda_context * cuda_ctx = (ggml_backend_cuda_context *)backend->context;
25702563

0 commit comments

Comments
 (0)