Home
last modified time | relevance | path

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

/freebsd/contrib/llvm-project/openmp/runtime/src/
H A Dkmp_dispatch.cpp445 int claimed = pr->steal_flag.compare_exchange_strong(old, CLAIMED); in __kmp_dispatch_init_algorithm()
561 KMP_ATOMIC_ST_REL(&pr->steal_flag, READY); in __kmp_dispatch_init_algorithm()
564 KMP_DEBUG_ASSERT(pr->steal_flag == THIEF); in __kmp_dispatch_init_algorithm()
1384 KMP_DEBUG_ASSERT(pr->steal_flag == READY); in __kmp_dispatch_next_algorithm()
1400 KMP_ATOMIC_ST_REL(&pr->steal_flag, THIEF); // mark self buffer inactive in __kmp_dispatch_next_algorithm()
1409 while ((v == pr || KMP_ATOMIC_LD_RLX(&v->steal_flag) == THIEF) && in __kmp_dispatch_next_algorithm()
1416 if (v == pr || KMP_ATOMIC_LD_RLX(&v->steal_flag) == THIEF) { in __kmp_dispatch_next_algorithm()
1419 if (KMP_ATOMIC_LD_RLX(&v->steal_flag) == UNUSED) { in __kmp_dispatch_next_algorithm()
1422 status = v->steal_flag.compare_exchange_strong(old, THIEF); in __kmp_dispatch_next_algorithm()
1450 KMP_ATOMIC_ST_REL(&pr->steal_flag, READY); in __kmp_dispatch_next_algorithm()
[all …]
H A Dkmp_dispatch.h142 std::atomic<kmp_uint32> steal_flag; // static_steal only, state of a buffer
136 std::atomic<kmp_uint32> steal_flag; // static_steal only, state of a buffer global() member
H A Dkmp.h2025 std::atomic<kmp_uint32> steal_flag; // static_steal only, state of a buffer member