[Openmp-commits] [PATCH] D100414: [OpenMP] Fix printing routine for OMP_TOOL_VERBOSE_INIT
Hansang Bae via Phabricator via Openmp-commits
openmp-commits at lists.llvm.org
Tue Apr 13 15:20:06 PDT 2021
hbae created this revision.
hbae added a reviewer: protze.joachim.
hbae added a project: OpenMP.
Herald added subscribers: guansong, yaxunl.
hbae requested review of this revision.
Herald added a reviewer: jdoerfert.
Herald added a subscriber: sstefan1.
Also fixed typo in the verbose message.
Repository:
rG LLVM Github Monorepo
https://reviews.llvm.org/D100414
Files:
openmp/runtime/src/kmp_settings.cpp
openmp/runtime/src/ompt-general.cpp
openmp/runtime/test/ompt/loadtool/tool_available/tool_available.c
Index: openmp/runtime/test/ompt/loadtool/tool_available/tool_available.c
===================================================================
--- openmp/runtime/test/ompt/loadtool/tool_available/tool_available.c
+++ openmp/runtime/test/ompt/loadtool/tool_available/tool_available.c
@@ -84,7 +84,7 @@
// CHECK-NOT: {{^}}0: Could not register callback
// ADDRSPACE: ----- START LOGGING OF TOOL REGISTRATION -----
-// ADDRSPACE-NEXT: Search for OMP tool in current address space... Sucess.
+// ADDRSPACE-NEXT: Search for OMP tool in current address space... Success.
// ADDRSPACE-NEXT: Tool was started and is using the OMPT interface.
// ADDRSPACE-NEXT: ----- END LOGGING OF TOOL REGISTRATION -----
Index: openmp/runtime/src/ompt-general.cpp
===================================================================
--- openmp/runtime/src/ompt-general.cpp
+++ openmp/runtime/src/ompt-general.cpp
@@ -266,7 +266,7 @@
#error Activation of OMPT is not supported on this platform.
#endif
if (ret) {
- OMPT_VERBOSE_INIT_CONTINUED_PRINT("Sucess.\n");
+ OMPT_VERBOSE_INIT_CONTINUED_PRINT("Success.\n");
OMPT_VERBOSE_INIT_PRINT(
"Tool was started and is using the OMPT interface.\n");
OMPT_VERBOSE_INIT_PRINT("----- END LOGGING OF TOOL REGISTRATION -----\n");
Index: openmp/runtime/src/kmp_settings.cpp
===================================================================
--- openmp/runtime/src/kmp_settings.cpp
+++ openmp/runtime/src/kmp_settings.cpp
@@ -5080,7 +5080,7 @@
char const *name,
void *data) {
if (__kmp_tool_verbose_init)
- __kmp_stg_print_str(buffer, name, __kmp_tool_libraries);
+ __kmp_stg_print_str(buffer, name, __kmp_tool_verbose_init);
else {
if (__kmp_env_format) {
KMP_STR_BUF_PRINT_NAME;
-------------- next part --------------
A non-text attachment was scrubbed...
Name: D100414.337269.patch
Type: text/x-patch
Size: 1857 bytes
Desc: not available
URL: <http://lists.llvm.org/pipermail/openmp-commits/attachments/20210413/9e43d529/attachment.bin>
More information about the Openmp-commits
mailing list