aboutsummaryrefslogtreecommitdiff
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
commitba07f9b3fe7e819dc6458b960f21c725abf761ea (patch)
tree0b17ab543eb2d87db2c96246edf1326d6a59a37e
parent0c9c540c0dd87de4bda2932b0e6c3a0c35669bac (diff)
fixing mistake in kmp_get_affinity_max_proc() api function
git-svn-id: https://llvm.org/svn/llvm-project/openmp/trunk@227450 91177308-0d34-0410-b5e6-96231b3b80d8
-rw-r--r--runtime/src/kmp_ftn_entry.h2
1 files changed, 1 insertions, 1 deletions
diff --git a/runtime/src/kmp_ftn_entry.h b/runtime/src/kmp_ftn_entry.h
index 8039853..d43d545 100644
--- a/runtime/src/kmp_ftn_entry.h
+++ b/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 */