From c640d2a4bd98666a9f182cdca2d5fd5331f3d818 Mon Sep 17 00:00:00 2001 From: Howard Su Date: Fri, 7 Apr 2023 22:24:14 +0800 Subject: [PATCH] Remove finalizer --- ggml.c | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) diff --git a/ggml.c b/ggml.c index d3d216c61..0808d7ff2 100644 --- a/ggml.c +++ b/ggml.c @@ -9550,7 +9550,7 @@ void ggml_graph_compute(struct ggml_context * ctx, struct ggml_cgraph * cgraph) if (node->n_tasks > 1) { thpool_wait(ctx->tpool); } - +#if 0 // FINALIZE if (node->n_tasks > 1) { // launch thread pool @@ -9574,7 +9574,7 @@ void ggml_graph_compute(struct ggml_context * ctx, struct ggml_cgraph * cgraph) if (node->n_tasks > 1) { thpool_wait(ctx->tpool); } - +#endif // performance stats (node) { int64_t perf_cycles_cur = ggml_perf_cycles() - perf_node_start_cycles;