summaryrefslogtreecommitdiffstats
path: root/openmp/runtime/src/ompt-internal.h
diff options
context:
space:
mode:
authorJonathan Peyton <jonathan.l.peyton@intel.com>2019-02-28 20:47:21 +0000
committerJonathan Peyton <jonathan.l.peyton@intel.com>2019-02-28 20:47:21 +0000
commit76b45e874d477cebc8c4f9e11cedbf3d4352aa5a (patch)
treec9f1dc6298f5ac32648182609a805bdffaf36c4c /openmp/runtime/src/ompt-internal.h
parentecb2c1fd5bfc5f289fd572160c664f5bcc05e899 (diff)
downloadbcm5719-llvm-76b45e874d477cebc8c4f9e11cedbf3d4352aa5a.tar.gz
bcm5719-llvm-76b45e874d477cebc8c4f9e11cedbf3d4352aa5a.zip
[OpenMP 5.0] Deprecate nest-var and associated features
Nest-var, OMP_NESTED, omp_set_nested()., and omp_get_nested() have been deprecated in the 5.0 spec. Initial nesting info is now derived from OMP_MAX_ACTIVE_LEVELS, OMP_NUM_THREADS, and OMP_PROC_BIND. This patch deprecates the internal ICV that corresponds to nest-var, and replaces it with the max-active-levels-var ICV to determine nesting. The change still allows for use of OMP_NESTED (according to 5.0 changes), omp_get_nested, and omp_set_nested, which have had deprecation messages added to them. The change allows certain settings of OMP_NUM_THREADS, OMP_PROC_BIND, and OMP_MAX_ACTIVE_LEVELS to turn on nesting, but OMP_NESTED=0 will still force nesting to be off. The runtime now prints informative messages about deprecation of OMP_NESTED, omp_set_nested(), and omp_get_nested(), when those environment variables or routines are used. It also prints deprecated message in output for KMP_SETTINGS and OMP_DISPLAY_ENV for OMP_NESTED. This patch also fixes OMP_DISPLAY_ENV output for OMP_TARGET_OFFLOAD. Patch by Terry Wilmarth Differential Revision: https://reviews.llvm.org/D58408 llvm-svn: 355138
Diffstat (limited to 'openmp/runtime/src/ompt-internal.h')
0 files changed, 0 insertions, 0 deletions
OpenPOWER on IntegriCloud