Home
last modified time | relevance | path

Searched refs:small_chunk (Results 1 – 2 of 2) sorted by relevance

/external/llvm-project/openmp/runtime/src/
Dkmp_dispatch.cpp361 T small_chunk, extras; in __kmp_dispatch_init_algorithm() local
363 small_chunk = ntc / nproc; in __kmp_dispatch_init_algorithm()
366 init = id * small_chunk + (id < extras ? id : extras); in __kmp_dispatch_init_algorithm()
368 pr->u.p.ub = init + small_chunk + (id < extras ? 1 : 0); in __kmp_dispatch_init_algorithm()
374 pr->u.p.parm3 = KMP_MIN(small_chunk + extras, nproc); in __kmp_dispatch_init_algorithm()
423 T small_chunk = tc / nproc; in __kmp_dispatch_init_algorithm() local
425 init = id * small_chunk + (id < extras ? id : extras); in __kmp_dispatch_init_algorithm()
426 limit = init + small_chunk - (id < extras ? 0 : 1); in __kmp_dispatch_init_algorithm()
Dkmp_sched.cpp310 UT small_chunk = trip_count / nth; in __kmp_for_static_init() local
312 *plower += incr * (tid * small_chunk + (tid < extras ? tid : extras)); in __kmp_for_static_init()
313 *pupper = *plower + small_chunk * incr - (tid < extras ? 0 : incr); in __kmp_for_static_init()