From b97bd67e2bd4269a0498ca99675e8eeaa76f8388 Mon Sep 17 00:00:00 2001 From: Max Krasnyansky Date: Wed, 28 Aug 2024 21:04:02 -0700 Subject: [PATCH] threadpool: fix indent in set_threadpool call --- ggml/src/ggml-backend.c | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) diff --git a/ggml/src/ggml-backend.c b/ggml/src/ggml-backend.c index 04c7feb89..5b877db35 100644 --- a/ggml/src/ggml-backend.c +++ b/ggml/src/ggml-backend.c @@ -912,8 +912,8 @@ void ggml_backend_cpu_set_threadpool(ggml_backend_t backend_cpu, ggml_threadpool struct ggml_backend_cpu_context * ctx = (struct ggml_backend_cpu_context *)backend_cpu->context; if (ctx->threadpool && ctx->threadpool != threadpool) { - // already had a different threadpool, pause/suspend it before switching - ggml_threadpool_pause(ctx->threadpool); + // already had a different threadpool, pause/suspend it before switching + ggml_threadpool_pause(ctx->threadpool); } ctx->threadpool = threadpool; }