summaryrefslogtreecommitdiffstats
path: root/openmp/runtime/src/kmp_ftn_os.h
diff options
context:
space:
mode:
authorAndrey Churbanov <Andrey.Churbanov@intel.com>2015-02-10 19:47:09 +0000
committerAndrey Churbanov <Andrey.Churbanov@intel.com>2015-02-10 19:47:09 +0000
commit851563f9c3bc6b5db812cfa95add5387e6e433df (patch)
treed6919df696411f3d41ca69fa50a5606de9bd7a2c /openmp/runtime/src/kmp_ftn_os.h
parenta03b9389cab135a99d1b31d4c185030158d11570 (diff)
downloadbcm5719-llvm-851563f9c3bc6b5db812cfa95add5387e6e433df.tar.gz
bcm5719-llvm-851563f9c3bc6b5db812cfa95add5387e6e433df.zip
OpenMP 4.0 standard function omp_is_initial_device() implemented.
llvm-svn: 228730
Diffstat (limited to 'openmp/runtime/src/kmp_ftn_os.h')
-rw-r--r--openmp/runtime/src/kmp_ftn_os.h4
1 files changed, 4 insertions, 0 deletions
diff --git a/openmp/runtime/src/kmp_ftn_os.h b/openmp/runtime/src/kmp_ftn_os.h
index 35f798ca26c..4ddebbd3154 100644
--- a/openmp/runtime/src/kmp_ftn_os.h
+++ b/openmp/runtime/src/kmp_ftn_os.h
@@ -101,6 +101,7 @@
#define FTN_SET_DEFAULT_DEVICE omp_set_default_device
#define FTN_GET_NUM_DEVICES omp_get_num_devices
#endif
+ #define FTN_IS_INITIAL_DEVICE omp_is_initial_device
#endif
#if OMP_40_ENABLED
@@ -192,6 +193,7 @@
#define FTN_SET_DEFAULT_DEVICE omp_set_default_device_
#define FTN_GET_NUM_DEVICES omp_get_num_devices_
#endif
+ #define FTN_IS_INITIAL_DEVICE omp_is_initial_device_
#endif
@@ -284,6 +286,7 @@
#define FTN_SET_DEFAULT_DEVICE OMP_SET_DEFAULT_DEVICE
#define FTN_GET_NUM_DEVICES OMP_GET_NUM_DEVICES
#endif
+ #define FTN_IS_INITIAL_DEVICE OMP_IS_INITIAL_DEVICE
#endif
@@ -376,6 +379,7 @@
#define FTN_SET_DEFAULT_DEVICE OMP_SET_DEFAULT_DEVICE_
#define FTN_GET_NUM_DEVICES OMP_GET_NUM_DEVICES_
#endif
+ #define FTN_IS_INITIAL_DEVICE OMP_IS_INITIAL_DEVICE_
#endif
OpenPOWER on IntegriCloud