mirror of
https://github.com/ggerganov/whisper.cpp.git
synced 2024-12-30 09:18:51 +00:00
examples : add null threadpool args where needed (ggml/0)
ggml-ci
This commit is contained in:
parent
03a6fae484
commit
253ce30004
@ -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);
|
||||||
|
Loading…
Reference in New Issue
Block a user