[Openmp-commits] [PATCH] D139803: [OpenMP][Test] Make the output error message consistent with the comment
Gong LingQin via Phabricator via Openmp-commits
openmp-commits at lists.llvm.org
Sun Dec 11 18:40:13 PST 2022
gonglingqin created this revision.
gonglingqin added reviewers: jlpeyton, xen0n, xry111, SixWeining, wangleiat, MaskRay, XiaodongLoong.
Herald added subscribers: StephenFan, guansong, yaxunl.
Herald added a project: All.
gonglingqin requested review of this revision.
Herald added a reviewer: jdoerfert.
Herald added subscribers: openmp-commits, sstefan1.
Herald added a project: OpenMP.
Modify the error message output of affinity/kmp-affinity.c and
affinity/omp-places.c.
Repository:
rG LLVM Github Monorepo
https://reviews.llvm.org/D139803
Files:
openmp/runtime/test/affinity/kmp-affinity.c
openmp/runtime/test/affinity/omp-places.c
Index: openmp/runtime/test/affinity/omp-places.c
===================================================================
--- openmp/runtime/test/affinity/omp-places.c
+++ openmp/runtime/test/affinity/omp-places.c
@@ -23,7 +23,7 @@
topology_print_places(p1);
printf("\n");
printf("p2 places:\n");
- topology_print_places(p1);
+ topology_print_places(p2);
return EXIT_FAILURE;
}
for (i = 0; i < p1->num_places; ++i) {
@@ -40,7 +40,7 @@
topology_print_places(p1);
printf("\n");
printf("p2 places:\n");
- topology_print_places(p1);
+ topology_print_places(p2);
return EXIT_FAILURE;
}
}
Index: openmp/runtime/test/affinity/kmp-affinity.c
===================================================================
--- openmp/runtime/test/affinity/kmp-affinity.c
+++ openmp/runtime/test/affinity/kmp-affinity.c
@@ -27,7 +27,7 @@
topology_print_places(p1);
printf("\n");
printf("p2 places:\n");
- topology_print_places(p1);
+ topology_print_places(p2);
return EXIT_FAILURE;
}
}
-------------- next part --------------
A non-text attachment was scrubbed...
Name: D139803.481969.patch
Type: text/x-patch
Size: 1083 bytes
Desc: not available
URL: <http://lists.llvm.org/pipermail/openmp-commits/attachments/20221212/316dbf95/attachment.bin>
More information about the Openmp-commits
mailing list