This commit is contained in:
Uttam Pawar 2025-12-16 13:24:29 +05:30 committed by GitHub
commit 486d29ee3d
No known key found for this signature in database
GPG Key ID: B5690EEEBB952194
1 changed files with 1 additions and 5 deletions

View File

@ -445,10 +445,7 @@ class tinyBLAS {
ggml_threadpool_chunk_set(params->threadpool, params->nth); ggml_threadpool_chunk_set(params->threadpool, params->nth);
} }
ggml_barrier(params->threadpool); for (int64_t job = params->ith; job < nb_job; job += params->nth) {
int64_t job = params->ith;
while (job < nb_job) {
const int64_t ii = (job % ytiles) * RM * BM; const int64_t ii = (job % ytiles) * RM * BM;
const int64_t jb = job / ytiles; const int64_t jb = job / ytiles;
const int64_t jr0 = BLOC_POS(jb , jj_BN, SIZE_BN); const int64_t jr0 = BLOC_POS(jb , jj_BN, SIZE_BN);
@ -471,7 +468,6 @@ class tinyBLAS {
GGML_ASSERT(jj == jj2); GGML_ASSERT(jj == jj2);
} }
job = ggml_threadpool_chunk_add(params->threadpool, 1);
} }
ggml_barrier(params->threadpool); ggml_barrier(params->threadpool);