mirror of
https://github.com/ggerganov/llama.cpp.git
synced 2025-01-06 00:34:35 +00:00
Remove finalizer
This commit is contained in:
parent
b8c9b27452
commit
c640d2a4bd
4
ggml.c
4
ggml.c
@ -9550,7 +9550,7 @@ void ggml_graph_compute(struct ggml_context * ctx, struct ggml_cgraph * cgraph)
|
|||||||
if (node->n_tasks > 1) {
|
if (node->n_tasks > 1) {
|
||||||
thpool_wait(ctx->tpool);
|
thpool_wait(ctx->tpool);
|
||||||
}
|
}
|
||||||
|
#if 0
|
||||||
// FINALIZE
|
// FINALIZE
|
||||||
if (node->n_tasks > 1) {
|
if (node->n_tasks > 1) {
|
||||||
// launch thread pool
|
// launch thread pool
|
||||||
@ -9574,7 +9574,7 @@ void ggml_graph_compute(struct ggml_context * ctx, struct ggml_cgraph * cgraph)
|
|||||||
if (node->n_tasks > 1) {
|
if (node->n_tasks > 1) {
|
||||||
thpool_wait(ctx->tpool);
|
thpool_wait(ctx->tpool);
|
||||||
}
|
}
|
||||||
|
#endif
|
||||||
// performance stats (node)
|
// performance stats (node)
|
||||||
{
|
{
|
||||||
int64_t perf_cycles_cur = ggml_perf_cycles() - perf_node_start_cycles;
|
int64_t perf_cycles_cur = ggml_perf_cycles() - perf_node_start_cycles;
|
||||||
|
Loading…
Reference in New Issue
Block a user