Home
last modified time | relevance | path

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

/external/llvm-project/openmp/runtime/src/
Dkmp_dispatch.cpp1233 T victimIdx = pr->u.p.parm4; in __kmp_dispatch_next_algorithm() local
1234 T oldVictimIdx = victimIdx ? victimIdx - 1 : nproc - 1; in __kmp_dispatch_next_algorithm()
1236 &other_threads[victimIdx]->th.th_dispatch->th_disp_buffer[idx]); in __kmp_dispatch_next_algorithm()
1239 oldVictimIdx != victimIdx) { in __kmp_dispatch_next_algorithm()
1240 victimIdx = (victimIdx + 1) % nproc; in __kmp_dispatch_next_algorithm()
1242 &other_threads[victimIdx]->th.th_dispatch->th_disp_buffer[idx]); in __kmp_dispatch_next_algorithm()
1251 pr->u.p.parm4 = (victimIdx + 1) % nproc; // shift start tid in __kmp_dispatch_next_algorithm()
1262 pr->u.p.parm4 = (victimIdx + 1) % nproc; // next victim in __kmp_dispatch_next_algorithm()
1279 pr->u.p.parm4 = victimIdx; // remember victim to steal from in __kmp_dispatch_next_algorithm()
1333 T victimIdx = pr->u.p.parm4; in __kmp_dispatch_next_algorithm() local
[all …]