diff options
author | Jonathan Peyton <jonathan.l.peyton@intel.com> | 2015-12-11 22:04:05 +0000 |
---|---|---|
committer | Jonathan Peyton <jonathan.l.peyton@intel.com> | 2015-12-11 22:04:05 +0000 |
commit | b87b58131a170d4bd2abf00e2eaaeb24d696f07f (patch) | |
tree | 6050bcfbcfc24f23d5b52c7da91dd8ceaf6eb043 /lldb/packages/Python/lldbsuite/test | |
parent | dae13d81b48f5802137b2857701d0d3adce97b06 (diff) | |
download | bcm5719-llvm-b87b58131a170d4bd2abf00e2eaaeb24d696f07f.tar.gz bcm5719-llvm-b87b58131a170d4bd2abf00e2eaaeb24d696f07f.zip |
Hinted lock (OpenMP 4.5 feature) Updates/Fixes Part 3
This change set includes all changes to make the code conform to the OMP 4.5 specification:
* Removed hint / hinted_init definitions from include/40 files
* Hint values are powers of 2 to enable composition (4.5 spec)
* Hinted lock initialization functions were renamed (4.5 spec)
kmp_init_lock_hinted -> omp_init_lock_with_hint
kmp_init_nest_lock_hinted -> omp_init_nest_lock_with_hint
* __kmpc_critical_section_with_hint was added to support a critical section with
a hint (4.5 spec)
* __kmp_map_hint_to_lock was added to convert a hint (possibly a composite) to
an internal lock type
* kmpc_init_lock_with_hint and kmpc_init_nest_lock_with_hint were added as
internal entries for the hinted lock initializers. The preivous internal
functions (__kmp_init*) were moved to kmp_csupport.c and reused in multiple
places
* Added the two init functions to dllexports
* KMP_USE_DYNAMIC_LOCK is turned on if OMP_41_ENABLED is turned on
Differential Revision: http://reviews.llvm.org/D15205
llvm-svn: 255376
Diffstat (limited to 'lldb/packages/Python/lldbsuite/test')
0 files changed, 0 insertions, 0 deletions