This commit is contained in:
Uttam 2026-04-03 13:16:57 -07:00 committed by GitHub
commit d79dfc1751
No known key found for this signature in database
GPG Key ID: B5690EEEBB952194
1 changed files with 1 additions and 5 deletions

View File

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