Remove finalizer
This commit is contained in:
parent
b8c9b27452
commit
c640d2a4bd
1 changed files with 2 additions and 2 deletions
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…
Add table
Add a link
Reference in a new issue