ETISS 0.8.0
Extendable Translating Instruction Set Simulator (version 0.8.0)
Classes | Macros | Typedefs | Enumerations
ompt.h File Reference
#include <stdint.h>
#include <stddef.h>
Include dependency graph for ompt.h:

Go to the source code of this file.

Classes

union  ompt_data_t
 
struct  ompt_frame_t
 
struct  ompt_start_tool_result_t
 
struct  ompt_record_abstract_t
 
struct  ompt_dependence_t
 
struct  ompt_record_thread_begin_t
 
struct  ompt_record_parallel_begin_t
 
struct  ompt_record_parallel_end_t
 
struct  ompt_record_work_t
 
struct  ompt_record_dispatch_t
 
struct  ompt_record_task_create_t
 
struct  ompt_record_dependences_t
 
struct  ompt_record_task_dependence_t
 
struct  ompt_record_task_schedule_t
 
struct  ompt_record_implicit_task_t
 
struct  ompt_record_master_t
 
struct  ompt_record_sync_region_t
 
struct  ompt_record_mutex_acquire_t
 
struct  ompt_record_mutex_t
 
struct  ompt_record_nest_lock_t
 
struct  ompt_record_flush_t
 
struct  ompt_record_cancel_t
 
struct  ompt_record_target_data_op_t
 
struct  ompt_record_target_t
 
struct  ompt_record_target_map_t
 
struct  ompt_record_target_kernel_t
 
struct  ompt_record_control_tool_t
 
struct  ompd_address_t
 
struct  ompd_frame_info_t
 
struct  ompd_device_type_sizes_t
 
struct  ompt_record_ompt_t
 

Macros

#define FOREACH_OMPT_INQUIRY_FN(macro)
 
#define FOREACH_OMPT_STATE(macro)
 
#define FOREACH_KMP_MUTEX_IMPL(macro)
 
#define FOREACH_OMPT_EVENT(macro)
 
#define kmp_mutex_impl_macro(impl, code)   impl = code,
 
#define ompt_id_none   0
 
#define ompt_data_none   {0}
 
#define ompt_time_none   0
 
#define ompt_hwid_none   0
 
#define ompt_addr_none   ~0
 
#define ompt_mutex_impl_none   0
 
#define ompt_wait_id_none   0
 
#define ompd_segment_none   0
 

Typedefs

typedef enum kmp_mutex_impl_t kmp_mutex_impl_t
 
typedef enum ompt_callbacks_t ompt_callbacks_t
 
typedef enum ompt_record_t ompt_record_t
 
typedef enum ompt_record_native_t ompt_record_native_t
 
typedef enum ompt_set_result_t ompt_set_result_t
 
typedef uint64_t ompt_id_t
 
typedef uint64_t ompt_device_time_t
 
typedef uint64_t ompt_buffer_cursor_t
 
typedef enum ompt_thread_t ompt_thread_t
 
typedef enum ompt_scope_endpoint_t ompt_scope_endpoint_t
 
typedef enum ompt_dispatch_t ompt_dispatch_t
 
typedef enum ompt_sync_region_t ompt_sync_region_t
 
typedef enum ompt_target_data_op_t ompt_target_data_op_t
 
typedef enum ompt_work_t ompt_work_t
 
typedef enum ompt_mutex_t ompt_mutex_t
 
typedef enum ompt_native_mon_flag_t ompt_native_mon_flag_t
 
typedef enum ompt_task_flag_t ompt_task_flag_t
 
typedef enum ompt_task_status_t ompt_task_status_t
 
typedef enum ompt_target_t ompt_target_t
 
typedef enum ompt_parallel_flag_t ompt_parallel_flag_t
 
typedef enum ompt_target_map_flag_t ompt_target_map_flag_t
 
typedef enum ompt_dependence_type_t ompt_dependence_type_t
 
typedef enum ompt_cancel_flag_t ompt_cancel_flag_t
 
typedef uint64_t ompt_hwid_t
 
typedef uint64_t ompt_wait_id_t
 
typedef enum ompt_frame_flag_t ompt_frame_flag_t
 
typedef enum ompt_state_t ompt_state_t
 
typedef uint64_t(* ompt_get_unique_id_t) (void)
 
typedef uint64_t ompd_size_t
 
typedef uint64_t ompd_wait_id_t
 
typedef uint64_t ompd_addr_t
 
typedef int64_t ompd_word_t
 
typedef uint64_t ompd_seg_t
 
typedef uint64_t ompd_device_t
 
typedef uint64_t ompd_thread_id_t
 
typedef enum ompd_scope_t ompd_scope_t
 
typedef uint64_t ompd_icv_id_t
 
typedef enum ompd_rc_t ompd_rc_t
 
typedef void(* ompt_interface_fn_t) (void)
 
typedef ompt_interface_fn_t(* ompt_function_lookup_t) (const char *interface_function_name)
 
typedef union ompt_data_t ompt_data_t
 
typedef struct ompt_frame_t ompt_frame_t
 
typedef void(* ompt_callback_t) (void)
 
typedef void ompt_device_t
 
typedef void ompt_buffer_t
 
typedef void(* ompt_callback_buffer_request_t) (int device_num, ompt_buffer_t **buffer, size_t *bytes)
 
typedef void(* ompt_callback_buffer_complete_t) (int device_num, ompt_buffer_t *buffer, size_t bytes, ompt_buffer_cursor_t begin, int buffer_owned)
 
typedef void(* ompt_finalize_t) (ompt_data_t *tool_data)
 
typedef int(* ompt_initialize_t) (ompt_function_lookup_t lookup, int initial_device_num, ompt_data_t *tool_data)
 
typedef struct ompt_start_tool_result_t ompt_start_tool_result_t
 
typedef struct ompt_record_abstract_t ompt_record_abstract_t
 
typedef struct ompt_dependence_t ompt_dependence_t
 
typedef int(* ompt_enumerate_states_t) (int current_state, int *next_state, const char **next_state_name)
 
typedef int(* ompt_enumerate_mutex_impls_t) (int current_impl, int *next_impl, const char **next_impl_name)
 
typedef ompt_set_result_t(* ompt_set_callback_t) (ompt_callbacks_t event, ompt_callback_t callback)
 
typedef int(* ompt_get_callback_t) (ompt_callbacks_t event, ompt_callback_t *callback)
 
typedef ompt_data_t *(* ompt_get_thread_data_t) (void)
 
typedef int(* ompt_get_num_procs_t) (void)
 
typedef int(* ompt_get_num_places_t) (void)
 
typedef int(* ompt_get_place_proc_ids_t) (int place_num, int ids_size, int *ids)
 
typedef int(* ompt_get_place_num_t) (void)
 
typedef int(* ompt_get_partition_place_nums_t) (int place_nums_size, int *place_nums)
 
typedef int(* ompt_get_proc_id_t) (void)
 
typedef int(* ompt_get_state_t) (ompt_wait_id_t *wait_id)
 
typedef int(* ompt_get_parallel_info_t) (int ancestor_level, ompt_data_t **parallel_data, int *team_size)
 
typedef int(* ompt_get_task_info_t) (int ancestor_level, int *flags, ompt_data_t **task_data, ompt_frame_t **task_frame, ompt_data_t **parallel_data, int *thread_num)
 
typedef int(* ompt_get_task_memory_t) (void **addr, size_t *size, int block)
 
typedef int(* ompt_get_target_info_t) (uint64_t *device_num, ompt_id_t *target_id, ompt_id_t *host_op_id)
 
typedef int(* ompt_get_num_devices_t) (void)
 
typedef void(* ompt_finalize_tool_t) (void)
 
typedef int(* ompt_get_device_num_procs_t) (ompt_device_t *device)
 
typedef ompt_device_time_t(* ompt_get_device_time_t) (ompt_device_t *device)
 
typedef double(* ompt_translate_time_t) (ompt_device_t *device, ompt_device_time_t time)
 
typedef ompt_set_result_t(* ompt_set_trace_ompt_t) (ompt_device_t *device, unsigned int enable, unsigned int etype)
 
typedef ompt_set_result_t(* ompt_set_trace_native_t) (ompt_device_t *device, int enable, int flags)
 
typedef int(* ompt_start_trace_t) (ompt_device_t *device, ompt_callback_buffer_request_t request, ompt_callback_buffer_complete_t complete)
 
typedef int(* ompt_pause_trace_t) (ompt_device_t *device, int begin_pause)
 
typedef int(* ompt_flush_trace_t) (ompt_device_t *device)
 
typedef int(* ompt_stop_trace_t) (ompt_device_t *device)
 
typedef int(* ompt_advance_buffer_cursor_t) (ompt_device_t *device, ompt_buffer_t *buffer, size_t size, ompt_buffer_cursor_t current, ompt_buffer_cursor_t *next)
 
typedef ompt_record_t(* ompt_get_record_type_t) (ompt_buffer_t *buffer, ompt_buffer_cursor_t current)
 
typedef void *(* ompt_get_record_native_t) (ompt_buffer_t *buffer, ompt_buffer_cursor_t current, ompt_id_t *host_op_id)
 
typedef ompt_record_abstract_t *(* ompt_get_record_abstract_t) (void *native_record)
 
typedef void(* ompt_callback_thread_begin_t) (ompt_thread_t thread_type, ompt_data_t *thread_data)
 
typedef struct ompt_record_thread_begin_t ompt_record_thread_begin_t
 
typedef void(* ompt_callback_thread_end_t) (ompt_data_t *thread_data)
 
typedef void(* ompt_callback_parallel_begin_t) (ompt_data_t *encountering_task_data, const ompt_frame_t *encountering_task_frame, ompt_data_t *parallel_data, unsigned int requested_parallelism, int flags, const void *codeptr_ra)
 
typedef struct ompt_record_parallel_begin_t ompt_record_parallel_begin_t
 
typedef void(* ompt_callback_parallel_end_t) (ompt_data_t *parallel_data, ompt_data_t *encountering_task_data, int flags, const void *codeptr_ra)
 
typedef struct ompt_record_parallel_end_t ompt_record_parallel_end_t
 
typedef void(* ompt_callback_work_t) (ompt_work_t wstype, ompt_scope_endpoint_t endpoint, ompt_data_t *parallel_data, ompt_data_t *task_data, uint64_t count, const void *codeptr_ra)
 
typedef struct ompt_record_work_t ompt_record_work_t
 
typedef void(* ompt_callback_dispatch_t) (ompt_data_t *parallel_data, ompt_data_t *task_data, ompt_dispatch_t kind, ompt_data_t instance)
 
typedef struct ompt_record_dispatch_t ompt_record_dispatch_t
 
typedef void(* ompt_callback_task_create_t) (ompt_data_t *encountering_task_data, const ompt_frame_t *encountering_task_frame, ompt_data_t *new_task_data, int flags, int has_dependences, const void *codeptr_ra)
 
typedef struct ompt_record_task_create_t ompt_record_task_create_t
 
typedef void(* ompt_callback_dependences_t) (ompt_data_t *task_data, const ompt_dependence_t *deps, int ndeps)
 
typedef struct ompt_record_dependences_t ompt_record_dependences_t
 
typedef void(* ompt_callback_task_dependence_t) (ompt_data_t *src_task_data, ompt_data_t *sink_task_data)
 
typedef struct ompt_record_task_dependence_t ompt_record_task_dependence_t
 
typedef void(* ompt_callback_task_schedule_t) (ompt_data_t *prior_task_data, ompt_task_status_t prior_task_status, ompt_data_t *next_task_data)
 
typedef struct ompt_record_task_schedule_t ompt_record_task_schedule_t
 
typedef void(* ompt_callback_implicit_task_t) (ompt_scope_endpoint_t endpoint, ompt_data_t *parallel_data, ompt_data_t *task_data, unsigned int actual_parallelism, unsigned int index, int flags)
 
typedef struct ompt_record_implicit_task_t ompt_record_implicit_task_t
 
typedef void(* ompt_callback_master_t) (ompt_scope_endpoint_t endpoint, ompt_data_t *parallel_data, ompt_data_t *task_data, const void *codeptr_ra)
 
typedef struct ompt_record_master_t ompt_record_master_t
 
typedef void(* ompt_callback_sync_region_t) (ompt_sync_region_t kind, ompt_scope_endpoint_t endpoint, ompt_data_t *parallel_data, ompt_data_t *task_data, const void *codeptr_ra)
 
typedef struct ompt_record_sync_region_t ompt_record_sync_region_t
 
typedef void(* ompt_callback_mutex_acquire_t) (ompt_mutex_t kind, unsigned int hint, unsigned int impl, ompt_wait_id_t wait_id, const void *codeptr_ra)
 
typedef struct ompt_record_mutex_acquire_t ompt_record_mutex_acquire_t
 
typedef void(* ompt_callback_mutex_t) (ompt_mutex_t kind, ompt_wait_id_t wait_id, const void *codeptr_ra)
 
typedef struct ompt_record_mutex_t ompt_record_mutex_t
 
typedef void(* ompt_callback_nest_lock_t) (ompt_scope_endpoint_t endpoint, ompt_wait_id_t wait_id, const void *codeptr_ra)
 
typedef struct ompt_record_nest_lock_t ompt_record_nest_lock_t
 
typedef void(* ompt_callback_flush_t) (ompt_data_t *thread_data, const void *codeptr_ra)
 
typedef struct ompt_record_flush_t ompt_record_flush_t
 
typedef void(* ompt_callback_cancel_t) (ompt_data_t *task_data, int flags, const void *codeptr_ra)
 
typedef struct ompt_record_cancel_t ompt_record_cancel_t
 
typedef void(* ompt_callback_device_initialize_t) (int device_num, const char *type, ompt_device_t *device, ompt_function_lookup_t lookup, const char *documentation)
 
typedef void(* ompt_callback_device_finalize_t) (int device_num)
 
typedef void(* ompt_callback_device_load_t) (int device_num, const char *filename, int64_t offset_in_file, void *vma_in_file, size_t bytes, void *host_addr, void *device_addr, uint64_t module_id)
 
typedef void(* ompt_callback_device_unload_t) (int device_num, uint64_t module_id)
 
typedef void(* ompt_callback_target_data_op_t) (ompt_id_t target_id, ompt_id_t host_op_id, ompt_target_data_op_t optype, void *src_addr, int src_device_num, void *dest_addr, int dest_device_num, size_t bytes, const void *codeptr_ra)
 
typedef struct ompt_record_target_data_op_t ompt_record_target_data_op_t
 
typedef void(* ompt_callback_target_t) (ompt_target_t kind, ompt_scope_endpoint_t endpoint, int device_num, ompt_data_t *task_data, ompt_id_t target_id, const void *codeptr_ra)
 
typedef struct ompt_record_target_t ompt_record_target_t
 
typedef void(* ompt_callback_target_map_t) (ompt_id_t target_id, unsigned int nitems, void **host_addr, void **device_addr, size_t *bytes, unsigned int *mapping_flags, const void *codeptr_ra)
 
typedef struct ompt_record_target_map_t ompt_record_target_map_t
 
typedef void(* ompt_callback_target_submit_t) (ompt_id_t target_id, ompt_id_t host_op_id, unsigned int requested_num_teams)
 
typedef struct ompt_record_target_kernel_t ompt_record_target_kernel_t
 
typedef int(* ompt_callback_control_tool_t) (uint64_t command, uint64_t modifier, void *arg, const void *codeptr_ra)
 
typedef struct ompt_record_control_tool_t ompt_record_control_tool_t
 
typedef struct ompd_address_t ompd_address_t
 
typedef struct ompd_frame_info_t ompd_frame_info_t
 
typedef struct _ompd_aspace_handle ompd_address_space_handle_t
 
typedef struct _ompd_thread_handle ompd_thread_handle_t
 
typedef struct _ompd_parallel_handle ompd_parallel_handle_t
 
typedef struct _ompd_task_handle ompd_task_handle_t
 
typedef struct _ompd_aspace_cont ompd_address_space_context_t
 
typedef struct _ompd_thread_cont ompd_thread_context_t
 
typedef struct ompd_device_type_sizes_t ompd_device_type_sizes_t
 
typedef struct ompt_record_ompt_t ompt_record_ompt_t
 
typedef ompt_record_ompt_t *(* ompt_get_record_ompt_t) (ompt_buffer_t *buffer, ompt_buffer_cursor_t current)
 

Enumerations

enum  kmp_mutex_impl_t
 
enum  ompt_callbacks_t {
  ompt_callback_thread_begin = 1 , ompt_callback_thread_end = 2 , ompt_callback_parallel_begin = 3 , ompt_callback_parallel_end = 4 ,
  ompt_callback_task_create = 5 , ompt_callback_task_schedule = 6 , ompt_callback_implicit_task = 7 , ompt_callback_target = 8 ,
  ompt_callback_target_data_op = 9 , ompt_callback_target_submit = 10 , ompt_callback_control_tool = 11 , ompt_callback_device_initialize = 12 ,
  ompt_callback_device_finalize = 13 , ompt_callback_device_load = 14 , ompt_callback_device_unload = 15 , ompt_callback_sync_region_wait = 16 ,
  ompt_callback_mutex_released = 17 , ompt_callback_dependences = 18 , ompt_callback_task_dependence = 19 , ompt_callback_work = 20 ,
  ompt_callback_master = 21 , ompt_callback_target_map = 22 , ompt_callback_sync_region = 23 , ompt_callback_lock_init = 24 ,
  ompt_callback_lock_destroy = 25 , ompt_callback_mutex_acquire = 26 , ompt_callback_mutex_acquired = 27 , ompt_callback_nest_lock = 28 ,
  ompt_callback_flush = 29 , ompt_callback_cancel = 30 , ompt_callback_reduction = 31 , ompt_callback_dispatch = 32 ,
  ompt_callback_thread_begin = 1 , ompt_callback_thread_end = 2 , ompt_callback_parallel_begin = 3 , ompt_callback_parallel_end = 4 ,
  ompt_callback_task_create = 5 , ompt_callback_task_schedule = 6 , ompt_callback_implicit_task = 7 , ompt_callback_target = 8 ,
  ompt_callback_target_data_op = 9 , ompt_callback_target_submit = 10 , ompt_callback_control_tool = 11 , ompt_callback_device_initialize = 12 ,
  ompt_callback_device_finalize = 13 , ompt_callback_device_load = 14 , ompt_callback_device_unload = 15 , ompt_callback_sync_region_wait = 16 ,
  ompt_callback_mutex_released = 17 , ompt_callback_dependences = 18 , ompt_callback_task_dependence = 19 , ompt_callback_work = 20 ,
  ompt_callback_master = 21 , ompt_callback_target_map = 22 , ompt_callback_sync_region = 23 , ompt_callback_lock_init = 24 ,
  ompt_callback_lock_destroy = 25 , ompt_callback_mutex_acquire = 26 , ompt_callback_mutex_acquired = 27 , ompt_callback_nest_lock = 28 ,
  ompt_callback_flush = 29 , ompt_callback_cancel = 30 , ompt_callback_reduction = 31 , ompt_callback_dispatch = 32
}
 
enum  ompt_record_t {
  ompt_record_ompt = 1 , ompt_record_native = 2 , ompt_record_invalid = 3 , ompt_record_ompt = 1 ,
  ompt_record_native = 2 , ompt_record_invalid = 3
}
 
enum  ompt_record_native_t { ompt_record_native_info = 1 , ompt_record_native_event = 2 , ompt_record_native_info = 1 , ompt_record_native_event = 2 }
 
enum  ompt_set_result_t {
  ompt_set_error = 0 , ompt_set_never = 1 , ompt_set_impossible = 2 , ompt_set_sometimes = 3 ,
  ompt_set_sometimes_paired = 4 , ompt_set_always = 5 , ompt_set_error = 0 , ompt_set_never = 1 ,
  ompt_set_impossible = 2 , ompt_set_sometimes = 3 , ompt_set_sometimes_paired = 4 , ompt_set_always = 5
}
 
enum  ompt_thread_t {
  ompt_thread_initial = 1 , ompt_thread_worker = 2 , ompt_thread_other = 3 , ompt_thread_unknown = 4 ,
  ompt_thread_initial = 1 , ompt_thread_worker = 2 , ompt_thread_other = 3 , ompt_thread_unknown = 4
}
 
enum  ompt_scope_endpoint_t { ompt_scope_begin = 1 , ompt_scope_end = 2 , ompt_scope_begin = 1 , ompt_scope_end = 2 }
 
enum  ompt_dispatch_t { ompt_dispatch_iteration = 1 , ompt_dispatch_section = 2 , ompt_dispatch_iteration = 1 , ompt_dispatch_section = 2 }
 
enum  ompt_sync_region_t {
  ompt_sync_region_barrier = 1 , ompt_sync_region_barrier_implicit = 2 , ompt_sync_region_barrier_explicit = 3 , ompt_sync_region_barrier_implementation = 4 ,
  ompt_sync_region_taskwait = 5 , ompt_sync_region_taskgroup = 6 , ompt_sync_region_reduction = 7 , ompt_sync_region_barrier = 1 ,
  ompt_sync_region_barrier_implicit = 2 , ompt_sync_region_barrier_explicit = 3 , ompt_sync_region_barrier_implementation = 4 , ompt_sync_region_taskwait = 5 ,
  ompt_sync_region_taskgroup = 6 , ompt_sync_region_reduction = 7
}
 
enum  ompt_target_data_op_t {
  ompt_target_data_alloc = 1 , ompt_target_data_transfer_to_device = 2 , ompt_target_data_transfer_from_device = 3 , ompt_target_data_delete = 4 ,
  ompt_target_data_associate = 5 , ompt_target_data_disassociate = 6 , ompt_target_data_alloc = 1 , ompt_target_data_transfer_to_device = 2 ,
  ompt_target_data_transfer_from_device = 3 , ompt_target_data_delete = 4 , ompt_target_data_associate = 5 , ompt_target_data_disassociate = 6
}
 
enum  ompt_work_t {
  ompt_work_loop = 1 , ompt_work_sections = 2 , ompt_work_single_executor = 3 , ompt_work_single_other = 4 ,
  ompt_work_workshare = 5 , ompt_work_distribute = 6 , ompt_work_taskloop = 7 , ompt_work_loop = 1 ,
  ompt_work_sections = 2 , ompt_work_single_executor = 3 , ompt_work_single_other = 4 , ompt_work_workshare = 5 ,
  ompt_work_distribute = 6 , ompt_work_taskloop = 7
}
 
enum  ompt_mutex_t {
  ompt_mutex_lock = 1 , ompt_mutex_test_lock = 2 , ompt_mutex_nest_lock = 3 , ompt_mutex_test_nest_lock = 4 ,
  ompt_mutex_critical = 5 , ompt_mutex_atomic = 6 , ompt_mutex_ordered = 7 , ompt_mutex_lock = 1 ,
  ompt_mutex_test_lock = 2 , ompt_mutex_nest_lock = 3 , ompt_mutex_test_nest_lock = 4 , ompt_mutex_critical = 5 ,
  ompt_mutex_atomic = 6 , ompt_mutex_ordered = 7
}
 
enum  ompt_native_mon_flag_t {
  ompt_native_data_motion_explicit = 0x01 , ompt_native_data_motion_implicit = 0x02 , ompt_native_kernel_invocation = 0x04 , ompt_native_kernel_execution = 0x08 ,
  ompt_native_driver = 0x10 , ompt_native_runtime = 0x20 , ompt_native_overhead = 0x40 , ompt_native_idleness = 0x80 ,
  ompt_native_data_motion_explicit = 0x01 , ompt_native_data_motion_implicit = 0x02 , ompt_native_kernel_invocation = 0x04 , ompt_native_kernel_execution = 0x08 ,
  ompt_native_driver = 0x10 , ompt_native_runtime = 0x20 , ompt_native_overhead = 0x40 , ompt_native_idleness = 0x80
}
 
enum  ompt_task_flag_t {
  ompt_task_initial = 0x00000001 , ompt_task_implicit = 0x00000002 , ompt_task_explicit = 0x00000004 , ompt_task_target = 0x00000008 ,
  ompt_task_undeferred = 0x08000000 , ompt_task_untied = 0x10000000 , ompt_task_final = 0x20000000 , ompt_task_mergeable = 0x40000000 ,
  ompt_task_merged = 0x80000000 , ompt_task_initial = 0x00000001 , ompt_task_implicit = 0x00000002 , ompt_task_explicit = 0x00000004 ,
  ompt_task_target = 0x00000008 , ompt_task_undeferred = 0x08000000 , ompt_task_untied = 0x10000000 , ompt_task_final = 0x20000000 ,
  ompt_task_mergeable = 0x40000000 , ompt_task_merged = 0x80000000
}
 
enum  ompt_task_status_t {
  ompt_task_complete = 1 , ompt_task_yield = 2 , ompt_task_cancel = 3 , ompt_task_detach = 4 ,
  ompt_task_early_fulfill = 5 , ompt_task_late_fulfill = 6 , ompt_task_switch = 7 , ompt_task_complete = 1 ,
  ompt_task_yield = 2 , ompt_task_cancel = 3 , ompt_task_detach = 4 , ompt_task_early_fulfill = 5 ,
  ompt_task_late_fulfill = 6 , ompt_task_switch = 7
}
 
enum  ompt_target_t {
  ompt_target = 1 , ompt_target_enter_data = 2 , ompt_target_exit_data = 3 , ompt_target_update = 4 ,
  ompt_target = 1 , ompt_target_enter_data = 2 , ompt_target_exit_data = 3 , ompt_target_update = 4
}
 
enum  ompt_parallel_flag_t {
  ompt_parallel_invoker_program = 0x00000001 , ompt_parallel_invoker_runtime = 0x00000002 , ompt_parallel_league = 0x40000000 , ompt_parallel_team = 0x80000000 ,
  ompt_parallel_invoker_program = 0x00000001 , ompt_parallel_invoker_runtime = 0x00000002 , ompt_parallel_league = 0x40000000 , ompt_parallel_team = 0x80000000
}
 
enum  ompt_target_map_flag_t {
  ompt_target_map_flag_to = 0x01 , ompt_target_map_flag_from = 0x02 , ompt_target_map_flag_alloc = 0x04 , ompt_target_map_flag_release = 0x08 ,
  ompt_target_map_flag_delete = 0x10 , ompt_target_map_flag_implicit = 0x20 , ompt_target_map_flag_to = 0x01 , ompt_target_map_flag_from = 0x02 ,
  ompt_target_map_flag_alloc = 0x04 , ompt_target_map_flag_release = 0x08 , ompt_target_map_flag_delete = 0x10 , ompt_target_map_flag_implicit = 0x20
}
 
enum  ompt_dependence_type_t {
  ompt_dependence_type_in = 1 , ompt_dependence_type_out = 2 , ompt_dependence_type_inout = 3 , ompt_dependence_type_mutexinoutset = 4 ,
  ompt_dependence_type_source = 5 , ompt_dependence_type_sink = 6 , ompt_dependence_type_in = 1 , ompt_dependence_type_out = 2 ,
  ompt_dependence_type_inout = 3 , ompt_dependence_type_mutexinoutset = 4 , ompt_dependence_type_source = 5 , ompt_dependence_type_sink = 6
}
 
enum  ompt_cancel_flag_t {
  ompt_cancel_parallel = 0x01 , ompt_cancel_sections = 0x02 , ompt_cancel_loop = 0x04 , ompt_cancel_taskgroup = 0x08 ,
  ompt_cancel_activated = 0x10 , ompt_cancel_detected = 0x20 , ompt_cancel_discarded_task = 0x40 , ompt_cancel_parallel = 0x01 ,
  ompt_cancel_sections = 0x02 , ompt_cancel_loop = 0x04 , ompt_cancel_taskgroup = 0x08 , ompt_cancel_activated = 0x10 ,
  ompt_cancel_detected = 0x20 , ompt_cancel_discarded_task = 0x40
}
 
enum  ompt_frame_flag_t {
  ompt_frame_runtime = 0x00 , ompt_frame_application = 0x01 , ompt_frame_cfa = 0x10 , ompt_frame_framepointer = 0x20 ,
  ompt_frame_stackaddress = 0x30 , ompt_frame_runtime = 0x00 , ompt_frame_application = 0x01 , ompt_frame_cfa = 0x10 ,
  ompt_frame_framepointer = 0x20 , ompt_frame_stackaddress = 0x30
}
 
enum  ompt_state_t {
  ompt_state_work_serial = 0x000 , ompt_state_work_parallel = 0x001 , ompt_state_work_reduction = 0x002 , ompt_state_wait_barrier = 0x010 ,
  ompt_state_wait_barrier_implicit_parallel = 0x011 , ompt_state_wait_barrier_implicit_workshare = 0x012 , ompt_state_wait_barrier_implicit = 0x013 , ompt_state_wait_barrier_explicit = 0x014 ,
  ompt_state_wait_taskwait = 0x020 , ompt_state_wait_taskgroup = 0x021 , ompt_state_wait_mutex = 0x040 , ompt_state_wait_lock = 0x041 ,
  ompt_state_wait_critical = 0x042 , ompt_state_wait_atomic = 0x043 , ompt_state_wait_ordered = 0x044 , ompt_state_wait_target = 0x080 ,
  ompt_state_wait_target_map = 0x081 , ompt_state_wait_target_update = 0x082 , ompt_state_idle = 0x100 , ompt_state_overhead = 0x101 ,
  ompt_state_undefined = 0x102 , ompt_state_work_serial = 0x000 , ompt_state_work_parallel = 0x001 , ompt_state_work_reduction = 0x002 ,
  ompt_state_wait_barrier = 0x010 , ompt_state_wait_barrier_implicit_parallel = 0x011 , ompt_state_wait_barrier_implicit_workshare = 0x012 , ompt_state_wait_barrier_implicit = 0x013 ,
  ompt_state_wait_barrier_explicit = 0x014 , ompt_state_wait_taskwait = 0x020 , ompt_state_wait_taskgroup = 0x021 , ompt_state_wait_mutex = 0x040 ,
  ompt_state_wait_lock = 0x041 , ompt_state_wait_critical = 0x042 , ompt_state_wait_atomic = 0x043 , ompt_state_wait_ordered = 0x044 ,
  ompt_state_wait_target = 0x080 , ompt_state_wait_target_map = 0x081 , ompt_state_wait_target_update = 0x082 , ompt_state_idle = 0x100 ,
  ompt_state_overhead = 0x101 , ompt_state_undefined = 0x102
}
 
enum  ompd_scope_t {
  ompd_scope_global = 1 , ompd_scope_address_space = 2 , ompd_scope_thread = 3 , ompd_scope_parallel = 4 ,
  ompd_scope_implicit_task = 5 , ompd_scope_task = 6 , ompd_scope_global = 1 , ompd_scope_address_space = 2 ,
  ompd_scope_thread = 3 , ompd_scope_parallel = 4 , ompd_scope_implicit_task = 5 , ompd_scope_task = 6
}
 
enum  ompd_rc_t {
  ompd_rc_ok = 0 , ompd_rc_unavailable = 1 , ompd_rc_stale_handle = 2 , ompd_rc_bad_input = 3 ,
  ompd_rc_error = 4 , ompd_rc_unsupported = 5 , ompd_rc_needs_state_tracking = 6 , ompd_rc_incompatible = 7 ,
  ompd_rc_device_read_error = 8 , ompd_rc_device_write_error = 9 , ompd_rc_nomem = 10 , ompd_rc_ok = 0 ,
  ompd_rc_unavailable = 1 , ompd_rc_stale_handle = 2 , ompd_rc_bad_input = 3 , ompd_rc_error = 4 ,
  ompd_rc_unsupported = 5 , ompd_rc_needs_state_tracking = 6 , ompd_rc_incompatible = 7 , ompd_rc_device_read_error = 8 ,
  ompd_rc_device_write_error = 9 , ompd_rc_nomem = 10
}
 

Macro Definition Documentation

◆ FOREACH_KMP_MUTEX_IMPL

#define FOREACH_KMP_MUTEX_IMPL (   macro)
Value:
macro (kmp_mutex_impl_none, 0) /* unknown implementation */ \
macro (kmp_mutex_impl_spin, 1) /* based on spin */ \
macro (kmp_mutex_impl_queuing, 2) /* based on some fair policy */ \
macro (kmp_mutex_impl_speculative, 3) /* based on HW-supported speculation */

Definition at line 95 of file ompt.h.

◆ FOREACH_OMPT_EVENT

#define FOREACH_OMPT_EVENT (   macro)

Definition at line 101 of file ompt.h.

◆ FOREACH_OMPT_INQUIRY_FN

#define FOREACH_OMPT_INQUIRY_FN (   macro)
Value:
macro (ompt_enumerate_states) \
macro (ompt_enumerate_mutex_impls) \
\
macro (ompt_set_callback) \
macro (ompt_get_callback) \
\
macro (ompt_get_state) \
\
macro (ompt_get_parallel_info) \
macro (ompt_get_task_info) \
macro (ompt_get_task_memory) \
macro (ompt_get_thread_data) \
macro (ompt_get_unique_id) \
macro (ompt_finalize_tool) \
\
macro(ompt_get_num_procs) \
macro(ompt_get_num_places) \
macro(ompt_get_place_proc_ids) \
macro(ompt_get_place_num) \
macro(ompt_get_partition_place_nums) \
macro(ompt_get_proc_id) \
\
macro(ompt_get_target_info) \
macro(ompt_get_num_devices)

Definition at line 27 of file ompt.h.

◆ FOREACH_OMPT_STATE

#define FOREACH_OMPT_STATE (   macro)

Definition at line 53 of file ompt.h.

◆ kmp_mutex_impl_macro

#define kmp_mutex_impl_macro (   impl,
  code 
)    impl = code,

Definition at line 163 of file ompt.h.

◆ ompd_segment_none

#define ompd_segment_none   0

Definition at line 1080 of file ompt.h.

◆ ompt_addr_none

#define ompt_addr_none   ~0

Definition at line 1076 of file ompt.h.

◆ ompt_data_none

#define ompt_data_none   {0}

Definition at line 1073 of file ompt.h.

◆ ompt_hwid_none

#define ompt_hwid_none   0

Definition at line 1075 of file ompt.h.

◆ ompt_id_none

#define ompt_id_none   0

Definition at line 1072 of file ompt.h.

◆ ompt_mutex_impl_none

#define ompt_mutex_impl_none   0

Definition at line 1077 of file ompt.h.

◆ ompt_time_none

#define ompt_time_none   0

Definition at line 1074 of file ompt.h.

◆ ompt_wait_id_none

#define ompt_wait_id_none   0

Definition at line 1078 of file ompt.h.

Typedef Documentation

◆ kmp_mutex_impl_t

◆ ompd_addr_t

Definition at line 411 of file ompt.h.

◆ ompd_address_space_context_t

typedef struct _ompd_aspace_cont ompd_address_space_context_t

Definition at line 996 of file ompt.h.

◆ ompd_address_space_handle_t

typedef struct _ompd_aspace_handle ompd_address_space_handle_t

Definition at line 996 of file ompt.h.

◆ ompd_address_t

◆ ompd_device_t

Definition at line 415 of file ompt.h.

◆ ompd_device_type_sizes_t

◆ ompd_frame_info_t

◆ ompd_icv_id_t

Definition at line 428 of file ompt.h.

◆ ompd_parallel_handle_t

typedef struct _ompd_parallel_handle ompd_parallel_handle_t

Definition at line 996 of file ompt.h.

◆ ompd_rc_t

typedef enum ompd_rc_t ompd_rc_t

◆ ompd_scope_t

typedef enum ompd_scope_t ompd_scope_t

◆ ompd_seg_t

Definition at line 413 of file ompt.h.

◆ ompd_size_t

Definition at line 407 of file ompt.h.

◆ ompd_task_handle_t

typedef struct _ompd_task_handle ompd_task_handle_t

Definition at line 996 of file ompt.h.

◆ ompd_thread_context_t

typedef struct _ompd_thread_cont ompd_thread_context_t

Definition at line 996 of file ompt.h.

◆ ompd_thread_handle_t

typedef struct _ompd_thread_handle ompd_thread_handle_t

Definition at line 996 of file ompt.h.

◆ ompd_thread_id_t

Definition at line 417 of file ompt.h.

◆ ompd_wait_id_t

Definition at line 409 of file ompt.h.

◆ ompd_word_t

typedef int64_t ompd_word_t

Definition at line 412 of file ompt.h.

◆ ompt_advance_buffer_cursor_t

typedef int(* ompt_advance_buffer_cursor_t) (ompt_device_t *device, ompt_buffer_t *buffer, size_t size, ompt_buffer_cursor_t current, ompt_buffer_cursor_t *next)

Definition at line 633 of file ompt.h.

◆ ompt_buffer_cursor_t

Definition at line 231 of file ompt.h.

◆ ompt_buffer_t

typedef void ompt_buffer_t

Definition at line 466 of file ompt.h.

◆ ompt_callback_buffer_complete_t

typedef void(* ompt_callback_buffer_complete_t) (int device_num, ompt_buffer_t *buffer, size_t bytes, ompt_buffer_cursor_t begin, int buffer_owned)

Definition at line 474 of file ompt.h.

◆ ompt_callback_buffer_request_t

typedef void(* ompt_callback_buffer_request_t) (int device_num, ompt_buffer_t **buffer, size_t *bytes)

Definition at line 468 of file ompt.h.

◆ ompt_callback_cancel_t

typedef void(* ompt_callback_cancel_t) (ompt_data_t *task_data, int flags, const void *codeptr_ra)

Definition at line 881 of file ompt.h.

◆ ompt_callback_control_tool_t

typedef int(* ompt_callback_control_tool_t) (uint64_t command, uint64_t modifier, void *arg, const void *codeptr_ra)

Definition at line 996 of file ompt.h.

◆ ompt_callback_dependences_t

typedef void(* ompt_callback_dependences_t) (ompt_data_t *task_data, const ompt_dependence_t *deps, int ndeps)

Definition at line 750 of file ompt.h.

◆ ompt_callback_device_finalize_t

typedef void(* ompt_callback_device_finalize_t) (int device_num)

Definition at line 901 of file ompt.h.

◆ ompt_callback_device_initialize_t

typedef void(* ompt_callback_device_initialize_t) (int device_num, const char *type, ompt_device_t *device, ompt_function_lookup_t lookup, const char *documentation)

Definition at line 893 of file ompt.h.

◆ ompt_callback_device_load_t

typedef void(* ompt_callback_device_load_t) (int device_num, const char *filename, int64_t offset_in_file, void *vma_in_file, size_t bytes, void *host_addr, void *device_addr, uint64_t module_id)

Definition at line 905 of file ompt.h.

◆ ompt_callback_device_unload_t

typedef void(* ompt_callback_device_unload_t) (int device_num, uint64_t module_id)

Definition at line 916 of file ompt.h.

◆ ompt_callback_dispatch_t

typedef void(* ompt_callback_dispatch_t) (ompt_data_t *parallel_data, ompt_data_t *task_data, ompt_dispatch_t kind, ompt_data_t instance)

Definition at line 719 of file ompt.h.

◆ ompt_callback_flush_t

typedef void(* ompt_callback_flush_t) (ompt_data_t *thread_data, const void *codeptr_ra)

Definition at line 872 of file ompt.h.

◆ ompt_callback_implicit_task_t

typedef void(* ompt_callback_implicit_task_t) (ompt_scope_endpoint_t endpoint, ompt_data_t *parallel_data, ompt_data_t *task_data, unsigned int actual_parallelism, unsigned int index, int flags)

Definition at line 784 of file ompt.h.

◆ ompt_callback_master_t

typedef void(* ompt_callback_master_t) (ompt_scope_endpoint_t endpoint, ompt_data_t *parallel_data, ompt_data_t *task_data, const void *codeptr_ra)

Definition at line 802 of file ompt.h.

◆ ompt_callback_mutex_acquire_t

typedef void(* ompt_callback_mutex_acquire_t) (ompt_mutex_t kind, unsigned int hint, unsigned int impl, ompt_wait_id_t wait_id, const void *codeptr_ra)

Definition at line 832 of file ompt.h.

◆ ompt_callback_mutex_t

typedef void(* ompt_callback_mutex_t) (ompt_mutex_t kind, ompt_wait_id_t wait_id, const void *codeptr_ra)

Definition at line 848 of file ompt.h.

◆ ompt_callback_nest_lock_t

typedef void(* ompt_callback_nest_lock_t) (ompt_scope_endpoint_t endpoint, ompt_wait_id_t wait_id, const void *codeptr_ra)

Definition at line 860 of file ompt.h.

◆ ompt_callback_parallel_begin_t

typedef void(* ompt_callback_parallel_begin_t) (ompt_data_t *encountering_task_data, const ompt_frame_t *encountering_task_frame, ompt_data_t *parallel_data, unsigned int requested_parallelism, int flags, const void *codeptr_ra)

Definition at line 670 of file ompt.h.

◆ ompt_callback_parallel_end_t

typedef void(* ompt_callback_parallel_end_t) (ompt_data_t *parallel_data, ompt_data_t *encountering_task_data, int flags, const void *codeptr_ra)

Definition at line 687 of file ompt.h.

◆ ompt_callback_sync_region_t

typedef void(* ompt_callback_sync_region_t) (ompt_sync_region_t kind, ompt_scope_endpoint_t endpoint, ompt_data_t *parallel_data, ompt_data_t *task_data, const void *codeptr_ra)

Definition at line 816 of file ompt.h.

◆ ompt_callback_t

typedef void(* ompt_callback_t) (void)

Definition at line 462 of file ompt.h.

◆ ompt_callback_target_data_op_t

typedef void(* ompt_callback_target_data_op_t) (ompt_id_t target_id, ompt_id_t host_op_id, ompt_target_data_op_t optype, void *src_addr, int src_device_num, void *dest_addr, int dest_device_num, size_t bytes, const void *codeptr_ra)

Definition at line 921 of file ompt.h.

◆ ompt_callback_target_map_t

typedef void(* ompt_callback_target_map_t) (ompt_id_t target_id, unsigned int nitems, void **host_addr, void **device_addr, size_t *bytes, unsigned int *mapping_flags, const void *codeptr_ra)

Definition at line 963 of file ompt.h.

◆ ompt_callback_target_submit_t

typedef void(* ompt_callback_target_submit_t) (ompt_id_t target_id, ompt_id_t host_op_id, unsigned int requested_num_teams)

Definition at line 983 of file ompt.h.

◆ ompt_callback_target_t

typedef void(* ompt_callback_target_t) (ompt_target_t kind, ompt_scope_endpoint_t endpoint, int device_num, ompt_data_t *task_data, ompt_id_t target_id, const void *codeptr_ra)

Definition at line 945 of file ompt.h.

◆ ompt_callback_task_create_t

typedef void(* ompt_callback_task_create_t) (ompt_data_t *encountering_task_data, const ompt_frame_t *encountering_task_frame, ompt_data_t *new_task_data, int flags, int has_dependences, const void *codeptr_ra)

Definition at line 733 of file ompt.h.

◆ ompt_callback_task_dependence_t

typedef void(* ompt_callback_task_dependence_t) (ompt_data_t *src_task_data, ompt_data_t *sink_task_data)

Definition at line 762 of file ompt.h.

◆ ompt_callback_task_schedule_t

typedef void(* ompt_callback_task_schedule_t) (ompt_data_t *prior_task_data, ompt_task_status_t prior_task_status, ompt_data_t *next_task_data)

Definition at line 772 of file ompt.h.

◆ ompt_callback_thread_begin_t

typedef void(* ompt_callback_thread_begin_t) (ompt_thread_t thread_type, ompt_data_t *thread_data)

Definition at line 657 of file ompt.h.

◆ ompt_callback_thread_end_t

typedef void(* ompt_callback_thread_end_t) (ompt_data_t *thread_data)

Definition at line 666 of file ompt.h.

◆ ompt_callback_work_t

typedef void(* ompt_callback_work_t) (ompt_work_t wstype, ompt_scope_endpoint_t endpoint, ompt_data_t *parallel_data, ompt_data_t *task_data, uint64_t count, const void *codeptr_ra)

Definition at line 701 of file ompt.h.

◆ ompt_callbacks_t

◆ ompt_cancel_flag_t

◆ ompt_data_t

typedef union ompt_data_t ompt_data_t

◆ ompt_dependence_t

◆ ompt_dependence_type_t

◆ ompt_device_t

typedef void ompt_device_t

Definition at line 464 of file ompt.h.

◆ ompt_device_time_t

Definition at line 229 of file ompt.h.

◆ ompt_dispatch_t

◆ ompt_enumerate_mutex_impls_t

typedef int(* ompt_enumerate_mutex_impls_t) (int current_impl, int *next_impl, const char **next_impl_name)

Definition at line 517 of file ompt.h.

◆ ompt_enumerate_states_t

typedef int(* ompt_enumerate_states_t) (int current_state, int *next_state, const char **next_state_name)

Definition at line 511 of file ompt.h.

◆ ompt_finalize_t

typedef void(* ompt_finalize_t) (ompt_data_t *tool_data)

Definition at line 482 of file ompt.h.

◆ ompt_finalize_tool_t

typedef void(* ompt_finalize_tool_t) (void)

Definition at line 587 of file ompt.h.

◆ ompt_flush_trace_t

typedef int(* ompt_flush_trace_t) (ompt_device_t *device)

Definition at line 625 of file ompt.h.

◆ ompt_frame_flag_t

◆ ompt_frame_t

typedef struct ompt_frame_t ompt_frame_t

◆ ompt_function_lookup_t

typedef ompt_interface_fn_t(* ompt_function_lookup_t) (const char *interface_function_name)

Definition at line 446 of file ompt.h.

◆ ompt_get_callback_t

typedef int(* ompt_get_callback_t) (ompt_callbacks_t event, ompt_callback_t *callback)

Definition at line 528 of file ompt.h.

◆ ompt_get_device_num_procs_t

typedef int(* ompt_get_device_num_procs_t) (ompt_device_t *device)

Definition at line 589 of file ompt.h.

◆ ompt_get_device_time_t

typedef ompt_device_time_t(* ompt_get_device_time_t) (ompt_device_t *device)

Definition at line 593 of file ompt.h.

◆ ompt_get_num_devices_t

typedef int(* ompt_get_num_devices_t) (void)

Definition at line 585 of file ompt.h.

◆ ompt_get_num_places_t

typedef int(* ompt_get_num_places_t) (void)

Definition at line 537 of file ompt.h.

◆ ompt_get_num_procs_t

typedef int(* ompt_get_num_procs_t) (void)

Definition at line 535 of file ompt.h.

◆ ompt_get_parallel_info_t

typedef int(* ompt_get_parallel_info_t) (int ancestor_level, ompt_data_t **parallel_data, int *team_size)

Definition at line 558 of file ompt.h.

◆ ompt_get_partition_place_nums_t

typedef int(* ompt_get_partition_place_nums_t) (int place_nums_size, int *place_nums)

Definition at line 547 of file ompt.h.

◆ ompt_get_place_num_t

typedef int(* ompt_get_place_num_t) (void)

Definition at line 545 of file ompt.h.

◆ ompt_get_place_proc_ids_t

typedef int(* ompt_get_place_proc_ids_t) (int place_num, int ids_size, int *ids)

Definition at line 539 of file ompt.h.

◆ ompt_get_proc_id_t

typedef int(* ompt_get_proc_id_t) (void)

Definition at line 552 of file ompt.h.

◆ ompt_get_record_abstract_t

typedef ompt_record_abstract_t*(* ompt_get_record_abstract_t) (void *native_record)

Definition at line 652 of file ompt.h.

◆ ompt_get_record_native_t

typedef void*(* ompt_get_record_native_t) (ompt_buffer_t *buffer, ompt_buffer_cursor_t current, ompt_id_t *host_op_id)

Definition at line 646 of file ompt.h.

◆ ompt_get_record_ompt_t

typedef ompt_record_ompt_t*(* ompt_get_record_ompt_t) (ompt_buffer_t *buffer, ompt_buffer_cursor_t current)

Definition at line 1067 of file ompt.h.

◆ ompt_get_record_type_t

typedef ompt_record_t(* ompt_get_record_type_t) (ompt_buffer_t *buffer, ompt_buffer_cursor_t current)

Definition at line 641 of file ompt.h.

◆ ompt_get_state_t

typedef int(* ompt_get_state_t) (ompt_wait_id_t *wait_id)

Definition at line 554 of file ompt.h.

◆ ompt_get_target_info_t

typedef int(* ompt_get_target_info_t) (uint64_t *device_num, ompt_id_t *target_id, ompt_id_t *host_op_id)

Definition at line 579 of file ompt.h.

◆ ompt_get_task_info_t

typedef int(* ompt_get_task_info_t) (int ancestor_level, int *flags, ompt_data_t **task_data, ompt_frame_t **task_frame, ompt_data_t **parallel_data, int *thread_num)

Definition at line 564 of file ompt.h.

◆ ompt_get_task_memory_t

typedef int(* ompt_get_task_memory_t) (void **addr, size_t *size, int block)

Definition at line 573 of file ompt.h.

◆ ompt_get_thread_data_t

typedef ompt_data_t*(* ompt_get_thread_data_t) (void)

Definition at line 533 of file ompt.h.

◆ ompt_get_unique_id_t

typedef uint64_t(* ompt_get_unique_id_t) (void)

Definition at line 405 of file ompt.h.

◆ ompt_hwid_t

Definition at line 364 of file ompt.h.

◆ ompt_id_t

Definition at line 227 of file ompt.h.

◆ ompt_initialize_t

typedef int(* ompt_initialize_t) (ompt_function_lookup_t lookup, int initial_device_num, ompt_data_t *tool_data)

Definition at line 486 of file ompt.h.

◆ ompt_interface_fn_t

typedef void(* ompt_interface_fn_t) (void)

Definition at line 444 of file ompt.h.

◆ ompt_mutex_t

typedef enum ompt_mutex_t ompt_mutex_t

◆ ompt_native_mon_flag_t

◆ ompt_parallel_flag_t

◆ ompt_pause_trace_t

typedef int(* ompt_pause_trace_t) (ompt_device_t *device, int begin_pause)

Definition at line 620 of file ompt.h.

◆ ompt_record_abstract_t

◆ ompt_record_cancel_t

◆ ompt_record_control_tool_t

◆ ompt_record_dependences_t

◆ ompt_record_dispatch_t

◆ ompt_record_flush_t

◆ ompt_record_implicit_task_t

◆ ompt_record_master_t

◆ ompt_record_mutex_acquire_t

◆ ompt_record_mutex_t

◆ ompt_record_native_t

◆ ompt_record_nest_lock_t

◆ ompt_record_ompt_t

◆ ompt_record_parallel_begin_t

◆ ompt_record_parallel_end_t

◆ ompt_record_sync_region_t

◆ ompt_record_t

◆ ompt_record_target_data_op_t

◆ ompt_record_target_kernel_t

◆ ompt_record_target_map_t

◆ ompt_record_target_t

◆ ompt_record_task_create_t

◆ ompt_record_task_dependence_t

◆ ompt_record_task_schedule_t

◆ ompt_record_thread_begin_t

◆ ompt_record_work_t

◆ ompt_scope_endpoint_t

◆ ompt_set_callback_t

typedef ompt_set_result_t(* ompt_set_callback_t) (ompt_callbacks_t event, ompt_callback_t callback)

Definition at line 523 of file ompt.h.

◆ ompt_set_result_t

◆ ompt_set_trace_native_t

typedef ompt_set_result_t(* ompt_set_trace_native_t) (ompt_device_t *device, int enable, int flags)

Definition at line 608 of file ompt.h.

◆ ompt_set_trace_ompt_t

typedef ompt_set_result_t(* ompt_set_trace_ompt_t) (ompt_device_t *device, unsigned int enable, unsigned int etype)

Definition at line 602 of file ompt.h.

◆ ompt_start_tool_result_t

◆ ompt_start_trace_t

typedef int(* ompt_start_trace_t) (ompt_device_t *device, ompt_callback_buffer_request_t request, ompt_callback_buffer_complete_t complete)

Definition at line 614 of file ompt.h.

◆ ompt_state_t

typedef enum ompt_state_t ompt_state_t

◆ ompt_stop_trace_t

typedef int(* ompt_stop_trace_t) (ompt_device_t *device)

Definition at line 629 of file ompt.h.

◆ ompt_sync_region_t

◆ ompt_target_data_op_t

◆ ompt_target_map_flag_t

◆ ompt_target_t

◆ ompt_task_flag_t

◆ ompt_task_status_t

◆ ompt_thread_t

◆ ompt_translate_time_t

typedef double(* ompt_translate_time_t) (ompt_device_t *device, ompt_device_time_t time)

Definition at line 597 of file ompt.h.

◆ ompt_wait_id_t

Definition at line 366 of file ompt.h.

◆ ompt_work_t

typedef enum ompt_work_t ompt_work_t

Enumeration Type Documentation

◆ kmp_mutex_impl_t

Definition at line 162 of file ompt.h.

◆ ompd_rc_t

enum ompd_rc_t
Enumerator
ompd_rc_ok 
ompd_rc_unavailable 
ompd_rc_stale_handle 
ompd_rc_bad_input 
ompd_rc_error 
ompd_rc_unsupported 
ompd_rc_needs_state_tracking 
ompd_rc_incompatible 
ompd_rc_device_read_error 
ompd_rc_device_write_error 
ompd_rc_nomem 
ompd_rc_ok 
ompd_rc_unavailable 
ompd_rc_stale_handle 
ompd_rc_bad_input 
ompd_rc_error 
ompd_rc_unsupported 
ompd_rc_needs_state_tracking 
ompd_rc_incompatible 
ompd_rc_device_read_error 
ompd_rc_device_write_error 
ompd_rc_nomem 

Definition at line 430 of file ompt.h.

◆ ompd_scope_t

Enumerator
ompd_scope_global 
ompd_scope_address_space 
ompd_scope_thread 
ompd_scope_parallel 
ompd_scope_implicit_task 
ompd_scope_task 
ompd_scope_global 
ompd_scope_address_space 
ompd_scope_thread 
ompd_scope_parallel 
ompd_scope_implicit_task 
ompd_scope_task 

Definition at line 419 of file ompt.h.

◆ ompt_callbacks_t

Enumerator
ompt_callback_thread_begin 
ompt_callback_thread_end 
ompt_callback_parallel_begin 
ompt_callback_parallel_end 
ompt_callback_task_create 
ompt_callback_task_schedule 
ompt_callback_implicit_task 
ompt_callback_target 
ompt_callback_target_data_op 
ompt_callback_target_submit 
ompt_callback_control_tool 
ompt_callback_device_initialize 
ompt_callback_device_finalize 
ompt_callback_device_load 
ompt_callback_device_unload 
ompt_callback_sync_region_wait 
ompt_callback_mutex_released 
ompt_callback_dependences 
ompt_callback_task_dependence 
ompt_callback_work 
ompt_callback_master 
ompt_callback_target_map 
ompt_callback_sync_region 
ompt_callback_lock_init 
ompt_callback_lock_destroy 
ompt_callback_mutex_acquire 
ompt_callback_mutex_acquired 
ompt_callback_nest_lock 
ompt_callback_flush 
ompt_callback_cancel 
ompt_callback_reduction 
ompt_callback_dispatch 
ompt_callback_thread_begin 
ompt_callback_thread_end 
ompt_callback_parallel_begin 
ompt_callback_parallel_end 
ompt_callback_task_create 
ompt_callback_task_schedule 
ompt_callback_implicit_task 
ompt_callback_target 
ompt_callback_target_data_op 
ompt_callback_target_submit 
ompt_callback_control_tool 
ompt_callback_device_initialize 
ompt_callback_device_finalize 
ompt_callback_device_load 
ompt_callback_device_unload 
ompt_callback_sync_region_wait 
ompt_callback_mutex_released 
ompt_callback_dependences 
ompt_callback_task_dependence 
ompt_callback_work 
ompt_callback_master 
ompt_callback_target_map 
ompt_callback_sync_region 
ompt_callback_lock_init 
ompt_callback_lock_destroy 
ompt_callback_mutex_acquire 
ompt_callback_mutex_acquired 
ompt_callback_nest_lock 
ompt_callback_flush 
ompt_callback_cancel 
ompt_callback_reduction 
ompt_callback_dispatch 

Definition at line 172 of file ompt.h.

◆ ompt_cancel_flag_t

Enumerator
ompt_cancel_parallel 
ompt_cancel_sections 
ompt_cancel_loop 
ompt_cancel_taskgroup 
ompt_cancel_activated 
ompt_cancel_detected 
ompt_cancel_discarded_task 
ompt_cancel_parallel 
ompt_cancel_sections 
ompt_cancel_loop 
ompt_cancel_taskgroup 
ompt_cancel_activated 
ompt_cancel_detected 
ompt_cancel_discarded_task 

Definition at line 354 of file ompt.h.

◆ ompt_dependence_type_t

Enumerator
ompt_dependence_type_in 
ompt_dependence_type_out 
ompt_dependence_type_inout 
ompt_dependence_type_mutexinoutset 
ompt_dependence_type_source 
ompt_dependence_type_sink 
ompt_dependence_type_in 
ompt_dependence_type_out 
ompt_dependence_type_inout 
ompt_dependence_type_mutexinoutset 
ompt_dependence_type_source 
ompt_dependence_type_sink 

Definition at line 345 of file ompt.h.

◆ ompt_dispatch_t

Enumerator
ompt_dispatch_iteration 
ompt_dispatch_section 
ompt_dispatch_iteration 
ompt_dispatch_section 

Definition at line 245 of file ompt.h.

◆ ompt_frame_flag_t

Enumerator
ompt_frame_runtime 
ompt_frame_application 
ompt_frame_cfa 
ompt_frame_framepointer 
ompt_frame_stackaddress 
ompt_frame_runtime 
ompt_frame_application 
ompt_frame_cfa 
ompt_frame_framepointer 
ompt_frame_stackaddress 

Definition at line 368 of file ompt.h.

◆ ompt_mutex_t

Enumerator
ompt_mutex_lock 
ompt_mutex_test_lock 
ompt_mutex_nest_lock 
ompt_mutex_test_nest_lock 
ompt_mutex_critical 
ompt_mutex_atomic 
ompt_mutex_ordered 
ompt_mutex_lock 
ompt_mutex_test_lock 
ompt_mutex_nest_lock 
ompt_mutex_test_nest_lock 
ompt_mutex_critical 
ompt_mutex_atomic 
ompt_mutex_ordered 

Definition at line 279 of file ompt.h.

◆ ompt_native_mon_flag_t

Enumerator
ompt_native_data_motion_explicit 
ompt_native_data_motion_implicit 
ompt_native_kernel_invocation 
ompt_native_kernel_execution 
ompt_native_driver 
ompt_native_runtime 
ompt_native_overhead 
ompt_native_idleness 
ompt_native_data_motion_explicit 
ompt_native_data_motion_implicit 
ompt_native_kernel_invocation 
ompt_native_kernel_execution 
ompt_native_driver 
ompt_native_runtime 
ompt_native_overhead 
ompt_native_idleness 

Definition at line 289 of file ompt.h.

◆ ompt_parallel_flag_t

Enumerator
ompt_parallel_invoker_program 
ompt_parallel_invoker_runtime 
ompt_parallel_league 
ompt_parallel_team 
ompt_parallel_invoker_program 
ompt_parallel_invoker_runtime 
ompt_parallel_league 
ompt_parallel_team 

Definition at line 329 of file ompt.h.

◆ ompt_record_native_t

Enumerator
ompt_record_native_info 
ompt_record_native_event 
ompt_record_native_info 
ompt_record_native_event 

Definition at line 213 of file ompt.h.

◆ ompt_record_t

Enumerator
ompt_record_ompt 
ompt_record_native 
ompt_record_invalid 
ompt_record_ompt 
ompt_record_native 
ompt_record_invalid 

Definition at line 207 of file ompt.h.

◆ ompt_scope_endpoint_t

Enumerator
ompt_scope_begin 
ompt_scope_end 
ompt_scope_begin 
ompt_scope_end 

Definition at line 240 of file ompt.h.

◆ ompt_set_result_t

Enumerator
ompt_set_error 
ompt_set_never 
ompt_set_impossible 
ompt_set_sometimes 
ompt_set_sometimes_paired 
ompt_set_always 
ompt_set_error 
ompt_set_never 
ompt_set_impossible 
ompt_set_sometimes 
ompt_set_sometimes_paired 
ompt_set_always 

Definition at line 218 of file ompt.h.

◆ ompt_state_t

Enumerator
ompt_state_work_serial 
ompt_state_work_parallel 
ompt_state_work_reduction 
ompt_state_wait_barrier 
ompt_state_wait_barrier_implicit_parallel 
ompt_state_wait_barrier_implicit_workshare 
ompt_state_wait_barrier_implicit 
ompt_state_wait_barrier_explicit 
ompt_state_wait_taskwait 
ompt_state_wait_taskgroup 
ompt_state_wait_mutex 
ompt_state_wait_lock 
ompt_state_wait_critical 
ompt_state_wait_atomic 
ompt_state_wait_ordered 
ompt_state_wait_target 
ompt_state_wait_target_map 
ompt_state_wait_target_update 
ompt_state_idle 
ompt_state_overhead 
ompt_state_undefined 
ompt_state_work_serial 
ompt_state_work_parallel 
ompt_state_work_reduction 
ompt_state_wait_barrier 
ompt_state_wait_barrier_implicit_parallel 
ompt_state_wait_barrier_implicit_workshare 
ompt_state_wait_barrier_implicit 
ompt_state_wait_barrier_explicit 
ompt_state_wait_taskwait 
ompt_state_wait_taskgroup 
ompt_state_wait_mutex 
ompt_state_wait_lock 
ompt_state_wait_critical 
ompt_state_wait_atomic 
ompt_state_wait_ordered 
ompt_state_wait_target 
ompt_state_wait_target_map 
ompt_state_wait_target_update 
ompt_state_idle 
ompt_state_overhead 
ompt_state_undefined 

Definition at line 376 of file ompt.h.

◆ ompt_sync_region_t

Enumerator
ompt_sync_region_barrier 
ompt_sync_region_barrier_implicit 
ompt_sync_region_barrier_explicit 
ompt_sync_region_barrier_implementation 
ompt_sync_region_taskwait 
ompt_sync_region_taskgroup 
ompt_sync_region_reduction 
ompt_sync_region_barrier 
ompt_sync_region_barrier_implicit 
ompt_sync_region_barrier_explicit 
ompt_sync_region_barrier_implementation 
ompt_sync_region_taskwait 
ompt_sync_region_taskgroup 
ompt_sync_region_reduction 

Definition at line 250 of file ompt.h.

◆ ompt_target_data_op_t

Enumerator
ompt_target_data_alloc 
ompt_target_data_transfer_to_device 
ompt_target_data_transfer_from_device 
ompt_target_data_delete 
ompt_target_data_associate 
ompt_target_data_disassociate 
ompt_target_data_alloc 
ompt_target_data_transfer_to_device 
ompt_target_data_transfer_from_device 
ompt_target_data_delete 
ompt_target_data_associate 
ompt_target_data_disassociate 

Definition at line 260 of file ompt.h.

◆ ompt_target_map_flag_t

Enumerator
ompt_target_map_flag_to 
ompt_target_map_flag_from 
ompt_target_map_flag_alloc 
ompt_target_map_flag_release 
ompt_target_map_flag_delete 
ompt_target_map_flag_implicit 
ompt_target_map_flag_to 
ompt_target_map_flag_from 
ompt_target_map_flag_alloc 
ompt_target_map_flag_release 
ompt_target_map_flag_delete 
ompt_target_map_flag_implicit 

Definition at line 336 of file ompt.h.

◆ ompt_target_t

Enumerator
ompt_target 
ompt_target_enter_data 
ompt_target_exit_data 
ompt_target_update 
ompt_target 
ompt_target_enter_data 
ompt_target_exit_data 
ompt_target_update 

Definition at line 322 of file ompt.h.

◆ ompt_task_flag_t

Enumerator
ompt_task_initial 
ompt_task_implicit 
ompt_task_explicit 
ompt_task_target 
ompt_task_undeferred 
ompt_task_untied 
ompt_task_final 
ompt_task_mergeable 
ompt_task_merged 
ompt_task_initial 
ompt_task_implicit 
ompt_task_explicit 
ompt_task_target 
ompt_task_undeferred 
ompt_task_untied 
ompt_task_final 
ompt_task_mergeable 
ompt_task_merged 

Definition at line 300 of file ompt.h.

◆ ompt_task_status_t

Enumerator
ompt_task_complete 
ompt_task_yield 
ompt_task_cancel 
ompt_task_detach 
ompt_task_early_fulfill 
ompt_task_late_fulfill 
ompt_task_switch 
ompt_task_complete 
ompt_task_yield 
ompt_task_cancel 
ompt_task_detach 
ompt_task_early_fulfill 
ompt_task_late_fulfill 
ompt_task_switch 

Definition at line 312 of file ompt.h.

◆ ompt_thread_t

Enumerator
ompt_thread_initial 
ompt_thread_worker 
ompt_thread_other 
ompt_thread_unknown 
ompt_thread_initial 
ompt_thread_worker 
ompt_thread_other 
ompt_thread_unknown 

Definition at line 233 of file ompt.h.

◆ ompt_work_t

Enumerator
ompt_work_loop 
ompt_work_sections 
ompt_work_single_executor 
ompt_work_single_other 
ompt_work_workshare 
ompt_work_distribute 
ompt_work_taskloop 
ompt_work_loop 
ompt_work_sections 
ompt_work_single_executor 
ompt_work_single_other 
ompt_work_workshare 
ompt_work_distribute 
ompt_work_taskloop 

Definition at line 269 of file ompt.h.