mirror of
https://github.com/capstone-engine/llvm-capstone.git
synced 2024-11-28 08:02:08 +00:00
fix that sets proc-bind-var to proc_bind_false if affinity is not supported
llvm-svn: 227454
This commit is contained in:
parent
8816257949
commit
78bfb7c3a7
@ -5037,7 +5037,13 @@ __kmp_env_initialize( char const * string ) {
|
||||
}
|
||||
__kmp_nested_proc_bind.size = 1;
|
||||
__kmp_nested_proc_bind.used = 1;
|
||||
# if KMP_AFFINITY_SUPPORTED
|
||||
__kmp_nested_proc_bind.bind_types[0] = proc_bind_default;
|
||||
# else
|
||||
// default proc bind is false if affinity not supported
|
||||
__kmp_nested_proc_bind.bind_types[0] = proc_bind_false;
|
||||
# endif
|
||||
|
||||
}
|
||||
#endif /* OMP_40_ENABLED */
|
||||
|
||||
|
Loading…
Reference in New Issue
Block a user