[Openmp-commits] [openmp] r227450 - fixing mistake in kmp_get_affinity_max_proc() api function
Andrey Churbanov
Andrey.Churbanov at intel.com
Thu Jan 29 07:48:21 PST 2015
Author: achurbanov
Date: Thu Jan 29 09:48:21 2015
New Revision: 227450
URL: http://llvm.org/viewvc/llvm-project?rev=227450&view=rev
Log:
fixing mistake in kmp_get_affinity_max_proc() api function
Modified:
openmp/trunk/runtime/src/kmp_ftn_entry.h
Modified: openmp/trunk/runtime/src/kmp_ftn_entry.h
URL: http://llvm.org/viewvc/llvm-project/openmp/trunk/runtime/src/kmp_ftn_entry.h?rev=227450&r1=227449&r2=227450&view=diff
==============================================================================
--- openmp/trunk/runtime/src/kmp_ftn_entry.h (original)
+++ openmp/trunk/runtime/src/kmp_ftn_entry.h Thu Jan 29 09:48:21 2015
@@ -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 */
More information about the Openmp-commits
mailing list