[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
Wed Apr 14 05:56:27 PDT 2021


This revision was automatically updated to reflect the committed changes.
Closed by commit rG77dc7b465313: [OpenMP] Fix printing routine for OMP_TOOL_VERBOSE_INIT (authored by hbae).

Repository:
  rG LLVM Github Monorepo

CHANGES SINCE LAST ACTION
  https://reviews.llvm.org/D100414/new/

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.337428.patch
Type: text/x-patch
Size: 1857 bytes
Desc: not available
URL: <http://lists.llvm.org/pipermail/openmp-commits/attachments/20210414/24c47f20/attachment.bin>


More information about the Openmp-commits mailing list