summaryrefslogtreecommitdiffstats
path: root/openmp/runtime/src/kmp_csupport.c
diff options
context:
space:
mode:
authorAndrey Churbanov <Andrey.Churbanov@intel.com>2015-01-29 17:14:58 +0000
committerAndrey Churbanov <Andrey.Churbanov@intel.com>2015-01-29 17:14:58 +0000
commit5cd50e3c0ad5c117f28f7d79e24433316739c357 (patch)
treeb1cd81a4d661a11f1ee9a2c8a17d64f48506dbb1 /openmp/runtime/src/kmp_csupport.c
parenta1849af4a98ad567d0bf0ddc51e5c8acabbe507f (diff)
downloadbcm5719-llvm-5cd50e3c0ad5c117f28f7d79e24433316739c357.tar.gz
bcm5719-llvm-5cd50e3c0ad5c117f28f7d79e24433316739c357.zip
enable environment variable KMP_PLACE_THREADS also for non-MIC architectures
llvm-svn: 227467
Diffstat (limited to 'openmp/runtime/src/kmp_csupport.c')
-rw-r--r--openmp/runtime/src/kmp_csupport.c2
1 files changed, 0 insertions, 2 deletions
diff --git a/openmp/runtime/src/kmp_csupport.c b/openmp/runtime/src/kmp_csupport.c
index 473411de86a..4909bd9ed00 100644
--- a/openmp/runtime/src/kmp_csupport.c
+++ b/openmp/runtime/src/kmp_csupport.c
@@ -2157,14 +2157,12 @@ __kmpc_get_parent_taskid() {
void __kmpc_place_threads(int nC, int nT, int nO)
{
-#if KMP_MIC
if ( ! __kmp_init_serial ) {
__kmp_serial_initialize();
}
__kmp_place_num_cores = nC;
__kmp_place_num_threads_per_core = nT;
__kmp_place_core_offset = nO;
-#endif
}
// end of file //
OpenPOWER on IntegriCloud