Skip to content

Commit bead7d4

Browse files
threadpool: minor indent fixes
1 parent c6328bc commit bead7d4

File tree

2 files changed

+7
-7
lines changed

2 files changed

+7
-7
lines changed

ggml/src/ggml-backend.c

Lines changed: 4 additions & 4 deletions
Original file line numberDiff line numberDiff line change
@@ -722,11 +722,11 @@ ggml_backend_buffer_type_t ggml_backend_cpu_hbm_buffer_type(void) {
722722
#endif
723723

724724
struct ggml_backend_cpu_context {
725-
int n_threads;
726-
ggml_threadpool_t threadpool;
725+
int n_threads;
726+
ggml_threadpool_t threadpool;
727727

728-
void * work_data;
729-
size_t work_size;
728+
void * work_data;
729+
size_t work_size;
730730

731731
ggml_abort_callback abort_callback;
732732
void * abort_callback_data;

src/llama.cpp

Lines changed: 3 additions & 3 deletions
Original file line numberDiff line numberDiff line change
@@ -15497,9 +15497,9 @@ static void llama_output_reorder(struct llama_context * ctx) {
1549715497
}
1549815498

1549915499
static void llama_graph_compute(
15500-
llama_context & lctx,
15501-
ggml_cgraph * gf,
15502-
int n_threads,
15500+
llama_context & lctx,
15501+
ggml_cgraph * gf,
15502+
int n_threads,
1550315503
ggml_threadpool * threadpool) {
1550415504
#ifdef GGML_USE_METAL
1550515505
if (ggml_backend_is_metal(lctx.backend_metal)) {

0 commit comments

Comments
 (0)