examples : add null threadpool args where needed (ggml/0)

ggml-ci
This commit is contained in:
Georgi Gerganov 2024-09-08 11:10:43 +03:00
parent 03a6fae484
commit 253ce30004

View File

@ -19710,8 +19710,8 @@ void ggml_threadpool_resume(struct ggml_threadpool * threadpool) {
struct ggml_cplan ggml_graph_plan( struct ggml_cplan ggml_graph_plan(
const struct ggml_cgraph * cgraph, const struct ggml_cgraph * cgraph,
int n_threads, int n_threads,
struct ggml_threadpool * threadpool) { struct ggml_threadpool * threadpool) {
if (threadpool == NULL) { if (threadpool == NULL) {
GGML_PRINT_DEBUG("Threadpool is not specified. Will create a disposable threadpool : n_threads %d\n", n_threads); GGML_PRINT_DEBUG("Threadpool is not specified. Will create a disposable threadpool : n_threads %d\n", n_threads);