[Openmp-commits] [openmp] r227202 - Fixes error where proc-bind-var is not set when there is a parsing error of GOMP_AFFINITY environment variable.
Andrey Churbanov
Andrey.Churbanov at intel.com
Tue Jan 27 08:58:08 PST 2015
Author: achurbanov
Date: Tue Jan 27 10:58:08 2015
New Revision: 227202
URL: http://llvm.org/viewvc/llvm-project?rev=227202&view=rev
Log:
Fixes error where proc-bind-var is not set when there is a parsing error of GOMP_AFFINITY environment variable.
Modified:
openmp/trunk/runtime/src/kmp_settings.c
Modified: openmp/trunk/runtime/src/kmp_settings.c
URL: http://llvm.org/viewvc/llvm-project/openmp/trunk/runtime/src/kmp_settings.c?rev=227202&r1=227201&r2=227202&view=diff
==============================================================================
--- openmp/trunk/runtime/src/kmp_settings.c (original)
+++ openmp/trunk/runtime/src/kmp_settings.c Tue Jan 27 10:58:08 2015
@@ -2535,6 +2535,9 @@ __kmp_stg_parse_gomp_cpu_affinity( char
// Warning already emitted
//
__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
More information about the Openmp-commits
mailing list