Lines 14-21
Link Here
|
14 |
|
14 |
|
15 |
diff --git a/openmp/runtime/src/kmp_affinity.h b/openmp/runtime/src/kmp_affinity.h |
15 |
diff --git a/openmp/runtime/src/kmp_affinity.h b/openmp/runtime/src/kmp_affinity.h |
16 |
index f270bb6dbb8..664a4239319 100644 |
16 |
index f270bb6dbb8..664a4239319 100644 |
17 |
--- a/openmp/runtime/src/kmp_affinity.h |
17 |
--- projects/openmp/runtime/src/kmp_affinity.h |
18 |
+++ b/openmp/runtime/src/kmp_affinity.h |
18 |
+++ projects/openmp/runtime/src/kmp_affinity.h |
19 |
@@ -303,8 +303,9 @@ class KMPNativeAffinity : public KMPAffinity { |
19 |
@@ -303,8 +303,9 @@ class KMPNativeAffinity : public KMPAffinity { |
20 |
int retval = |
20 |
int retval = |
21 |
syscall(__NR_sched_getaffinity, 0, __kmp_affin_mask_size, mask); |
21 |
syscall(__NR_sched_getaffinity, 0, __kmp_affin_mask_size, mask); |
Lines 40-47
Link Here
|
40 |
return 0; |
40 |
return 0; |
41 |
diff --git a/openmp/runtime/src/z_Linux_util.cpp b/openmp/runtime/src/z_Linux_util.cpp |
41 |
diff --git a/openmp/runtime/src/z_Linux_util.cpp b/openmp/runtime/src/z_Linux_util.cpp |
42 |
index 1daa3d31047..5e2d1bd4a2f 100644 |
42 |
index 1daa3d31047..5e2d1bd4a2f 100644 |
43 |
--- a/openmp/runtime/src/z_Linux_util.cpp |
43 |
--- projects/openmp/runtime/src/z_Linux_util.cpp |
44 |
+++ b/openmp/runtime/src/z_Linux_util.cpp |
44 |
+++ projects/openmp/runtime/src/z_Linux_util.cpp |
45 |
@@ -164,7 +164,7 @@ void __kmp_affinity_determine_capable(const char *env_var) { |
45 |
@@ -164,7 +164,7 @@ void __kmp_affinity_determine_capable(const char *env_var) { |
46 |
if (gCode > 0) { // Linux* OS only |
46 |
if (gCode > 0) { // Linux* OS only |
47 |
// The optimal situation: the OS returns the size of the buffer it expects. |
47 |
// The optimal situation: the OS returns the size of the buffer it expects. |