HOME
| OPENMP API Specification: Version 5.1 November 2020

4.5  OMPT Tool Callback Signatures and Trace Records

The C/C++ header file (omp-tools.h) provides the definitions of the types that are specified throughout this subsection. Restrictions to the OpenMP tool callbacks are as follows:

Restrictions

  4.5.1  Initialization and Finalization Callback Signature
   4.5.1.1  ompt_initialize_t
   4.5.1.2  ompt_finalize_t
  4.5.2  Event Callback Signatures and Trace Records
   4.5.2.1  ompt_callback_thread_begin_t
   4.5.2.2  ompt_callback_thread_end_t
   4.5.2.3  ompt_callback_parallel_begin_t
   4.5.2.4  ompt_callback_parallel_end_t
   4.5.2.5  ompt_callback_work_t
   4.5.2.6  ompt_callback_dispatch_t
   4.5.2.7  ompt_callback_task_create_t
   4.5.2.8  ompt_callback_dependences_t
   4.5.2.9  ompt_callback_task_dependence_t
   4.5.2.10  ompt_callback_task_schedule_t
   4.5.2.11  ompt_callback_implicit_task_t
   4.5.2.12  ompt_callback_masked_t
   4.5.2.13  ompt_callback_sync_region_t
   4.5.2.14  ompt_callback_mutex_acquire_t
   4.5.2.15  ompt_callback_mutex_t
   4.5.2.16  ompt_callback_nest_lock_t
   4.5.2.17  ompt_callback_flush_t
   4.5.2.18  ompt_callback_cancel_t
   4.5.2.19  ompt_callback_device_initialize_t
   4.5.2.20  ompt_callback_device_finalize_t
   4.5.2.21  ompt_callback_device_load_t
   4.5.2.22  ompt_callback_device_unload_t
   4.5.2.23  ompt_callback_buffer_request_t
   4.5.2.24  ompt_callback_buffer_complete_t
   4.5.2.25  ompt_callback_target_data_op_emi_t and
ompt_callback_target_data_op_t

   4.5.2.26  ompt_callback_target_emi_t and
ompt_callback_target_t

   4.5.2.27  ompt_callback_target_map_emi_t and
ompt_callback_target_map_t

   4.5.2.28  ompt_callback_target_submit_emi_t and
ompt_callback_target_submit_t

   4.5.2.29  ompt_callback_control_tool_t
   4.5.2.30  ompt_callback_error_t