Home
last modified time | relevance | path

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

/external/llvm-project/openmp/runtime/src/
Dkmp_tasking.cpp2679 kmp_int32 victim_tid; in __kmp_steal_task() local
2686 victim_tid = victim_thr->th.th_info.ds.ds_tid; in __kmp_steal_task()
2687 victim_td = &threads_data[victim_tid]; in __kmp_steal_task()
2818 kmp_int32 nthreads, victim_tid = -2, use_own_tasks = 1, new_victim = 0, in __kmp_execute_tasks_template() local
2851 if (victim_tid == -2) { // haven't stolen anything yet in __kmp_execute_tasks_template()
2852 victim_tid = threads_data[tid].td.td_deque_last_stolen; in __kmp_execute_tasks_template()
2853 if (victim_tid != in __kmp_execute_tasks_template()
2855 other_thread = threads_data[victim_tid].td.td_thr; in __kmp_execute_tasks_template()
2857 if (victim_tid != -1) { // found last victim in __kmp_execute_tasks_template()
2865 victim_tid = __kmp_get_random(thread) % (nthreads - 1); in __kmp_execute_tasks_template()
[all …]