fixing mistake in kmp_get_affinity_max_proc() api function

llvm-svn: 227450
This commit is contained in:
Andrey Churbanov 2015-01-29 15:48:21 +00:00
parent 571fd8acca
commit 9ffc098fb5
1 changed files with 1 additions and 1 deletions

View File

@ -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 */