Add initial support for OpenMP 4.5 task priority feature
authorJonathan Peyton <jonathan.l.peyton@intel.com>
Thu, 25 Feb 2016 18:04:09 +0000 (18:04 +0000)
committerJonathan Peyton <jonathan.l.peyton@intel.com>
Thu, 25 Feb 2016 18:04:09 +0000 (18:04 +0000)
commit2851072d69af205fd8d2ef438db7e4848afb1592
treedcb52f43380903216be6c2b4002aa4a0c95b893d
parent2a834115bf5caf0b3a2176dcec5ac4ca295e5332
Add initial support for OpenMP 4.5 task priority feature

The maximum task priority value is read from envirable: OMP_MAX_TASK_PRIORITY.
But as of now, nothing is done with it.  We just handle the environment variable
and add the new api: omp_get_max_task_priority() which returns that value or
zero if it is not set.

Differential Revision: http://reviews.llvm.org/D17411

llvm-svn: 261908
12 files changed:
openmp/runtime/src/dllexports
openmp/runtime/src/include/41/omp.h.var
openmp/runtime/src/include/41/omp_lib.f.var
openmp/runtime/src/include/41/omp_lib.f90.var
openmp/runtime/src/include/41/omp_lib.h.var
openmp/runtime/src/kmp.h
openmp/runtime/src/kmp_ftn_entry.h
openmp/runtime/src/kmp_ftn_os.h
openmp/runtime/src/kmp_global.c
openmp/runtime/src/kmp_settings.c
openmp/runtime/src/kmp_tasking.c
openmp/runtime/test/lit.cfg