[Openmp-commits] [openmp] 1c5186c - [OpenMP][omptest] Enable missing callback (#161650)

via Openmp-commits openmp-commits at lists.llvm.org
Mon Oct 6 04:21:14 PDT 2025


Author: Jan Patrick Lehr
Date: 2025-10-06T13:21:10+02:00
New Revision: 1c5186c315fdc6a070c302fe78f0e18122b9038f

URL: https://github.com/llvm/llvm-project/commit/1c5186c315fdc6a070c302fe78f0e18122b9038f
DIFF: https://github.com/llvm/llvm-project/commit/1c5186c315fdc6a070c302fe78f0e18122b9038f.diff

LOG: [OpenMP][omptest] Enable missing callback (#161650)

The registration of this callback handler was disabled for some reason.
Local testing did not bring up any issues when I enabled it.

Side effect is: Silences current warning about unused function.

Added: 
    

Modified: 
    openmp/tools/omptest/src/OmptTester.cpp

Removed: 
    


################################################################################
diff  --git a/openmp/tools/omptest/src/OmptTester.cpp b/openmp/tools/omptest/src/OmptTester.cpp
index afa96ac1d4b23..1a83f621173ad 100644
--- a/openmp/tools/omptest/src/OmptTester.cpp
+++ b/openmp/tools/omptest/src/OmptTester.cpp
@@ -390,7 +390,7 @@ int ompt_initialize(ompt_function_lookup_t lookup, int initial_device_num,
   register_ompt_callback(ompt_callback_parallel_begin);
   register_ompt_callback(ompt_callback_parallel_end);
   register_ompt_callback(ompt_callback_work);
-  // register_ompt_callback(ompt_callback_dispatch);
+  register_ompt_callback(ompt_callback_dispatch);
   register_ompt_callback(ompt_callback_task_create);
   // register_ompt_callback(ompt_callback_dependences);
   // register_ompt_callback(ompt_callback_task_dependence);


        


More information about the Openmp-commits mailing list