Skip to content

Commit 88529ea

Browse files
threadpool: fix apply_priority() function name
1 parent 32621c0 commit 88529ea

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
@@ -18736,7 +18736,7 @@ static bool ggml_thread_apply_affinity(const bool * mask) {
1873618736
return true;
1873718737
}
1873818738

18739-
static bool ggml_thread_apply_process_prio(int32_t prio) {
18739+
static bool ggml_thread_apply_process_priority(int32_t prio) {
1874018740
int32_t p = 0;
1874118741

1874218742
switch (prio) {
@@ -18786,7 +18786,7 @@ static bool ggml_thread_apply_affinity(const bool * mask) {
1878618786
return true;
1878718787
}
1878818788

18789-
static bool ggml_thread_apply_process_prio(int32_t prio) {
18789+
static bool ggml_thread_apply_process_priority(int32_t prio) {
1879018790
struct sched_param p;
1879118791
int32_t policy = SCHED_OTHER;
1879218792

@@ -19320,7 +19320,7 @@ static struct ggml_compute_threadpool * ggml_create_threadpool_impl(
1932019320
#else // Not using OPENMP
1932119321
int32_t cpumask_iter = 0;
1932219322

19323-
ggml_thread_apply_process_prio(tpp->prio);
19323+
ggml_thread_apply_process_priority(tpp->prio);
1932419324
ggml_thread_apply_thread_priority(tpp->prio);
1932519325

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

0 commit comments

Comments
 (0)