reference, declarationdefinition
definition → references, declarations, derived classes, virtual overrides
reference to multiple definitions → definitions
unreferenced

Declarations

projects/openmp/runtime/src/kmp.h
 3031 extern volatile int __kmp_nth;

References

projects/openmp/runtime/src/kmp_csupport.cpp
 3975       KMP_YIELD(TRUE);
 4072     KMP_YIELD(TRUE);
projects/openmp/runtime/src/kmp_dispatch.cpp
 2537     KMP_YIELD_OVERSUB_ELSE_SPIN(spins);
 2560     KMP_YIELD_OVERSUB_ELSE_SPIN(spins);
projects/openmp/runtime/src/kmp_dispatch.h
  309     KMP_YIELD_OVERSUB_ELSE_SPIN(spins);
projects/openmp/runtime/src/kmp_ftn_entry.h
  579   return TCR_4(__kmp_nth);
projects/openmp/runtime/src/kmp_lock.cpp
  106     KMP_YIELD_OVERSUB_ELSE_SPIN(spins);
  161   KMP_YIELD_OVERSUB();
  465   KMP_YIELD_OVERSUB();
  726   KMP_YIELD(distance >
 1271     KMP_YIELD_OVERSUB();
 2120         KMP_YIELD(TRUE);
 2255     KMP_YIELD_OVERSUB_ELSE_SPIN(spins);
 2292     if (TCR_4(__kmp_nth) >
 2788         KMP_YIELD(TRUE);
projects/openmp/runtime/src/kmp_runtime.cpp
  322     KMP_YIELD(TRUE);
  807     new_nthreads = __kmp_avail_proc - __kmp_nth +
  843   if (__kmp_nth + new_nthreads -
  846     int tl_nthreads = __kmp_max_nth - __kmp_nth +
  909   if (__kmp_nth + new_nthreads -
  913     int slotsRequired = __kmp_nth + new_nthreads -
 3642   TCW_4(__kmp_nth, __kmp_nth + 1);
 3642   TCW_4(__kmp_nth, __kmp_nth + 1);
 3662     if (__kmp_nth > __kmp_avail_proc) {
 3913   TCW_4(__kmp_nth,
 3914         __kmp_nth - 1); // __kmp_reap_thread will decrement __kmp_all_nth.
 4228     TCW_4(__kmp_nth, __kmp_nth + 1);
 4228     TCW_4(__kmp_nth, __kmp_nth + 1);
 4238       if (__kmp_nth > __kmp_avail_proc) {
 4261   KMP_ASSERT(__kmp_nth == __kmp_all_nth);
 4378   __kmp_nth++;
 4398     if (__kmp_nth > __kmp_avail_proc) {
 5643   TCW_4(__kmp_nth, __kmp_nth - 1);
 5643   TCW_4(__kmp_nth, __kmp_nth - 1);
 5650     if (__kmp_nth <= __kmp_avail_proc) {
 5909     if (__kmp_nth <= __kmp_avail_proc) {
 6695   __kmp_nth = 0;
 6865     if (__kmp_nth > __kmp_avail_proc) {
 7420     retval = __kmp_avail_proc - __kmp_nth +
projects/openmp/runtime/src/kmp_tasking.cpp
 2925       KMP_YIELD(__kmp_library == library_throughput); // Yield before next task
 3447     KMP_YIELD_OVERSUB_ELSE_SPIN(spins);
 3606     KMP_YIELD(TRUE);
projects/openmp/runtime/src/kmp_wait_release.h
  319   oversubscribed = (TCR_4(__kmp_nth) > __kmp_avail_proc);
  366     KMP_YIELD_OVERSUB_ELSE_SPIN(spins);
projects/openmp/runtime/src/z_Linux_util.cpp
  465   KMP_YIELD(TRUE);
 1323   TCW_4(__kmp_nth, 0);