[OPENMP] Implementation of omp_get_default_device and omp_set_default_device
authorGeorge Rokos <grokos@us.ibm.com>
Fri, 9 Sep 2016 17:55:26 +0000 (17:55 +0000)
committerGeorge Rokos <grokos@us.ibm.com>
Fri, 9 Sep 2016 17:55:26 +0000 (17:55 +0000)
commit28f31b405e0dd59f9c8cb51ea7506d5753e0f229
tree49c5bffe226484b90b53fe2476c2770e859e7a47
parent01426ff875419e939f91d959904baac23075084f
[OPENMP] Implementation of omp_get_default_device and omp_set_default_device

Implementation of missing OpenMP 4.0 API functions omp_get_default_device and omp_set_default_device.
Also, added support for the environment variable OMP_DEFAULT_DEVICE.

Differential Revision: https://reviews.llvm.org/D23587

llvm-svn: 281065
openmp/runtime/src/dllexports
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_runtime.c
openmp/runtime/src/kmp_settings.c