[Openmp-commits] [openmp] 4c63672 - [OpenMP] Fix use of ompt_start_tool in ompd test. (#97616)

via Openmp-commits openmp-commits at lists.llvm.org
Wed Jul 3 13:51:02 PDT 2024


Author: Hansang Bae
Date: 2024-07-03T22:50:59+02:00
New Revision: 4c63672ca706c708de1e49bb29d026a705daa0d2

URL: https://github.com/llvm/llvm-project/commit/4c63672ca706c708de1e49bb29d026a705daa0d2
DIFF: https://github.com/llvm/llvm-project/commit/4c63672ca706c708de1e49bb29d026a705daa0d2.diff

LOG: [OpenMP] Fix use of ompt_start_tool in ompd test. (#97616)

Added: 
    

Modified: 
    openmp/libompd/test/ompt_plugin.h

Removed: 
    


################################################################################
diff  --git a/openmp/libompd/test/ompt_plugin.h b/openmp/libompd/test/ompt_plugin.h
index 4488e6884a06c..74cb625ecb375 100644
--- a/openmp/libompd/test/ompt_plugin.h
+++ b/openmp/libompd/test/ompt_plugin.h
@@ -127,8 +127,8 @@ static void ompt_finalize(ompt_data_t *tool_data) {}
 
 // "This func will be invoked by OpenMP implementation, refer spec: 4.2.1"
 // NOLINTNEXTLINE
-static ompt_start_tool_result_t *ompt_start_tool(unsigned int omp_version,
-                                                 const char *runtime_version) {
+ompt_start_tool_result_t *ompt_start_tool(unsigned int omp_version,
+                                          const char *runtime_version) {
   static ompt_start_tool_result_t ompt_start_tool_result = {
       &ompt_initialize, &ompt_finalize, {0}};
   return &ompt_start_tool_result;


        


More information about the Openmp-commits mailing list