[Openmp-commits] [PATCH] D41000: AArch64: fix cpuinfo issues
Paul Osmialowski via Phabricator via Openmp-commits
openmp-commits at lists.llvm.org
Sat Dec 9 12:24:29 PST 2017
pawosm01 updated this revision to Diff 126279.
pawosm01 edited the summary of this revision.
Repository:
rOMP OpenMP
https://reviews.llvm.org/D41000
Files:
runtime/src/kmp_affinity.cpp
Index: runtime/src/kmp_affinity.cpp
===================================================================
--- runtime/src/kmp_affinity.cpp
+++ runtime/src/kmp_affinity.cpp
@@ -2028,7 +2028,11 @@
if ((p == NULL) || (KMP_SSCANF(p + 1, "%u\n", &val) != 1))
goto no_val;
if (threadInfo[num_avail][osIdIndex] != UINT_MAX)
+#if KMP_ARCH_AARCH64
+ num_avail++;
+#else
goto dup_field;
+#endif
threadInfo[num_avail][osIdIndex] = val;
#if KMP_OS_LINUX && !(KMP_ARCH_X86 || KMP_ARCH_X86_64)
char path[256];
-------------- next part --------------
A non-text attachment was scrubbed...
Name: D41000.126279.patch
Type: text/x-patch
Size: 562 bytes
Desc: not available
URL: <http://lists.llvm.org/pipermail/openmp-commits/attachments/20171209/f6c20fab/attachment.bin>
More information about the Openmp-commits
mailing list