Merge e516cd0056 into 2aa45ef9e3
This commit is contained in:
commit
486d29ee3d
|
|
@ -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);
|
||||||
|
|
|
||||||
Loading…
Reference in New Issue