File tree Expand file tree Collapse file tree 1 file changed +1
-7
lines changed Expand file tree Collapse file tree 1 file changed +1
-7
lines changed Original file line number Diff line number Diff line change @@ -1979,9 +1979,6 @@ struct ggml_compute_threadpool {
1979
1979
int32_t prio; // Scheduling priority
1980
1980
uint32_t poll; // Polling level (0 - no polling)
1981
1981
1982
- ggml_abort_callback abort_callback; // abort ggml_graph_compute when true
1983
- void * abort_callback_data;
1984
-
1985
1982
enum ggml_status ec;
1986
1983
};
1987
1984
@@ -19286,10 +19283,7 @@ static struct ggml_compute_threadpool * ggml_create_threadpool_impl(
19286
19283
threadpool->n_threads_cur = tpp->n_threads;
19287
19284
threadpool->poll = tpp->poll;
19288
19285
threadpool->prio = tpp->prio;
19289
-
19290
- threadpool->abort_callback = NULL;
19291
- threadpool->abort_callback_data = NULL;
19292
- threadpool->ec = GGML_STATUS_SUCCESS;
19286
+ threadpool->ec = GGML_STATUS_SUCCESS;
19293
19287
}
19294
19288
19295
19289
#ifndef GGML_USE_OPENMP
You can’t perform that action at this time.
0 commit comments