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
@@ -19273,10 +19270,7 @@ static struct ggml_compute_threadpool * ggml_create_threadpool_impl(
19273
19270
threadpool->n_threads_cur = tpp->n_threads;
19274
19271
threadpool->poll = tpp->poll;
19275
19272
threadpool->prio = tpp->prio;
19276
-
19277
- threadpool->abort_callback = NULL;
19278
- threadpool->abort_callback_data = NULL;
19279
- threadpool->ec = GGML_STATUS_SUCCESS;
19273
+ threadpool->ec = GGML_STATUS_SUCCESS;
19280
19274
}
19281
19275
19282
19276
#ifndef GGML_USE_OPENMP
You can’t perform that action at this time.
0 commit comments