Skip to content
  • Jonathan Peyton's avatar
    Hinted lock (OpenMP 4.5 feature) Updates/Fixes Part 2 · dae13d81
    Jonathan Peyton authored
    * Added a new user TSX lock implementation, RTM, This implementation is a
      light-weight version of the adaptive lock implementation, omitting the
      back-off logic for deciding when to specualte (or not). The fall-back lock is
      still the queuing lock.
    * Changed indirect lock table management. The data for indirect lock management
      was encapsulated in the "kmp_indirect_lock_table_t" type. Also, the lock table
      dimension was changed to 2D (was linear), and each entry is a
      kmp_indirect_lock_t object now (was a pointer to an object).
    * Some clean up in the critical section code
    * Removed the limits of the tuning parameters read from KMP_ADAPTIVE_LOCK_PROPS
    * KMP_USE_DYNAMIC_LOCK=1 also turns on these two switches:
      KMP_USE_TSX, KMP_USE_ADAPTIVE_LOCKS
    
    Differential Revision: http://reviews.llvm.org/D15204
    
    llvm-svn: 255375
    dae13d81
Loading