summaryrefslogtreecommitdiffstats
path: root/openmp/runtime/src/kmp.h
diff options
context:
space:
mode:
authorAndrey Churbanov <Andrey.Churbanov@intel.com>2015-01-13 14:54:00 +0000
committerAndrey Churbanov <Andrey.Churbanov@intel.com>2015-01-13 14:54:00 +0000
commitf28f613eda9de3a62d48bb559ffe40a0f472c511 (patch)
tree6e9be5f7a6346574cfcab3f3991dc0a03d7a13cb /openmp/runtime/src/kmp.h
parent3984da560874aa206e37d3e0927f463cb08feff8 (diff)
downloadbcm5719-llvm-f28f613eda9de3a62d48bb559ffe40a0f472c511.tar.gz
bcm5719-llvm-f28f613eda9de3a62d48bb559ffe40a0f472c511.zip
This patch enables the use of KMP_AFFINITY=balanced on non-MIC Architectures. The restriction for using balanced affinity on non-MIC architectures is it only works for one-package machines.
llvm-svn: 225794
Diffstat (limited to 'openmp/runtime/src/kmp.h')
-rw-r--r--openmp/runtime/src/kmp.h4
1 files changed, 0 insertions, 4 deletions
diff --git a/openmp/runtime/src/kmp.h b/openmp/runtime/src/kmp.h
index 448ee87ee26..83ecb15fe97 100644
--- a/openmp/runtime/src/kmp.h
+++ b/openmp/runtime/src/kmp.h
@@ -679,9 +679,7 @@ enum affinity_type {
affinity_compact,
affinity_scatter,
affinity_explicit,
-#if KMP_MIC
affinity_balanced,
-#endif
affinity_disabled, // not used outsize the env var parser
affinity_default
};
@@ -2336,9 +2334,7 @@ typedef struct KMP_ALIGN_CACHE kmp_base_team {
int t_first_place; // first & last place in parent thread's partition.
int t_last_place; // Restore these values to master after par region.
#endif // OMP_40_ENABLED && KMP_AFFINITY_SUPPORTED
-#if KMP_MIC
int t_size_changed; // team size was changed?: 0: no, 1: yes, -1: changed via omp_set_num_threads() call
-#endif
// Read/write by workers as well -----------------------------------------------------------------------
#if KMP_ARCH_X86 || KMP_ARCH_X86_64
OpenPOWER on IntegriCloud