forked from OSchip/llvm-project
Fixes error where proc-bind-var is not set when there is a parsing error of GOMP_AFFINITY environment variable.
llvm-svn: 227202
This commit is contained in:
parent
f696c820cd
commit
a36de4339b
|
@ -2535,6 +2535,9 @@ __kmp_stg_parse_gomp_cpu_affinity( char const * name, char const * value, void *
|
||||||
// Warning already emitted
|
// Warning already emitted
|
||||||
//
|
//
|
||||||
__kmp_affinity_type = affinity_none;
|
__kmp_affinity_type = affinity_none;
|
||||||
|
# if OMP_40_ENABLED
|
||||||
|
__kmp_nested_proc_bind.bind_types[0] = proc_bind_false;
|
||||||
|
# endif
|
||||||
}
|
}
|
||||||
} // __kmp_stg_parse_gomp_cpu_affinity
|
} // __kmp_stg_parse_gomp_cpu_affinity
|
||||||
|
|
||||||
|
|
Loading…
Reference in New Issue