summaryrefslogtreecommitdiffstats
path: root/openmp/runtime/src
diff options
context:
space:
mode:
authorAndrey Churbanov <Andrey.Churbanov@intel.com>2015-01-29 15:48:21 +0000
committerAndrey Churbanov <Andrey.Churbanov@intel.com>2015-01-29 15:48:21 +0000
commit9ffc098fb503595d879cc24ade15b5fc12dfe530 (patch)
tree5366ef4d0041d2d81bd8d5878c32dd91934bb418 /openmp/runtime/src
parent571fd8accaf37b3195b1c4bd57f01b6382447641 (diff)
downloadbcm5719-llvm-9ffc098fb503595d879cc24ade15b5fc12dfe530.tar.gz
bcm5719-llvm-9ffc098fb503595d879cc24ade15b5fc12dfe530.zip
fixing mistake in kmp_get_affinity_max_proc() api function
llvm-svn: 227450
Diffstat (limited to 'openmp/runtime/src')
-rw-r--r--openmp/runtime/src/kmp_ftn_entry.h2
1 files changed, 1 insertions, 1 deletions
diff --git a/openmp/runtime/src/kmp_ftn_entry.h b/openmp/runtime/src/kmp_ftn_entry.h
index 8039853e901..d43d545466a 100644
--- a/openmp/runtime/src/kmp_ftn_entry.h
+++ b/openmp/runtime/src/kmp_ftn_entry.h
@@ -258,7 +258,7 @@ FTN_GET_AFFINITY_MAX_PROC( void )
}
#if KMP_GROUP_AFFINITY
- if ( __kmp_num_proc_groups <= 1 ) {
+ if ( __kmp_num_proc_groups > 1 ) {
return (int)KMP_CPU_SETSIZE;
}
#endif /* KMP_GROUP_AFFINITY */
OpenPOWER on IntegriCloud