rocprofiler-sdk/ompt/omp-tools.h File Reference#
Rocprofiler SDK Developer API 0.6.0
ROCm Profiling API and tools
|
#include <stddef.h>
#include <stdint.h>
Go to the source code of this file.
Macros | |
#define | DEPRECATED_51 |
#define | FOREACH_OMPT_INQUIRY_FN(macro) |
#define | FOREACH_OMPT_STATE(macro) |
#define | FOREACH_KMP_MUTEX_IMPL(macro) |
#define | FOREACH_OMPT_HOST_EVENT(macro) |
#define | FOREACH_OMPT_DEVICE_EVENT(macro) |
#define | FOREACH_OMPT_NOEMI_EVENT(macro) |
#define | FOREACH_OMPT_EMI_EVENT(macro) |
#define | FOREACH_OMPT_50_TARGET_EVENT(macro) |
#define | FOREACH_OMPT_51_TARGET_EVENT(macro) |
#define | FOREACH_OMPT_EVENT(macro) |
#define | FOREACH_OMPT_51_EVENT(macro) |
#define | kmp_mutex_impl_macro(impl, code) impl = code, |
#define | ompt_id_none 0 |
#define | ompt_data_none |
#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 uint64_t | ompt_id_t |
typedef uint64_t | ompt_device_time_t |
typedef uint64_t | ompt_buffer_cursor_t |
typedef uint64_t | ompt_hwid_t |
typedef uint64_t | ompt_wait_id_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 uint64_t | ompd_icv_id_t |
typedef void(* | ompt_interface_fn_t) (void) |
typedef ompt_interface_fn_t(* | ompt_function_lookup_t) (const char *interface_function_name) |
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, unsigned long *bytes) |
typedef void(* | ompt_callback_buffer_complete_t) (int device_num, ompt_buffer_t *buffer, unsigned long 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 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, unsigned long *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, unsigned long 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 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 void(* | ompt_callback_parallel_end_t) (ompt_data_t *parallel_data, ompt_data_t *encountering_task_data, int flags, const void *codeptr_ra) |
typedef void(* | ompt_callback_work_t) (ompt_work_t work_type, ompt_scope_endpoint_t endpoint, ompt_data_t *parallel_data, ompt_data_t *task_data, uint64_t count, const void *codeptr_ra) |
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 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 void(* | ompt_callback_dependences_t) (ompt_data_t *task_data, const ompt_dependence_t *deps, int ndeps) |
typedef void(* | ompt_callback_task_dependence_t) (ompt_data_t *src_task_data, ompt_data_t *sink_task_data) |
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 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 void(* | ompt_callback_masked_t) (ompt_scope_endpoint_t endpoint, ompt_data_t *parallel_data, ompt_data_t *task_data, const void *codeptr_ra) |
typedef ompt_callback_masked_t | ompt_callback_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 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 void(* | ompt_callback_mutex_t) (ompt_mutex_t kind, ompt_wait_id_t wait_id, const void *codeptr_ra) |
typedef void(* | ompt_callback_nest_lock_t) (ompt_scope_endpoint_t endpoint, ompt_wait_id_t wait_id, const void *codeptr_ra) |
typedef void(* | ompt_callback_flush_t) (ompt_data_t *thread_data, const void *codeptr_ra) |
typedef void(* | ompt_callback_cancel_t) (ompt_data_t *task_data, int flags, const void *codeptr_ra) |
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, unsigned long 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_emi_t) (ompt_scope_endpoint_t endpoint, ompt_data_t *target_task_data, ompt_data_t *target_data, 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, unsigned long bytes, const void *codeptr_ra) |
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, unsigned long bytes, const void *codeptr_ra) |
typedef void(* | ompt_callback_target_emi_t) (ompt_target_t kind, ompt_scope_endpoint_t endpoint, int device_num, ompt_data_t *task_data, ompt_data_t *target_task_data, ompt_data_t *target_data, const void *codeptr_ra) |
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 void(* | ompt_callback_target_map_emi_t) (ompt_data_t *target_data, unsigned int nitems, void **host_addr, void **device_addr, unsigned long *bytes, unsigned int *mapping_flags, const void *codeptr_ra) |
typedef void(* | ompt_callback_target_map_t) (ompt_id_t target_id, unsigned int nitems, void **host_addr, void **device_addr, unsigned long *bytes, unsigned int *mapping_flags, const void *codeptr_ra) |
typedef void(* | ompt_callback_target_submit_emi_t) (ompt_scope_endpoint_t endpoint, ompt_data_t *target_data, ompt_id_t *host_op_id, unsigned int requested_num_teams) |
typedef void(* | ompt_callback_target_submit_t) (ompt_id_t target_id, ompt_id_t host_op_id, unsigned int requested_num_teams) |
typedef int(* | ompt_callback_control_tool_t) (uint64_t command, uint64_t modifier, void *arg, const void *codeptr_ra) |
typedef void(* | ompt_callback_error_t) (ompt_severity_t severity, const char *message, unsigned long length, const void *codeptr_ra) |
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 ompd_rc_t(* | ompd_callback_memory_alloc_fn_t) (ompd_size_t nbytes, void **ptr) |
typedef ompd_rc_t(* | ompd_callback_memory_free_fn_t) (void *ptr) |
typedef ompd_rc_t(* | ompd_callback_get_thread_context_for_thread_id_fn_t) (ompd_address_space_context_t *address_space_context, ompd_thread_id_t kind, ompd_size_t sizeof_thread_id, const void *thread_id, ompd_thread_context_t **thread_context) |
typedef ompd_rc_t(* | ompd_callback_sizeof_fn_t) (ompd_address_space_context_t *address_space_context, ompd_device_type_sizes_t *sizes) |
typedef ompd_rc_t(* | ompd_callback_symbol_addr_fn_t) (ompd_address_space_context_t *address_space_context, ompd_thread_context_t *thread_context, const char *symbol_name, ompd_address_t *symbol_addr, const char *file_name) |
typedef ompd_rc_t(* | ompd_callback_memory_read_fn_t) (ompd_address_space_context_t *address_space_context, ompd_thread_context_t *thread_context, const ompd_address_t *addr, ompd_size_t nbytes, void *buffer) |
typedef ompd_rc_t(* | ompd_callback_memory_write_fn_t) (ompd_address_space_context_t *address_space_context, ompd_thread_context_t *thread_context, const ompd_address_t *addr, ompd_size_t nbytes, const void *buffer) |
typedef ompd_rc_t(* | ompd_callback_device_host_fn_t) (ompd_address_space_context_t *address_space_context, const void *input, ompd_size_t unit_size, ompd_size_t count, void *output) |
typedef ompd_rc_t(* | ompd_callback_print_string_fn_t) (const char *string, int category) |
typedef ompt_record_ompt_t *(* | ompt_get_record_ompt_t) (ompt_buffer_t *buffer, ompt_buffer_cursor_t current) |
Data Structure Documentation
◆ ompt_data_t
union ompt_data_t |
Definition at line 567 of file omp-tools.h.
Data Fields | ||
---|---|---|
void * | ptr | |
uint64_t | value |
◆ ompt_frame_t
struct ompt_frame_t |
Definition at line 573 of file omp-tools.h.
Data Fields | ||
---|---|---|
ompt_data_t | enter_frame | |
int | enter_frame_flags | |
ompt_data_t | exit_frame | |
int | exit_frame_flags |
◆ ompt_start_tool_result_t
struct ompt_start_tool_result_t |
Definition at line 603 of file omp-tools.h.
Data Fields | ||
---|---|---|
ompt_finalize_t | finalize | |
ompt_initialize_t | initialize | |
ompt_data_t | tool_data |
◆ ompt_record_abstract_t
struct ompt_record_abstract_t |
Definition at line 610 of file omp-tools.h.
Data Fields | ||
---|---|---|
ompt_device_time_t | end_time | |
ompt_hwid_t | hwid | |
ompt_record_native_t | rclass | |
ompt_device_time_t | start_time | |
const char * | type |
◆ ompt_dependence_t
struct ompt_dependence_t |
Definition at line 619 of file omp-tools.h.
Data Fields | ||
---|---|---|
ompt_dependence_type_t | dependence_type | |
ompt_data_t | variable |
◆ ompt_dispatch_chunk_t
struct ompt_dispatch_chunk_t |
Definition at line 625 of file omp-tools.h.
Data Fields | ||
---|---|---|
uint64_t | iterations | |
uint64_t | start |
◆ ompt_record_thread_begin_t
struct ompt_record_thread_begin_t |
Definition at line 719 of file omp-tools.h.
Data Fields | ||
---|---|---|
ompt_thread_t | thread_type |
◆ ompt_record_parallel_begin_t
struct ompt_record_parallel_begin_t |
Definition at line 733 of file omp-tools.h.
Data Fields | ||
---|---|---|
const void * | codeptr_ra | |
ompt_id_t | encountering_task_id | |
int | flags | |
ompt_id_t | parallel_id | |
unsigned int | requested_parallelism |
◆ ompt_record_parallel_end_t
struct ompt_record_parallel_end_t |
Definition at line 747 of file omp-tools.h.
Data Fields | ||
---|---|---|
const void * | codeptr_ra | |
ompt_id_t | encountering_task_id | |
int | flags | |
ompt_id_t | parallel_id |
◆ ompt_record_work_t
struct ompt_record_work_t |
Definition at line 762 of file omp-tools.h.
Data Fields | ||
---|---|---|
const void * | codeptr_ra | |
uint64_t | count | |
ompt_scope_endpoint_t | endpoint | |
ompt_id_t | parallel_id | |
ompt_id_t | task_id | |
ompt_work_t | work_type |
◆ ompt_record_dispatch_t
struct ompt_record_dispatch_t |
Definition at line 777 of file omp-tools.h.
Data Fields | ||
---|---|---|
ompt_data_t | instance | |
ompt_dispatch_t | kind | |
ompt_id_t | parallel_id | |
ompt_id_t | task_id |
◆ ompt_record_task_create_t
struct ompt_record_task_create_t |
Definition at line 792 of file omp-tools.h.
Data Fields | ||
---|---|---|
const void * | codeptr_ra | |
ompt_id_t | encountering_task_id | |
int | flags | |
int | has_dependences | |
ompt_id_t | new_task_id |
◆ ompt_record_dependences_t
struct ompt_record_dependences_t |
Definition at line 805 of file omp-tools.h.
Data Fields | ||
---|---|---|
ompt_dependence_t | dep | |
int | ndeps | |
ompt_id_t | task_id |
◆ ompt_record_task_dependence_t
struct ompt_record_task_dependence_t |
Definition at line 815 of file omp-tools.h.
Data Fields | ||
---|---|---|
ompt_id_t | sink_task_id | |
ompt_id_t | src_task_id |
◆ ompt_record_task_schedule_t
struct ompt_record_task_schedule_t |
Definition at line 825 of file omp-tools.h.
Data Fields | ||
---|---|---|
ompt_id_t | next_task_id | |
ompt_id_t | prior_task_id | |
ompt_task_status_t | prior_task_status |
◆ ompt_record_implicit_task_t
struct ompt_record_implicit_task_t |
Definition at line 839 of file omp-tools.h.
Data Fields | ||
---|---|---|
unsigned int | actual_parallelism | |
ompt_scope_endpoint_t | endpoint | |
int | flags | |
unsigned int | index | |
ompt_id_t | parallel_id | |
ompt_id_t | task_id |
◆ ompt_record_masked_t
struct ompt_record_masked_t |
Definition at line 856 of file omp-tools.h.
Data Fields | ||
---|---|---|
const void * | codeptr_ra | |
ompt_scope_endpoint_t | endpoint | |
ompt_id_t | parallel_id | |
ompt_id_t | task_id |
◆ ompt_record_sync_region_t
struct ompt_record_sync_region_t |
Definition at line 870 of file omp-tools.h.
Data Fields | ||
---|---|---|
const void * | codeptr_ra | |
ompt_scope_endpoint_t | endpoint | |
ompt_sync_region_t | kind | |
ompt_id_t | parallel_id | |
ompt_id_t | task_id |
◆ ompt_record_mutex_acquire_t
struct ompt_record_mutex_acquire_t |
Definition at line 885 of file omp-tools.h.
Data Fields | ||
---|---|---|
const void * | codeptr_ra | |
unsigned int | hint | |
unsigned int | impl | |
ompt_mutex_t | kind | |
ompt_wait_id_t | wait_id |
◆ ompt_record_mutex_t
struct ompt_record_mutex_t |
Definition at line 898 of file omp-tools.h.
Data Fields | ||
---|---|---|
const void * | codeptr_ra | |
ompt_mutex_t | kind | |
ompt_wait_id_t | wait_id |
◆ ompt_record_nest_lock_t
struct ompt_record_nest_lock_t |
Definition at line 909 of file omp-tools.h.
Data Fields | ||
---|---|---|
const void * | codeptr_ra | |
ompt_scope_endpoint_t | endpoint | |
ompt_wait_id_t | wait_id |
◆ ompt_record_flush_t
struct ompt_record_flush_t |
Definition at line 918 of file omp-tools.h.
Data Fields | ||
---|---|---|
const void * | codeptr_ra |
◆ ompt_record_cancel_t
struct ompt_record_cancel_t |
Definition at line 925 of file omp-tools.h.
Data Fields | ||
---|---|---|
const void * | codeptr_ra | |
int | flags | |
ompt_id_t | task_id |
◆ ompt_record_target_data_op_t
struct ompt_record_target_data_op_t |
Definition at line 973 of file omp-tools.h.
Data Fields | ||
---|---|---|
unsigned long | bytes | |
const void * | codeptr_ra | |
void * | dest_addr | |
int | dest_device_num | |
ompt_device_time_t | end_time | |
ompt_id_t | host_op_id | |
ompt_target_data_op_t | optype | |
void * | src_addr | |
int | src_device_num |
◆ ompt_record_target_t
struct ompt_record_target_t |
Definition at line 1001 of file omp-tools.h.
Data Fields | ||
---|---|---|
const void * | codeptr_ra | |
int | device_num | |
ompt_scope_endpoint_t | endpoint | |
ompt_target_t | kind | |
ompt_id_t | target_id | |
ompt_id_t | task_id |
◆ ompt_record_target_map_t
struct ompt_record_target_map_t |
Definition at line 1027 of file omp-tools.h.
Data Fields | ||
---|---|---|
unsigned long * | bytes | |
const void * | codeptr_ra | |
void ** | device_addr | |
void ** | host_addr | |
unsigned int * | mapping_flags | |
unsigned int | nitems | |
ompt_id_t | target_id |
◆ ompt_record_target_kernel_t
struct ompt_record_target_kernel_t |
Definition at line 1047 of file omp-tools.h.
Data Fields | ||
---|---|---|
ompt_device_time_t | end_time | |
unsigned int | granted_num_teams | |
ompt_id_t | host_op_id | |
unsigned int | requested_num_teams |
◆ ompt_record_control_tool_t
struct ompt_record_control_tool_t |
Definition at line 1060 of file omp-tools.h.
Data Fields | ||
---|---|---|
const void * | codeptr_ra | |
uint64_t | command | |
uint64_t | modifier |
◆ ompt_record_error_t
struct ompt_record_error_t |
Definition at line 1072 of file omp-tools.h.
Data Fields | ||
---|---|---|
const void * | codeptr_ra | |
unsigned long | length | |
const char * | message | |
ompt_severity_t | severity |
◆ ompd_address_t
struct ompd_address_t |
Definition at line 1080 of file omp-tools.h.
Data Fields | ||
---|---|---|
ompd_addr_t | address | |
ompd_seg_t | segment |
◆ ompd_frame_info_t
struct ompd_frame_info_t |
Definition at line 1086 of file omp-tools.h.
Data Fields | ||
---|---|---|
ompd_address_t | frame_address | |
ompd_word_t | frame_flag |
◆ ompd_device_type_sizes_t
struct ompd_device_type_sizes_t |
Definition at line 1100 of file omp-tools.h.
Data Fields | ||
---|---|---|
uint8_t | sizeof_char | |
uint8_t | sizeof_int | |
uint8_t | sizeof_long | |
uint8_t | sizeof_long_long | |
uint8_t | sizeof_pointer | |
uint8_t | sizeof_short |
◆ ompd_callbacks_t
struct ompd_callbacks_t |
Definition at line 1157 of file omp-tools.h.
Data Fields | ||
---|---|---|
ompd_callback_memory_alloc_fn_t | alloc_memory | |
ompd_callback_device_host_fn_t | device_to_host | |
ompd_callback_memory_free_fn_t | free_memory | |
ompd_callback_get_thread_context_for_thread_id_fn_t | get_thread_context_for_thread_id | |
ompd_callback_device_host_fn_t | host_to_device | |
ompd_callback_print_string_fn_t | print_string | |
ompd_callback_memory_read_fn_t | read_memory | |
ompd_callback_memory_read_fn_t | read_string | |
ompd_callback_sizeof_fn_t | sizeof_type | |
ompd_callback_symbol_addr_fn_t | symbol_addr_lookup | |
ompd_callback_memory_write_fn_t | write_memory |
◆ ompt_record_ompt_t
struct ompt_record_ompt_t |
Definition at line 1347 of file omp-tools.h.
Data Fields | ||
---|---|---|
union ompt_record_ompt_t.record | record | |
ompt_id_t | target_id | |
ompt_id_t | thread_id | |
ompt_device_time_t | time | |
ompt_callbacks_t | type |
◆ ompt_record_ompt_t.record
union ompt_record_ompt_t.record |
Definition at line 1353 of file omp-tools.h.
Data Fields | ||
---|---|---|
ompt_record_cancel_t | cancel | |
ompt_record_control_tool_t | control_tool | |
ompt_record_dependences_t | dependences | |
ompt_record_dispatch_t | dispatch | |
ompt_record_flush_t | flush | |
ompt_record_implicit_task_t | implicit_task | |
ompt_record_masked_t | masked | |
ompt_record_mutex_t | mutex | |
ompt_record_mutex_acquire_t | mutex_acquire | |
ompt_record_nest_lock_t | nest_lock | |
ompt_record_parallel_begin_t | parallel_begin | |
ompt_record_parallel_end_t | parallel_end | |
ompt_record_sync_region_t | sync_region | |
ompt_record_target_t | target | |
ompt_record_target_data_op_t | target_data_op | |
ompt_record_target_kernel_t | target_kernel | |
ompt_record_target_map_t | target_map | |
ompt_record_task_create_t | task_create | |
ompt_record_task_dependence_t | task_dependence | |
ompt_record_task_schedule_t | task_schedule | |
ompt_record_thread_begin_t | thread_begin | |
ompt_record_work_t | work |
Macro Definition Documentation
◆ DEPRECATED_51
#define DEPRECATED_51 |
Definition at line 30 of file omp-tools.h.
◆ FOREACH_KMP_MUTEX_IMPL
#define FOREACH_KMP_MUTEX_IMPL | ( | macro | ) |
Definition at line 95 of file omp-tools.h.
◆ FOREACH_OMPT_50_TARGET_EVENT
#define FOREACH_OMPT_50_TARGET_EVENT | ( | macro | ) |
Definition at line 193 of file omp-tools.h.
◆ FOREACH_OMPT_51_EVENT
#define FOREACH_OMPT_51_EVENT | ( | macro | ) |
Definition at line 207 of file omp-tools.h.
◆ FOREACH_OMPT_51_TARGET_EVENT
#define FOREACH_OMPT_51_TARGET_EVENT | ( | macro | ) |
Definition at line 197 of file omp-tools.h.
◆ FOREACH_OMPT_DEVICE_EVENT
#define FOREACH_OMPT_DEVICE_EVENT | ( | macro | ) |
Definition at line 159 of file omp-tools.h.
◆ FOREACH_OMPT_EMI_EVENT
#define FOREACH_OMPT_EMI_EVENT | ( | macro | ) |
Definition at line 182 of file omp-tools.h.
◆ FOREACH_OMPT_EVENT
#define FOREACH_OMPT_EVENT | ( | macro | ) |
Definition at line 201 of file omp-tools.h.
◆ FOREACH_OMPT_HOST_EVENT
#define FOREACH_OMPT_HOST_EVENT | ( | macro | ) |
Definition at line 101 of file omp-tools.h.
◆ FOREACH_OMPT_INQUIRY_FN
#define FOREACH_OMPT_INQUIRY_FN | ( | macro | ) |
Definition at line 37 of file omp-tools.h.
◆ FOREACH_OMPT_NOEMI_EVENT
#define FOREACH_OMPT_NOEMI_EVENT | ( | macro | ) |
Definition at line 171 of file omp-tools.h.
◆ FOREACH_OMPT_STATE
#define FOREACH_OMPT_STATE | ( | macro | ) |
Definition at line 54 of file omp-tools.h.
◆ kmp_mutex_impl_macro
#define kmp_mutex_impl_macro | ( | impl, | |
code | |||
) | impl = code, |
Definition at line 218 of file omp-tools.h.
◆ ompd_segment_none
#define ompd_segment_none 0 |
Definition at line 1394 of file omp-tools.h.
◆ ompt_addr_none
#define ompt_addr_none ~0 |
Definition at line 1390 of file omp-tools.h.
◆ ompt_data_none
#define ompt_data_none |
◆ ompt_hwid_none
#define ompt_hwid_none 0 |
Definition at line 1389 of file omp-tools.h.
◆ ompt_id_none
#define ompt_id_none 0 |
Definition at line 1383 of file omp-tools.h.
◆ ompt_mutex_impl_none
#define ompt_mutex_impl_none 0 |
Definition at line 1391 of file omp-tools.h.
◆ ompt_time_none
#define ompt_time_none 0 |
Definition at line 1388 of file omp-tools.h.
◆ ompt_wait_id_none
#define ompt_wait_id_none 0 |
Definition at line 1392 of file omp-tools.h.
Typedef Documentation
◆ ompd_addr_t
typedef uint64_t ompd_addr_t |
Definition at line 526 of file omp-tools.h.
◆ ompd_address_space_context_t
typedef struct _ompd_aspace_cont ompd_address_space_context_t |
Definition at line 1097 of file omp-tools.h.
◆ ompd_address_space_handle_t
typedef struct _ompd_aspace_handle ompd_address_space_handle_t |
Definition at line 1092 of file omp-tools.h.
◆ ompd_callback_device_host_fn_t
typedef ompd_rc_t(* ompd_callback_device_host_fn_t) (ompd_address_space_context_t *address_space_context, const void *input, ompd_size_t unit_size, ompd_size_t count, void *output) |
Definition at line 1148 of file omp-tools.h.
◆ ompd_callback_get_thread_context_for_thread_id_fn_t
typedef ompd_rc_t(* ompd_callback_get_thread_context_for_thread_id_fn_t) (ompd_address_space_context_t *address_space_context, ompd_thread_id_t kind, ompd_size_t sizeof_thread_id, const void *thread_id, ompd_thread_context_t **thread_context) |
Definition at line 1117 of file omp-tools.h.
◆ ompd_callback_memory_alloc_fn_t
typedef ompd_rc_t(* ompd_callback_memory_alloc_fn_t) (ompd_size_t nbytes, void **ptr) |
Definition at line 1113 of file omp-tools.h.
◆ ompd_callback_memory_free_fn_t
typedef ompd_rc_t(* ompd_callback_memory_free_fn_t) (void *ptr) |
Definition at line 1115 of file omp-tools.h.
◆ ompd_callback_memory_read_fn_t
typedef ompd_rc_t(* ompd_callback_memory_read_fn_t) (ompd_address_space_context_t *address_space_context, ompd_thread_context_t *thread_context, const ompd_address_t *addr, ompd_size_t nbytes, void *buffer) |
Definition at line 1134 of file omp-tools.h.
◆ ompd_callback_memory_write_fn_t
typedef ompd_rc_t(* ompd_callback_memory_write_fn_t) (ompd_address_space_context_t *address_space_context, ompd_thread_context_t *thread_context, const ompd_address_t *addr, ompd_size_t nbytes, const void *buffer) |
Definition at line 1141 of file omp-tools.h.
◆ ompd_callback_print_string_fn_t
typedef ompd_rc_t(* ompd_callback_print_string_fn_t) (const char *string, int category) |
Definition at line 1155 of file omp-tools.h.
◆ ompd_callback_sizeof_fn_t
typedef ompd_rc_t(* ompd_callback_sizeof_fn_t) (ompd_address_space_context_t *address_space_context, ompd_device_type_sizes_t *sizes) |
Definition at line 1124 of file omp-tools.h.
◆ ompd_callback_symbol_addr_fn_t
typedef ompd_rc_t(* ompd_callback_symbol_addr_fn_t) (ompd_address_space_context_t *address_space_context, ompd_thread_context_t *thread_context, const char *symbol_name, ompd_address_t *symbol_addr, const char *file_name) |
Definition at line 1127 of file omp-tools.h.
◆ ompd_device_t
typedef uint64_t ompd_device_t |
Definition at line 530 of file omp-tools.h.
◆ ompd_icv_id_t
typedef uint64_t ompd_icv_id_t |
Definition at line 544 of file omp-tools.h.
◆ ompd_parallel_handle_t
typedef struct _ompd_parallel_handle ompd_parallel_handle_t |
Definition at line 1094 of file omp-tools.h.
◆ ompd_seg_t
typedef uint64_t ompd_seg_t |
Definition at line 528 of file omp-tools.h.
◆ ompd_size_t
typedef uint64_t ompd_size_t |
Definition at line 522 of file omp-tools.h.
◆ ompd_task_handle_t
typedef struct _ompd_task_handle ompd_task_handle_t |
Definition at line 1095 of file omp-tools.h.
◆ ompd_thread_context_t
typedef struct _ompd_thread_cont ompd_thread_context_t |
Definition at line 1098 of file omp-tools.h.
◆ ompd_thread_handle_t
typedef struct _ompd_thread_handle ompd_thread_handle_t |
Definition at line 1093 of file omp-tools.h.
◆ ompd_thread_id_t
typedef uint64_t ompd_thread_id_t |
Definition at line 532 of file omp-tools.h.
◆ ompd_wait_id_t
typedef uint64_t ompd_wait_id_t |
Definition at line 524 of file omp-tools.h.
◆ ompd_word_t
typedef int64_t ompd_word_t |
Definition at line 527 of file omp-tools.h.
◆ ompt_advance_buffer_cursor_t
typedef int(* ompt_advance_buffer_cursor_t) (ompt_device_t *device, ompt_buffer_t *buffer, unsigned long size, ompt_buffer_cursor_t current, ompt_buffer_cursor_t *next) |
Definition at line 702 of file omp-tools.h.
◆ ompt_buffer_cursor_t
typedef uint64_t ompt_buffer_cursor_t |
Definition at line 296 of file omp-tools.h.
◆ ompt_buffer_t
typedef void ompt_buffer_t |
Definition at line 585 of file omp-tools.h.
◆ ompt_callback_buffer_complete_t
typedef void(* ompt_callback_buffer_complete_t) (int device_num, ompt_buffer_t *buffer, unsigned long bytes, ompt_buffer_cursor_t begin, int buffer_owned) |
Definition at line 591 of file omp-tools.h.
◆ ompt_callback_buffer_request_t
typedef void(* ompt_callback_buffer_request_t) (int device_num, ompt_buffer_t **buffer, unsigned long *bytes) |
Definition at line 587 of file omp-tools.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 923 of file omp-tools.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 1055 of file omp-tools.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 801 of file omp-tools.h.
◆ ompt_callback_device_finalize_t
typedef void(* ompt_callback_device_finalize_t) (int device_num) |
Definition at line 938 of file omp-tools.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 932 of file omp-tools.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, unsigned long bytes, void *host_addr, void *device_addr, uint64_t module_id) |
Definition at line 940 of file omp-tools.h.
◆ ompt_callback_device_unload_t
typedef void(* ompt_callback_device_unload_t) (int device_num, uint64_t module_id) |
Definition at line 949 of file omp-tools.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 772 of file omp-tools.h.
◆ ompt_callback_error_t
typedef void(* ompt_callback_error_t) (ompt_severity_t severity, const char *message, unsigned long length, const void *codeptr_ra) |
Definition at line 1067 of file omp-tools.h.
◆ ompt_callback_flush_t
typedef void(* ompt_callback_flush_t) (ompt_data_t *thread_data, const void *codeptr_ra) |
Definition at line 916 of file omp-tools.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 832 of file omp-tools.h.
◆ ompt_callback_masked_t
typedef void(* ompt_callback_masked_t) (ompt_scope_endpoint_t endpoint, ompt_data_t *parallel_data, ompt_data_t *task_data, const void *codeptr_ra) |
Definition at line 849 of file omp-tools.h.
◆ ompt_callback_master_t
Definition at line 854 of file omp-tools.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 879 of file omp-tools.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 894 of file omp-tools.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 905 of file omp-tools.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 726 of file omp-tools.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 742 of file omp-tools.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 864 of file omp-tools.h.
◆ ompt_callback_t
typedef void(* ompt_callback_t) (void) |
Definition at line 581 of file omp-tools.h.
◆ ompt_callback_target_data_op_emi_t
typedef void(* ompt_callback_target_data_op_emi_t) (ompt_scope_endpoint_t endpoint, ompt_data_t *target_task_data, ompt_data_t *target_data, 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, unsigned long bytes, const void *codeptr_ra) |
Definition at line 951 of file omp-tools.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, unsigned long bytes, const void *codeptr_ra) |
Definition at line 963 of file omp-tools.h.
◆ ompt_callback_target_emi_t
typedef void(* ompt_callback_target_emi_t) (ompt_target_t kind, ompt_scope_endpoint_t endpoint, int device_num, ompt_data_t *task_data, ompt_data_t *target_task_data, ompt_data_t *target_data, const void *codeptr_ra) |
Definition at line 986 of file omp-tools.h.
◆ ompt_callback_target_map_emi_t
typedef void(* ompt_callback_target_map_emi_t) (ompt_data_t *target_data, unsigned int nitems, void **host_addr, void **device_addr, unsigned long *bytes, unsigned int *mapping_flags, const void *codeptr_ra) |
Definition at line 1011 of file omp-tools.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, unsigned long *bytes, unsigned int *mapping_flags, const void *codeptr_ra) |
Definition at line 1019 of file omp-tools.h.
◆ ompt_callback_target_submit_emi_t
typedef void(* ompt_callback_target_submit_emi_t) (ompt_scope_endpoint_t endpoint, ompt_data_t *target_data, ompt_id_t *host_op_id, unsigned int requested_num_teams) |
Definition at line 1038 of file omp-tools.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 1043 of file omp-tools.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 994 of file omp-tools.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 785 of file omp-tools.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 812 of file omp-tools.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 821 of file omp-tools.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 717 of file omp-tools.h.
◆ ompt_callback_thread_end_t
typedef void(* ompt_callback_thread_end_t) (ompt_data_t *thread_data) |
Definition at line 724 of file omp-tools.h.
◆ ompt_callback_work_t
typedef void(* ompt_callback_work_t) (ompt_work_t work_type, 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 755 of file omp-tools.h.
◆ ompt_device_t
typedef void ompt_device_t |
Definition at line 583 of file omp-tools.h.
◆ ompt_device_time_t
typedef uint64_t ompt_device_time_t |
Definition at line 294 of file omp-tools.h.
◆ 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 635 of file omp-tools.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 631 of file omp-tools.h.
◆ ompt_finalize_t
typedef void(* ompt_finalize_t) (ompt_data_t *tool_data) |
Definition at line 597 of file omp-tools.h.
◆ ompt_finalize_tool_t
typedef void(* ompt_finalize_tool_t) (void) |
Definition at line 678 of file omp-tools.h.
◆ ompt_flush_trace_t
typedef int(* ompt_flush_trace_t) (ompt_device_t *device) |
Definition at line 698 of file omp-tools.h.
◆ ompt_function_lookup_t
typedef ompt_interface_fn_t(* ompt_function_lookup_t) (const char *interface_function_name) |
Definition at line 565 of file omp-tools.h.
◆ ompt_get_callback_t
typedef int(* ompt_get_callback_t) (ompt_callbacks_t event, ompt_callback_t *callback) |
Definition at line 641 of file omp-tools.h.
◆ ompt_get_device_num_procs_t
typedef int(* ompt_get_device_num_procs_t) (ompt_device_t *device) |
Definition at line 680 of file omp-tools.h.
◆ ompt_get_device_time_t
typedef ompt_device_time_t(* ompt_get_device_time_t) (ompt_device_t *device) |
Definition at line 682 of file omp-tools.h.
◆ ompt_get_num_devices_t
typedef int(* ompt_get_num_devices_t) (void) |
Definition at line 676 of file omp-tools.h.
◆ ompt_get_num_places_t
typedef int(* ompt_get_num_places_t) (void) |
Definition at line 647 of file omp-tools.h.
◆ ompt_get_num_procs_t
typedef int(* ompt_get_num_procs_t) (void) |
Definition at line 645 of file omp-tools.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 659 of file omp-tools.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 653 of file omp-tools.h.
◆ ompt_get_place_num_t
typedef int(* ompt_get_place_num_t) (void) |
Definition at line 651 of file omp-tools.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 649 of file omp-tools.h.
◆ ompt_get_proc_id_t
typedef int(* ompt_get_proc_id_t) (void) |
Definition at line 655 of file omp-tools.h.
◆ ompt_get_record_abstract_t
typedef ompt_record_abstract_t *(* ompt_get_record_abstract_t) (void *native_record) |
Definition at line 715 of file omp-tools.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 711 of file omp-tools.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 1380 of file omp-tools.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 708 of file omp-tools.h.
◆ ompt_get_state_t
typedef int(* ompt_get_state_t) (ompt_wait_id_t *wait_id) |
Definition at line 657 of file omp-tools.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 672 of file omp-tools.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 663 of file omp-tools.h.
◆ ompt_get_task_memory_t
typedef int(* ompt_get_task_memory_t) (void **addr, unsigned long *size, int block) |
Definition at line 670 of file omp-tools.h.
◆ ompt_get_thread_data_t
typedef ompt_data_t *(* ompt_get_thread_data_t) (void) |
Definition at line 643 of file omp-tools.h.
◆ ompt_get_unique_id_t
typedef uint64_t(* ompt_get_unique_id_t) (void) |
Definition at line 520 of file omp-tools.h.
◆ ompt_hwid_t
typedef uint64_t ompt_hwid_t |
Definition at line 475 of file omp-tools.h.
◆ ompt_id_t
typedef uint64_t ompt_id_t |
Definition at line 292 of file omp-tools.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 599 of file omp-tools.h.
◆ ompt_interface_fn_t
typedef void(* ompt_interface_fn_t) (void) |
Definition at line 563 of file omp-tools.h.
◆ ompt_pause_trace_t
typedef int(* ompt_pause_trace_t) (ompt_device_t *device, int begin_pause) |
Definition at line 696 of file omp-tools.h.
◆ ompt_set_callback_t
typedef ompt_set_result_t(* ompt_set_callback_t) (ompt_callbacks_t event, ompt_callback_t callback) |
Definition at line 639 of file omp-tools.h.
◆ 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 690 of file omp-tools.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 686 of file omp-tools.h.
◆ 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 692 of file omp-tools.h.
◆ ompt_stop_trace_t
typedef int(* ompt_stop_trace_t) (ompt_device_t *device) |
Definition at line 700 of file omp-tools.h.
◆ ompt_translate_time_t
typedef double(* ompt_translate_time_t) (ompt_device_t *device, ompt_device_time_t time) |
Definition at line 684 of file omp-tools.h.
◆ ompt_wait_id_t
typedef uint64_t ompt_wait_id_t |
Definition at line 477 of file omp-tools.h.
Enumeration Type Documentation
◆ kmp_mutex_impl_t
enum kmp_mutex_impl_t |
Enumerator | |
---|---|
kmp_mutex_impl_none | |
kmp_mutex_impl_spin | |
kmp_mutex_impl_queuing | |
kmp_mutex_impl_speculative |
Definition at line 216 of file omp-tools.h.
◆ ompd_rc_t
enum ompd_rc_t |
Definition at line 546 of file omp-tools.h.
◆ ompd_scope_t
enum ompd_scope_t |
Enumerator | |
---|---|
ompd_scope_global | |
ompd_scope_address_space | |
ompd_scope_thread | |
ompd_scope_parallel | |
ompd_scope_implicit_task | |
ompd_scope_task |
Definition at line 534 of file omp-tools.h.
◆ ompt_callbacks_t
enum ompt_callbacks_t |
Definition at line 227 of file omp-tools.h.
◆ ompt_cancel_flag_t
enum 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 |
Definition at line 464 of file omp-tools.h.
◆ ompt_dependence_type_t
Definition at line 445 of file omp-tools.h.
◆ ompt_dispatch_t
enum ompt_dispatch_t |
Enumerator | |
---|---|
ompt_dispatch_iteration | |
ompt_dispatch_section | |
ompt_dispatch_ws_loop_chunk | |
ompt_dispatch_taskloop_chunk | |
ompt_dispatch_distribute_chunk |
Definition at line 313 of file omp-tools.h.
◆ ompt_frame_flag_t
enum ompt_frame_flag_t |
Enumerator | |
---|---|
ompt_frame_runtime | |
ompt_frame_application | |
ompt_frame_cfa | |
ompt_frame_framepointer | |
ompt_frame_stackaddress |
Definition at line 479 of file omp-tools.h.
◆ ompt_mutex_t
enum 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 |
Definition at line 366 of file omp-tools.h.
◆ ompt_native_mon_flag_t
Definition at line 377 of file omp-tools.h.
◆ ompt_parallel_flag_t
enum ompt_parallel_flag_t |
Enumerator | |
---|---|
ompt_parallel_invoker_program | |
ompt_parallel_invoker_runtime | |
ompt_parallel_league | |
ompt_parallel_team |
Definition at line 427 of file omp-tools.h.
◆ ompt_record_native_t
enum ompt_record_native_t |
Enumerator | |
---|---|
ompt_record_native_info | |
ompt_record_native_event |
Definition at line 276 of file omp-tools.h.
◆ ompt_record_t
enum ompt_record_t |
Enumerator | |
---|---|
ompt_record_ompt | |
ompt_record_native | |
ompt_record_invalid |
Definition at line 269 of file omp-tools.h.
◆ ompt_scope_endpoint_t
Enumerator | |
---|---|
ompt_scope_begin | |
ompt_scope_end | |
ompt_scope_beginend |
Definition at line 306 of file omp-tools.h.
◆ ompt_set_result_t
enum ompt_set_result_t |
Enumerator | |
---|---|
ompt_set_error | |
ompt_set_never | |
ompt_set_impossible | |
ompt_set_sometimes | |
ompt_set_sometimes_paired | |
ompt_set_always |
Definition at line 282 of file omp-tools.h.
◆ ompt_severity_t
enum ompt_severity_t |
Enumerator | |
---|---|
ompt_warning | |
ompt_fatal |
Definition at line 458 of file omp-tools.h.
◆ ompt_state_t
enum ompt_state_t |
Definition at line 488 of file omp-tools.h.
◆ ompt_sync_region_t
enum ompt_sync_region_t |
Definition at line 322 of file omp-tools.h.
◆ ompt_target_data_op_t
Definition at line 336 of file omp-tools.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 |
Definition at line 435 of file omp-tools.h.
◆ ompt_target_t
enum ompt_target_t |
Enumerator | |
---|---|
ompt_target | |
ompt_target_enter_data | |
ompt_target_exit_data | |
ompt_target_update | |
ompt_target_nowait | |
ompt_target_enter_data_nowait | |
ompt_target_exit_data_nowait | |
ompt_target_update_nowait |
Definition at line 415 of file omp-tools.h.
◆ ompt_task_flag_t
enum ompt_task_flag_t |
Enumerator | |
---|---|
ompt_task_initial | |
ompt_task_implicit | |
ompt_task_explicit | |
ompt_task_target | |
ompt_task_taskwait | |
ompt_task_undeferred | |
ompt_task_untied | |
ompt_task_final | |
ompt_task_mergeable | |
ompt_task_merged |
Definition at line 389 of file omp-tools.h.
◆ ompt_task_status_t
enum 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_taskwait_complete |
Definition at line 403 of file omp-tools.h.
◆ ompt_thread_t
enum ompt_thread_t |
Enumerator | |
---|---|
ompt_thread_initial | |
ompt_thread_worker | |
ompt_thread_other | |
ompt_thread_unknown |
Definition at line 298 of file omp-tools.h.
◆ ompt_work_t
enum ompt_work_t |
Definition at line 350 of file omp-tools.h.
Function Documentation
◆ ompd_bp_device_begin()
void ompd_bp_device_begin | ( | void | ) |
◆ ompd_bp_device_end()
void ompd_bp_device_end | ( | void | ) |
◆ ompd_bp_parallel_begin()
void ompd_bp_parallel_begin | ( | void | ) |
◆ ompd_bp_parallel_end()
void ompd_bp_parallel_end | ( | void | ) |
◆ ompd_bp_task_begin()
void ompd_bp_task_begin | ( | void | ) |
◆ ompd_bp_task_end()
void ompd_bp_task_end | ( | void | ) |
◆ ompd_bp_thread_begin()
void ompd_bp_thread_begin | ( | void | ) |
◆ ompd_bp_thread_end()
void ompd_bp_thread_end | ( | void | ) |
◆ ompd_device_initialize()
ompd_rc_t ompd_device_initialize | ( | ompd_address_space_handle_t * | process_handle, |
ompd_address_space_context_t * | device_context, | ||
ompd_device_t | kind, | ||
ompd_size_t | sizeof_id, | ||
void * | id, | ||
ompd_address_space_handle_t ** | device_handle | ||
) |
◆ ompd_dll_locations_valid()
void ompd_dll_locations_valid | ( | void | ) |
◆ ompd_enumerate_icvs()
ompd_rc_t ompd_enumerate_icvs | ( | ompd_address_space_handle_t * | handle, |
ompd_icv_id_t | current, | ||
ompd_icv_id_t * | next_id, | ||
const char ** | next_icv_name, | ||
ompd_scope_t * | next_scope, | ||
int * | more | ||
) |
◆ ompd_enumerate_states()
ompd_rc_t ompd_enumerate_states | ( | ompd_address_space_handle_t * | address_space_handle, |
ompd_word_t | current_state, | ||
ompd_word_t * | next_state, | ||
const char ** | next_state_name, | ||
ompd_word_t * | more_enums | ||
) |
◆ ompd_finalize()
ompd_rc_t ompd_finalize | ( | void | ) |
◆ ompd_get_api_version()
ompd_rc_t ompd_get_api_version | ( | ompd_word_t * | version | ) |
◆ ompd_get_curr_parallel_handle()
ompd_rc_t ompd_get_curr_parallel_handle | ( | ompd_thread_handle_t * | thread_handle, |
ompd_parallel_handle_t ** | parallel_handle | ||
) |
◆ ompd_get_curr_task_handle()
ompd_rc_t ompd_get_curr_task_handle | ( | ompd_thread_handle_t * | thread_handle, |
ompd_task_handle_t ** | task_handle | ||
) |
◆ ompd_get_display_control_vars()
ompd_rc_t ompd_get_display_control_vars | ( | ompd_address_space_handle_t * | address_space_handle, |
const char *const ** | control_vars | ||
) |
◆ ompd_get_enclosing_parallel_handle()
ompd_rc_t ompd_get_enclosing_parallel_handle | ( | ompd_parallel_handle_t * | parallel_handle, |
ompd_parallel_handle_t ** | enclosing_parallel_handle | ||
) |
◆ ompd_get_generating_task_handle()
ompd_rc_t ompd_get_generating_task_handle | ( | ompd_task_handle_t * | task_handle, |
ompd_task_handle_t ** | generating_task_handle | ||
) |
◆ ompd_get_icv_from_scope()
ompd_rc_t ompd_get_icv_from_scope | ( | void * | handle, |
ompd_scope_t | scope, | ||
ompd_icv_id_t | icv_id, | ||
ompd_word_t * | icv_value | ||
) |
◆ ompd_get_icv_string_from_scope()
ompd_rc_t ompd_get_icv_string_from_scope | ( | void * | handle, |
ompd_scope_t | scope, | ||
ompd_icv_id_t | icv_id, | ||
const char ** | icv_string | ||
) |
◆ ompd_get_omp_version()
ompd_rc_t ompd_get_omp_version | ( | ompd_address_space_handle_t * | address_space, |
ompd_word_t * | omp_version | ||
) |
◆ ompd_get_omp_version_string()
ompd_rc_t ompd_get_omp_version_string | ( | ompd_address_space_handle_t * | address_space, |
const char ** | string | ||
) |
◆ ompd_get_scheduling_task_handle()
ompd_rc_t ompd_get_scheduling_task_handle | ( | ompd_task_handle_t * | task_handle, |
ompd_task_handle_t ** | scheduling_task_handle | ||
) |
◆ ompd_get_state()
ompd_rc_t ompd_get_state | ( | ompd_thread_handle_t * | thread_handle, |
ompd_word_t * | state, | ||
ompd_wait_id_t * | wait_id | ||
) |
◆ ompd_get_task_frame()
ompd_rc_t ompd_get_task_frame | ( | ompd_task_handle_t * | task_handle, |
ompd_frame_info_t * | exit_frame, | ||
ompd_frame_info_t * | enter_frame | ||
) |
◆ ompd_get_task_function()
ompd_rc_t ompd_get_task_function | ( | ompd_task_handle_t * | task_handle, |
ompd_address_t * | entry_point | ||
) |
◆ ompd_get_task_in_parallel()
ompd_rc_t ompd_get_task_in_parallel | ( | ompd_parallel_handle_t * | parallel_handle, |
int | thread_num, | ||
ompd_task_handle_t ** | task_handle | ||
) |
◆ ompd_get_task_parallel_handle()
ompd_rc_t ompd_get_task_parallel_handle | ( | ompd_task_handle_t * | task_handle, |
ompd_parallel_handle_t ** | task_parallel_handle | ||
) |
◆ ompd_get_thread_handle()
ompd_rc_t ompd_get_thread_handle | ( | ompd_address_space_handle_t * | handle, |
ompd_thread_id_t | kind, | ||
ompd_size_t | sizeof_thread_id, | ||
const void * | thread_id, | ||
ompd_thread_handle_t ** | thread_handle | ||
) |
◆ ompd_get_thread_id()
ompd_rc_t ompd_get_thread_id | ( | ompd_thread_handle_t * | thread_handle, |
ompd_thread_id_t | kind, | ||
ompd_size_t | sizeof_thread_id, | ||
void * | thread_id | ||
) |
◆ ompd_get_thread_in_parallel()
ompd_rc_t ompd_get_thread_in_parallel | ( | ompd_parallel_handle_t * | parallel_handle, |
int | thread_num, | ||
ompd_thread_handle_t ** | thread_handle | ||
) |
◆ ompd_get_tool_data()
ompd_rc_t ompd_get_tool_data | ( | void * | handle, |
ompd_scope_t | scope, | ||
ompd_word_t * | value, | ||
ompd_address_t * | ptr | ||
) |
◆ ompd_get_version_string()
ompd_rc_t ompd_get_version_string | ( | const char ** | string | ) |
◆ ompd_initialize()
ompd_rc_t ompd_initialize | ( | ompd_word_t | api_version, |
const ompd_callbacks_t * | callbacks | ||
) |
◆ ompd_parallel_handle_compare()
ompd_rc_t ompd_parallel_handle_compare | ( | ompd_parallel_handle_t * | parallel_handle_1, |
ompd_parallel_handle_t * | parallel_handle_2, | ||
int * | cmp_value | ||
) |
◆ ompd_process_initialize()
ompd_rc_t ompd_process_initialize | ( | ompd_address_space_context_t * | context, |
ompd_address_space_handle_t ** | handle | ||
) |
◆ ompd_rel_address_space_handle()
ompd_rc_t ompd_rel_address_space_handle | ( | ompd_address_space_handle_t * | handle | ) |
◆ ompd_rel_display_control_vars()
ompd_rc_t ompd_rel_display_control_vars | ( | const char *const ** | control_vars | ) |
◆ ompd_rel_parallel_handle()
ompd_rc_t ompd_rel_parallel_handle | ( | ompd_parallel_handle_t * | parallel_handle | ) |
◆ ompd_rel_task_handle()
ompd_rc_t ompd_rel_task_handle | ( | ompd_task_handle_t * | task_handle | ) |
◆ ompd_rel_thread_handle()
ompd_rc_t ompd_rel_thread_handle | ( | ompd_thread_handle_t * | thread_handle | ) |
◆ ompd_task_handle_compare()
ompd_rc_t ompd_task_handle_compare | ( | ompd_task_handle_t * | task_handle_1, |
ompd_task_handle_t * | task_handle_2, | ||
int * | cmp_value | ||
) |
◆ ompd_thread_handle_compare()
ompd_rc_t ompd_thread_handle_compare | ( | ompd_thread_handle_t * | thread_handle_1, |
ompd_thread_handle_t * | thread_handle_2, | ||
int * | cmp_value | ||
) |
Generated by 1.9.8