Skip to content

Commit 608be0e

Browse files
threadpool: fix apply_priority() function name
1 parent 459d0a6 commit 608be0e

File tree

1 file changed

+3
-3
lines changed

1 file changed

+3
-3
lines changed

ggml/src/ggml.c

Lines changed: 3 additions & 3 deletions
Original file line numberDiff line numberDiff line change
@@ -18723,7 +18723,7 @@ static bool ggml_thread_apply_affinity(const bool * mask) {
1872318723
return true;
1872418724
}
1872518725

18726-
static bool ggml_thread_apply_process_prio(int32_t prio) {
18726+
static bool ggml_thread_apply_process_priority(int32_t prio) {
1872718727
int32_t p = 0;
1872818728

1872918729
switch (prio) {
@@ -18773,7 +18773,7 @@ static bool ggml_thread_apply_affinity(const bool * mask) {
1877318773
return true;
1877418774
}
1877518775

18776-
static bool ggml_thread_apply_process_prio(int32_t prio) {
18776+
static bool ggml_thread_apply_process_priority(int32_t prio) {
1877718777
struct sched_param p;
1877818778
int32_t policy = SCHED_OTHER;
1877918779

@@ -19307,7 +19307,7 @@ static struct ggml_compute_threadpool * ggml_create_threadpool_impl(
1930719307
#else // Not using OPENMP
1930819308
int32_t cpumask_iter = 0;
1930919309

19310-
ggml_thread_apply_process_prio(tpp->prio);
19310+
ggml_thread_apply_process_priority(tpp->prio);
1931119311
ggml_thread_apply_thread_priority(tpp->prio);
1931219312

1931319313
for (int j = 0; j < tpp->n_threads; j++) {

0 commit comments

Comments
 (0)