LLVM OpenMP 20.0.0git
|
#include <dlfcn.h>
#include <errno.h>
#include <execinfo.h>
#include <inttypes.h>
#include <omp-tools.h>
#include <omp.h>
#include <stdio.h>
#include <string.h>
Go to the source code of this file.
Classes | |
struct | ompt_multiplex_callbacks_s |
struct | ompt_multiplex_callback_implementation_status_s |
struct | ompt_multiplex_data_pair_s |
Macros | |
#define | _GNU_SOURCE |
#define | CLIENT_TOOL_VERBOSE_INIT_VAR "OMP_TOOL_VERBOSE_INIT" |
#define | OMPT_API_ROUTINE static |
#define | OMPT_STR_MATCH(haystack, needle) (!strcasecmp(haystack, needle)) |
#define | OMPT_VERBOSE_INIT_PRINT(...) |
#define | OMPT_VERBOSE_INIT_CONTINUED_PRINT(...) |
#define | OMPT_LOAD_CLIENT_FOREACH_OMPT_EVENT(macro) |
#define | ompt_event_macro(event, callback, eventid) callback ompt_##event |
#define | ompt_event_macro(event, callback, eventid) int ompt_##event |
#define | ompt_event_macro(event_name, callback_type, event_id) |
#define | ompt_event_macro(event_name, callback_type, event_id) |
#define | ompt_event_macro(event_name, callback_type, event_id) ompt_multiplex_implementation_status.ompt_##event_name = -1 |
#define | ompt_start_tool ompt_multiplex_own_start_tool |
Typedefs | |
typedef struct ompt_multiplex_callbacks_s | ompt_multiplex_callbacks_t |
typedef struct ompt_multiplex_callback_implementation_status_s | ompt_multiplex_callback_implementation_status_t |
typedef struct ompt_multiplex_data_pair_s | ompt_multiplex_data_pair_t |
Functions | |
void | setup_verbose_init () |
static ompt_multiplex_data_pair_t * | ompt_multiplex_allocate_data_pair (ompt_data_t *data_pointer) |
static void | ompt_multiplex_free_data_pair (ompt_data_t *data_pointer) |
static ompt_data_t * | ompt_multiplex_get_own_ompt_data (ompt_data_t *data) |
static ompt_data_t * | ompt_multiplex_get_client_ompt_data (ompt_data_t *data) |
static ompt_data_t * | ompt_multiplex_get_own_thread_data (ompt_data_t *data) |
defined(OMPT_MULTIPLEX_CUSTOM_GET_CLIENT_THREAD_DATA) || | |
static ompt_data_t * | ompt_multiplex_get_own_parallel_data (ompt_data_t *data) |
static ompt_data_t * | ompt_multiplex_get_own_task_data (ompt_data_t *data) |
static ompt_data_t * | ompt_multiplex_get_client_thread_data (ompt_data_t *data) |
static ompt_data_t * | ompt_multiplex_get_client_parallel_data (ompt_data_t *data) |
static ompt_data_t * | ompt_multiplex_get_client_task_data (ompt_data_t *data) |
static void | ompt_multiplex_callback_mutex_acquire (ompt_mutex_t kind, unsigned int hint, unsigned int impl, ompt_wait_id_t wait_id, const void *codeptr_ra) |
static void | ompt_multiplex_callback_mutex_acquired (ompt_mutex_t kind, ompt_wait_id_t wait_id, const void *codeptr_ra) |
static void | ompt_multiplex_callback_mutex_released (ompt_mutex_t kind, ompt_wait_id_t wait_id, const void *codeptr_ra) |
static void | ompt_multiplex_callback_nest_lock (ompt_scope_endpoint_t endpoint, ompt_wait_id_t wait_id, const void *codeptr_ra) |
static void | ompt_multiplex_callback_sync_region (ompt_sync_region_t kind, ompt_scope_endpoint_t endpoint, ompt_data_t *parallel_data, ompt_data_t *task_data, const void *codeptr_ra) |
static void | ompt_multiplex_callback_sync_region_wait (ompt_sync_region_t kind, ompt_scope_endpoint_t endpoint, ompt_data_t *parallel_data, ompt_data_t *task_data, const void *codeptr_ra) |
static void | ompt_multiplex_callback_flush (ompt_data_t *thread_data, const void *codeptr_ra) |
static void | ompt_multiplex_callback_cancel (ompt_data_t *task_data, int flags, const void *codeptr_ra) |
static void | ompt_multiplex_callback_implicit_task (ompt_scope_endpoint_t endpoint, ompt_data_t *parallel_data, ompt_data_t *task_data, unsigned int team_size, unsigned int thread_num, int flags) |
static void | ompt_multiplex_callback_lock_init (ompt_mutex_t kind, unsigned int hint, unsigned int impl, ompt_wait_id_t wait_id, const void *codeptr_ra) |
static void | ompt_multiplex_callback_lock_destroy (ompt_mutex_t kind, ompt_wait_id_t wait_id, const void *codeptr_ra) |
static void | ompt_multiplex_callback_work (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) |
static void | ompt_multiplex_callback_masked (ompt_scope_endpoint_t endpoint, ompt_data_t *parallel_data, ompt_data_t *task_data, const void *codeptr_ra) |
static void | ompt_multiplex_callback_parallel_begin (ompt_data_t *parent_task_data, const ompt_frame_t *parent_task_frame, ompt_data_t *parallel_data, uint32_t requested_team_size, int flag, const void *codeptr_ra) |
static void | ompt_multiplex_callback_parallel_end (ompt_data_t *parallel_data, ompt_data_t *task_data, int flag, const void *codeptr_ra) |
static void | ompt_multiplex_callback_task_create (ompt_data_t *parent_task_data, const ompt_frame_t *parent_frame, ompt_data_t *new_task_data, int type, int has_dependences, const void *codeptr_ra) |
static void | ompt_multiplex_callback_task_schedule (ompt_data_t *first_task_data, ompt_task_status_t prior_task_status, ompt_data_t *second_task_data) |
static void | ompt_multiplex_callback_dependences (ompt_data_t *task_data, const ompt_dependence_t *deps, int ndeps) |
static void | ompt_multiplex_callback_task_dependence (ompt_data_t *first_task_data, ompt_data_t *second_task_data) |
static void | ompt_multiplex_callback_thread_begin (ompt_thread_t thread_type, ompt_data_t *thread_data) |
static void | ompt_multiplex_callback_thread_end (ompt_data_t *thread_data) |
static int | ompt_multiplex_callback_control_tool (uint64_t command, uint64_t modifier, void *arg, const void *codeptr_ra) |
static void | ompt_multiplex_callback_target (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) |
static void | ompt_multiplex_callback_target_data_op (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) |
static void | ompt_multiplex_callback_target_submit (ompt_id_t target_id, ompt_id_t host_op_id, unsigned int requested_num_teams) |
static void | ompt_multiplex_callback_device_initialize (int device_num, const char *type, ompt_device_t *device, ompt_function_lookup_t lookup, const char *documentation) |
static void | ompt_multiplex_callback_device_finalize (int device_num) |
static void | ompt_multiplex_callback_device_load (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) |
static void | ompt_multiplex_callback_device_unload (int device_num, uint64_t module_id) |
static void | ompt_multiplex_callback_target_map (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) |
static void | ompt_multiplex_callback_reduction (ompt_sync_region_t kind, ompt_scope_endpoint_t endpoint, ompt_data_t *parallel_data, ompt_data_t *task_data, const void *codeptr_ra) |
static void | ompt_multiplex_callback_dispatch (ompt_data_t *parallel_data, ompt_data_t *task_data, ompt_dispatch_t kind, ompt_data_t instance) |
int | ompt_multiplex_own_get_task_info (int ancestor_level, int *type, ompt_data_t **task_data, ompt_frame_t **task_frame, ompt_data_t **parallel_data, int *thread_num) |
int | ompt_multiplex_client_get_task_info (int ancestor_level, int *type, ompt_data_t **task_data, ompt_frame_t **task_frame, ompt_data_t **parallel_data, int *thread_num) |
ompt_data_t * | ompt_multiplex_own_get_thread_data () |
ompt_data_t * | ompt_multiplex_client_get_thread_data () |
int | ompt_multiplex_own_get_parallel_info (int ancestor_level, ompt_data_t **parallel_data, int *team_size) |
int | ompt_multiplex_client_get_parallel_info (int ancestor_level, ompt_data_t **parallel_data, int *team_size) |
OMPT_API_ROUTINE int | ompt_multiplex_own_set_callback (ompt_callbacks_t which, ompt_callback_t callback) |
OMPT_API_ROUTINE int | ompt_multiplex_client_set_callback (ompt_callbacks_t which, ompt_callback_t callback) |
ompt_interface_fn_t | ompt_multiplex_own_lookup (const char *name) |
ompt_interface_fn_t | ompt_multiplex_client_lookup (const char *name) |
int | ompt_multiplex_initialize (ompt_function_lookup_t lookup, int initial_device_num, ompt_data_t *data) |
void | ompt_multiplex_finalize (ompt_data_t *fns) |
ompt_start_tool_result_t * | ompt_multiplex_own_start_tool (unsigned int omp_version, const char *runtime_version) |
ompt_start_tool_result_t * | ompt_start_tool (unsigned int omp_version, const char *runtime_version) |
Variables | |
static ompt_set_callback_t | ompt_multiplex_set_callback |
static ompt_get_task_info_t | ompt_multiplex_get_task_info |
static ompt_get_thread_data_t | ompt_multiplex_get_thread_data |
static ompt_get_parallel_info_t | ompt_multiplex_get_parallel_info |
static FILE * | verbose_file |
static int | verbose_init |
ompt_start_tool_result_t * | ompt_multiplex_own_fns = NULL |
ompt_start_tool_result_t * | ompt_multiplex_client_fns = NULL |
ompt_function_lookup_t | ompt_multiplex_lookup_function |
ompt_multiplex_callbacks_t | ompt_multiplex_own_callbacks |
ompt_multiplex_callbacks_t | ompt_multiplex_client_callbacks |
ompt_multiplex_callback_implementation_status_t | ompt_multiplex_implementation_status |
#define _GNU_SOURCE |
Definition at line 20 of file ompt-multiplex.h.
#define CLIENT_TOOL_VERBOSE_INIT_VAR "OMP_TOOL_VERBOSE_INIT" |
Definition at line 54 of file ompt-multiplex.h.
#define OMPT_API_ROUTINE static |
Definition at line 77 of file ompt-multiplex.h.
Definition at line 163 of file ompt-multiplex.h.
Definition at line 163 of file ompt-multiplex.h.
#define ompt_event_macro | ( | event_name, | |
callback_type, | |||
event_id | |||
) |
Definition at line 163 of file ompt-multiplex.h.
#define ompt_event_macro | ( | event_name, | |
callback_type, | |||
event_id | |||
) |
Definition at line 163 of file ompt-multiplex.h.
#define ompt_event_macro | ( | event_name, | |
callback_type, | |||
event_id | |||
) | ompt_multiplex_implementation_status.ompt_##event_name = -1 |
Definition at line 163 of file ompt-multiplex.h.
#define OMPT_LOAD_CLIENT_FOREACH_OMPT_EVENT | ( | macro | ) |
Definition at line 120 of file ompt-multiplex.h.
#define ompt_start_tool ompt_multiplex_own_start_tool |
Definition at line 1206 of file ompt-multiplex.h.
#define OMPT_STR_MATCH | ( | haystack, | |
needle | |||
) | (!strcasecmp(haystack, needle)) |
Definition at line 80 of file ompt-multiplex.h.
#define OMPT_VERBOSE_INIT_CONTINUED_PRINT | ( | ... | ) |
Definition at line 90 of file ompt-multiplex.h.
#define OMPT_VERBOSE_INIT_PRINT | ( | ... | ) |
Definition at line 87 of file ompt-multiplex.h.
typedef struct ompt_multiplex_callback_implementation_status_s ompt_multiplex_callback_implementation_status_t |
typedef struct ompt_multiplex_callbacks_s ompt_multiplex_callbacks_t |
typedef struct ompt_multiplex_data_pair_s ompt_multiplex_data_pair_t |
|
static |
Definition at line 187 of file ompt-multiplex.h.
References ompt_multiplex_data_pair_s::client_data, and ompt_multiplex_data_pair_s::own_data.
Referenced by ompt_multiplex_callback_implicit_task(), ompt_multiplex_callback_parallel_begin(), ompt_multiplex_callback_task_create(), and ompt_multiplex_callback_thread_begin().
|
static |
Definition at line 374 of file ompt-multiplex.h.
References ompt_multiplex_client_callbacks, ompt_multiplex_get_client_task_data(), ompt_multiplex_get_own_task_data(), and ompt_multiplex_own_callbacks.
|
static |
Definition at line 737 of file ompt-multiplex.h.
References ompt_multiplex_client_callbacks, and ompt_multiplex_own_callbacks.
|
static |
Definition at line 661 of file ompt-multiplex.h.
References ompt_multiplex_client_callbacks, ompt_multiplex_get_client_task_data(), ompt_multiplex_get_own_task_data(), and ompt_multiplex_own_callbacks.
Definition at line 809 of file ompt-multiplex.h.
References ompt_multiplex_client_callbacks, and ompt_multiplex_own_callbacks.
|
static |
Definition at line 796 of file ompt-multiplex.h.
References ompt_multiplex_client_callbacks, ompt_multiplex_own_callbacks, and type.
|
static |
Definition at line 819 of file ompt-multiplex.h.
References ompt_multiplex_client_callbacks, and ompt_multiplex_own_callbacks.
Definition at line 835 of file ompt-multiplex.h.
References ompt_multiplex_client_callbacks, and ompt_multiplex_own_callbacks.
|
static |
|
static |
Definition at line 362 of file ompt-multiplex.h.
References ompt_multiplex_client_callbacks, ompt_multiplex_get_client_thread_data(), ompt_multiplex_get_own_thread_data(), and ompt_multiplex_own_callbacks.
|
static |
Definition at line 386 of file ompt-multiplex.h.
References ompt_multiplex_allocate_data_pair(), ompt_multiplex_client_callbacks, OMPT_MULTIPLEX_CUSTOM_DELETE_PARALLEL_DATA, OMPT_MULTIPLEX_CUSTOM_DELETE_TASK_DATA, ompt_multiplex_free_data_pair(), ompt_multiplex_get_client_parallel_data(), ompt_multiplex_get_client_task_data(), ompt_multiplex_get_own_parallel_data(), ompt_multiplex_get_own_task_data(), and ompt_multiplex_own_callbacks.
|
static |
Definition at line 469 of file ompt-multiplex.h.
References ompt_multiplex_client_callbacks, and ompt_multiplex_own_callbacks.
|
static |
Definition at line 454 of file ompt-multiplex.h.
References ompt_multiplex_client_callbacks, and ompt_multiplex_own_callbacks.
|
static |
Definition at line 275 of file ompt-multiplex.h.
References ompt_multiplex_client_callbacks, and ompt_multiplex_own_callbacks.
|
static |
Definition at line 290 of file ompt-multiplex.h.
References ompt_multiplex_client_callbacks, and ompt_multiplex_own_callbacks.
|
static |
Definition at line 303 of file ompt-multiplex.h.
References ompt_multiplex_client_callbacks, and ompt_multiplex_own_callbacks.
|
static |
Definition at line 316 of file ompt-multiplex.h.
References ompt_multiplex_client_callbacks, and ompt_multiplex_own_callbacks.
|
static |
Definition at line 516 of file ompt-multiplex.h.
References flag, ompt_multiplex_allocate_data_pair(), ompt_multiplex_client_callbacks, ompt_multiplex_get_client_parallel_data(), ompt_multiplex_get_client_task_data(), ompt_multiplex_get_own_parallel_data(), ompt_multiplex_get_own_task_data(), and ompt_multiplex_own_callbacks.
|
static |
Definition at line 538 of file ompt-multiplex.h.
References flag, ompt_multiplex_client_callbacks, OMPT_MULTIPLEX_CUSTOM_DELETE_PARALLEL_DATA, ompt_multiplex_free_data_pair(), ompt_multiplex_get_client_parallel_data(), ompt_multiplex_get_client_task_data(), ompt_multiplex_get_own_parallel_data(), ompt_multiplex_get_own_task_data(), and ompt_multiplex_own_callbacks.
|
static |
Definition at line 752 of file ompt-multiplex.h.
References ompt_multiplex_client_callbacks, ompt_multiplex_get_client_task_data(), ompt_multiplex_get_own_task_data(), and ompt_multiplex_own_callbacks.
|
static |
Definition at line 767 of file ompt-multiplex.h.
References ompt_multiplex_client_callbacks, and ompt_multiplex_own_callbacks.
|
static |
Definition at line 848 of file ompt-multiplex.h.
References ompt_multiplex_client_callbacks, and ompt_multiplex_own_callbacks.
|
static |
Definition at line 784 of file ompt-multiplex.h.
References ompt_multiplex_client_callbacks, and ompt_multiplex_own_callbacks.
|
static |
Definition at line 577 of file ompt-multiplex.h.
References ompt_multiplex_allocate_data_pair(), ompt_multiplex_client_callbacks, ompt_multiplex_get_client_task_data(), ompt_multiplex_get_own_task_data(), ompt_multiplex_get_parallel_info, ompt_multiplex_own_callbacks, and type.
|
static |
Definition at line 675 of file ompt-multiplex.h.
References ompt_multiplex_client_callbacks, ompt_multiplex_get_client_task_data(), ompt_multiplex_get_own_task_data(), and ompt_multiplex_own_callbacks.
|
static |
Definition at line 608 of file ompt-multiplex.h.
References ompt_multiplex_client_callbacks, OMPT_MULTIPLEX_CUSTOM_DELETE_TASK_DATA, ompt_multiplex_free_data_pair(), ompt_multiplex_get_client_task_data(), ompt_multiplex_get_own_task_data(), and ompt_multiplex_own_callbacks.
|
static |
Definition at line 689 of file ompt-multiplex.h.
References ompt_multiplex_allocate_data_pair(), ompt_multiplex_client_callbacks, ompt_multiplex_get_client_thread_data(), ompt_multiplex_get_own_thread_data(), and ompt_multiplex_own_callbacks.
|
static |
Definition at line 704 of file ompt-multiplex.h.
References ompt_multiplex_client_callbacks, OMPT_MULTIPLEX_CUSTOM_DELETE_THREAD_DATA, ompt_multiplex_free_data_pair(), ompt_multiplex_get_client_thread_data(), ompt_multiplex_get_own_thread_data(), and ompt_multiplex_own_callbacks.
int ompt_multiplex_client_get_parallel_info | ( | int | ancestor_level, |
ompt_data_t ** | parallel_data, | ||
int * | team_size | ||
) |
Definition at line 974 of file ompt-multiplex.h.
References OMPT_MULTIPLEX_CUSTOM_GET_CLIENT_PARALLEL_DATA, ompt_multiplex_get_client_ompt_data(), ompt_multiplex_get_parallel_info, and ret.
Referenced by ompt_multiplex_client_lookup().
int ompt_multiplex_client_get_task_info | ( | int | ancestor_level, |
int * | type, | ||
ompt_data_t ** | task_data, | ||
ompt_frame_t ** | task_frame, | ||
ompt_data_t ** | parallel_data, | ||
int * | thread_num | ||
) |
Definition at line 918 of file ompt-multiplex.h.
References OMPT_MULTIPLEX_CUSTOM_GET_CLIENT_PARALLEL_DATA, OMPT_MULTIPLEX_CUSTOM_GET_CLIENT_TASK_DATA, ompt_multiplex_get_client_ompt_data(), ompt_multiplex_get_task_info, ret, and type.
Referenced by ompt_multiplex_client_lookup().
ompt_data_t * ompt_multiplex_client_get_thread_data | ( | ) |
Definition at line 953 of file ompt-multiplex.h.
References OMPT_MULTIPLEX_CUSTOM_GET_CLIENT_THREAD_DATA, ompt_multiplex_get_client_ompt_data(), ompt_multiplex_get_thread_data, and ret.
Referenced by ompt_multiplex_client_lookup().
ompt_interface_fn_t ompt_multiplex_client_lookup | ( | const char * | name | ) |
Definition at line 1052 of file ompt-multiplex.h.
References name, ompt_multiplex_client_get_parallel_info(), ompt_multiplex_client_get_task_info(), ompt_multiplex_client_get_thread_data(), ompt_multiplex_client_set_callback(), and ompt_multiplex_lookup_function.
Referenced by ompt_multiplex_initialize().
OMPT_API_ROUTINE int ompt_multiplex_client_set_callback | ( | ompt_callbacks_t | which, |
ompt_callback_t | callback | ||
) |
Definition at line 1014 of file ompt-multiplex.h.
References ompt_event_macro, and OMPT_LOAD_CLIENT_FOREACH_OMPT_EVENT.
Referenced by ompt_multiplex_client_lookup().
void ompt_multiplex_finalize | ( | ompt_data_t * | fns | ) |
Definition at line 1097 of file ompt-multiplex.h.
References ompt_multiplex_client_fns, and ompt_multiplex_own_fns.
Referenced by ompt_start_tool().
|
static |
Definition at line 200 of file ompt-multiplex.h.
Referenced by ompt_multiplex_callback_implicit_task(), ompt_multiplex_callback_parallel_end(), ompt_multiplex_callback_task_schedule(), and ompt_multiplex_callback_thread_end().
|
static |
Definition at line 214 of file ompt-multiplex.h.
References ompt_multiplex_data_pair_s::client_data, and data.
Referenced by ompt_multiplex_client_get_parallel_info(), ompt_multiplex_client_get_task_info(), ompt_multiplex_client_get_thread_data(), ompt_multiplex_get_client_parallel_data(), ompt_multiplex_get_client_task_data(), and ompt_multiplex_get_client_thread_data().
|
static |
Definition at line 259 of file ompt-multiplex.h.
References data, OMPT_MULTIPLEX_CUSTOM_GET_CLIENT_PARALLEL_DATA, and ompt_multiplex_get_client_ompt_data().
Referenced by ompt_multiplex_callback_dispatch(), ompt_multiplex_callback_implicit_task(), ompt_multiplex_callback_masked(), ompt_multiplex_callback_parallel_begin(), ompt_multiplex_callback_parallel_end(), ompt_multiplex_callback_reduction(), ompt_multiplex_callback_sync_region(), ompt_multiplex_callback_sync_region_wait(), and ompt_multiplex_callback_work().
|
static |
Definition at line 267 of file ompt-multiplex.h.
References data, OMPT_MULTIPLEX_CUSTOM_GET_CLIENT_TASK_DATA, and ompt_multiplex_get_client_ompt_data().
Referenced by ompt_multiplex_callback_cancel(), ompt_multiplex_callback_dependences(), ompt_multiplex_callback_dispatch(), ompt_multiplex_callback_implicit_task(), ompt_multiplex_callback_masked(), ompt_multiplex_callback_parallel_begin(), ompt_multiplex_callback_parallel_end(), ompt_multiplex_callback_reduction(), ompt_multiplex_callback_sync_region(), ompt_multiplex_callback_sync_region_wait(), ompt_multiplex_callback_target(), ompt_multiplex_callback_task_create(), ompt_multiplex_callback_task_dependence(), ompt_multiplex_callback_task_schedule(), and ompt_multiplex_callback_work().
|
static |
Definition at line 251 of file ompt-multiplex.h.
References data, OMPT_MULTIPLEX_CUSTOM_GET_CLIENT_THREAD_DATA, and ompt_multiplex_get_client_ompt_data().
Referenced by ompt_multiplex_callback_flush(), ompt_multiplex_callback_thread_begin(), and ompt_multiplex_callback_thread_end().
|
static |
Definition at line 204 of file ompt-multiplex.h.
References data, and ompt_multiplex_data_pair_s::own_data.
Referenced by ompt_multiplex_get_own_parallel_data(), ompt_multiplex_get_own_task_data(), ompt_multiplex_get_own_thread_data(), ompt_multiplex_own_get_task_info(), and ompt_multiplex_own_get_thread_data().
|
static |
Definition at line 235 of file ompt-multiplex.h.
References data, and ompt_multiplex_get_own_ompt_data().
Referenced by ompt_multiplex_callback_dispatch(), ompt_multiplex_callback_implicit_task(), ompt_multiplex_callback_masked(), ompt_multiplex_callback_parallel_begin(), ompt_multiplex_callback_parallel_end(), ompt_multiplex_callback_reduction(), ompt_multiplex_callback_sync_region(), ompt_multiplex_callback_sync_region_wait(), ompt_multiplex_callback_work(), and ompt_multiplex_own_get_parallel_info().
|
static |
Definition at line 243 of file ompt-multiplex.h.
References data, and ompt_multiplex_get_own_ompt_data().
Referenced by ompt_multiplex_callback_cancel(), ompt_multiplex_callback_dependences(), ompt_multiplex_callback_dispatch(), ompt_multiplex_callback_implicit_task(), ompt_multiplex_callback_masked(), ompt_multiplex_callback_parallel_begin(), ompt_multiplex_callback_parallel_end(), ompt_multiplex_callback_reduction(), ompt_multiplex_callback_sync_region(), ompt_multiplex_callback_sync_region_wait(), ompt_multiplex_callback_target(), ompt_multiplex_callback_task_create(), ompt_multiplex_callback_task_dependence(), ompt_multiplex_callback_task_schedule(), and ompt_multiplex_callback_work().
|
static |
defined(OMPT_MULTIPLEX_CUSTOM_GET_CLIENT_THREAD_DATA) ||
!defined(OMPT_MULTIPLEX_CUSTOM_GET_CLIENT_PARALLEL_DATA) || !defined(OMPT_MULTIPLEX_CUSTOM_GET_CLIENT_TASK_DATA)
Definition at line 227 of file ompt-multiplex.h.
References data, and ompt_multiplex_get_own_ompt_data().
Referenced by ompt_multiplex_callback_flush(), ompt_multiplex_callback_thread_begin(), and ompt_multiplex_callback_thread_end().
int ompt_multiplex_initialize | ( | ompt_function_lookup_t | lookup, |
int | initial_device_num, | ||
ompt_data_t * | data | ||
) |
Definition at line 1065 of file ompt-multiplex.h.
References ompt_event_macro, OMPT_LOAD_CLIENT_FOREACH_OMPT_EVENT, ompt_multiplex_client_fns, ompt_multiplex_client_lookup(), ompt_multiplex_get_parallel_info, ompt_multiplex_get_task_info, ompt_multiplex_get_thread_data, ompt_multiplex_lookup_function, ompt_multiplex_own_fns, ompt_multiplex_own_lookup(), and ompt_multiplex_set_callback.
Referenced by ompt_start_tool().
int ompt_multiplex_own_get_parallel_info | ( | int | ancestor_level, |
ompt_data_t ** | parallel_data, | ||
int * | team_size | ||
) |
Definition at line 964 of file ompt-multiplex.h.
References ompt_multiplex_get_own_parallel_data(), ompt_multiplex_get_parallel_info, and ret.
Referenced by ompt_multiplex_own_lookup().
int ompt_multiplex_own_get_task_info | ( | int | ancestor_level, |
int * | type, | ||
ompt_data_t ** | task_data, | ||
ompt_frame_t ** | task_frame, | ||
ompt_data_t ** | parallel_data, | ||
int * | thread_num | ||
) |
Definition at line 899 of file ompt-multiplex.h.
References ompt_multiplex_get_own_ompt_data(), ompt_multiplex_get_task_info, ret, and type.
Referenced by ompt_multiplex_own_lookup().
ompt_data_t * ompt_multiplex_own_get_thread_data | ( | ) |
Definition at line 943 of file ompt-multiplex.h.
References ompt_multiplex_get_own_ompt_data(), ompt_multiplex_get_thread_data, and ret.
Referenced by ompt_multiplex_own_lookup().
ompt_interface_fn_t ompt_multiplex_own_lookup | ( | const char * | name | ) |
Definition at line 1039 of file ompt-multiplex.h.
References name, ompt_multiplex_lookup_function, ompt_multiplex_own_get_parallel_info(), ompt_multiplex_own_get_task_info(), ompt_multiplex_own_get_thread_data(), and ompt_multiplex_own_set_callback().
Referenced by ompt_multiplex_initialize().
OMPT_API_ROUTINE int ompt_multiplex_own_set_callback | ( | ompt_callbacks_t | which, |
ompt_callback_t | callback | ||
) |
Definition at line 989 of file ompt-multiplex.h.
References ompt_event_macro, and OMPT_LOAD_CLIENT_FOREACH_OMPT_EVENT.
Referenced by ompt_multiplex_own_lookup().
ompt_start_tool_result_t * ompt_multiplex_own_start_tool | ( | unsigned int | omp_version, |
const char * | runtime_version | ||
) |
Referenced by ompt_start_tool().
ompt_start_tool_result_t * ompt_start_tool | ( | unsigned int | omp_version, |
const char * | runtime_version | ||
) |
Definition at line 1114 of file ompt-multiplex.h.
References CLIENT_TOOL_LIBRARIES_VAR, h, int, ompt_multiplex_client_fns, ompt_multiplex_finalize(), ompt_multiplex_initialize(), ompt_multiplex_own_fns, ompt_multiplex_own_start_tool(), ompt_start_tool_result, OMPT_VERBOSE_INIT_CONTINUED_PRINT, OMPT_VERBOSE_INIT_PRINT, setup_verbose_init(), verbose_file, and verbose_init.
void setup_verbose_init | ( | ) |
Definition at line 97 of file ompt-multiplex.h.
References CLIENT_TOOL_VERBOSE_INIT_VAR, OMPT_STR_MATCH, verbose_file, and verbose_init.
Referenced by ompt_start_tool().
ompt_multiplex_callbacks_t ompt_multiplex_client_callbacks |
Definition at line 174 of file ompt-multiplex.h.
Referenced by ompt_multiplex_callback_cancel(), ompt_multiplex_callback_control_tool(), ompt_multiplex_callback_dependences(), ompt_multiplex_callback_device_finalize(), ompt_multiplex_callback_device_initialize(), ompt_multiplex_callback_device_load(), ompt_multiplex_callback_device_unload(), ompt_multiplex_callback_dispatch(), ompt_multiplex_callback_flush(), ompt_multiplex_callback_implicit_task(), ompt_multiplex_callback_lock_destroy(), ompt_multiplex_callback_lock_init(), ompt_multiplex_callback_masked(), ompt_multiplex_callback_mutex_acquire(), ompt_multiplex_callback_mutex_acquired(), ompt_multiplex_callback_mutex_released(), ompt_multiplex_callback_nest_lock(), ompt_multiplex_callback_parallel_begin(), ompt_multiplex_callback_parallel_end(), ompt_multiplex_callback_reduction(), ompt_multiplex_callback_sync_region(), ompt_multiplex_callback_sync_region_wait(), ompt_multiplex_callback_target(), ompt_multiplex_callback_target_data_op(), ompt_multiplex_callback_target_map(), ompt_multiplex_callback_target_submit(), ompt_multiplex_callback_task_create(), ompt_multiplex_callback_task_dependence(), ompt_multiplex_callback_task_schedule(), ompt_multiplex_callback_thread_begin(), ompt_multiplex_callback_thread_end(), and ompt_multiplex_callback_work().
ompt_start_tool_result_t* ompt_multiplex_client_fns = NULL |
Definition at line 171 of file ompt-multiplex.h.
Referenced by ompt_multiplex_finalize(), ompt_multiplex_initialize(), and ompt_start_tool().
|
static |
Definition at line 34 of file ompt-multiplex.h.
Referenced by ompt_multiplex_callback_task_create(), ompt_multiplex_client_get_parallel_info(), ompt_multiplex_initialize(), and ompt_multiplex_own_get_parallel_info().
|
static |
Definition at line 32 of file ompt-multiplex.h.
Referenced by ompt_multiplex_client_get_task_info(), ompt_multiplex_initialize(), and ompt_multiplex_own_get_task_info().
|
static |
Definition at line 33 of file ompt-multiplex.h.
Referenced by ompt_multiplex_client_get_thread_data(), ompt_multiplex_initialize(), and ompt_multiplex_own_get_thread_data().
ompt_multiplex_callback_implementation_status_t ompt_multiplex_implementation_status |
Definition at line 176 of file ompt-multiplex.h.
ompt_function_lookup_t ompt_multiplex_lookup_function |
Definition at line 172 of file ompt-multiplex.h.
Referenced by ompt_multiplex_client_lookup(), ompt_multiplex_initialize(), and ompt_multiplex_own_lookup().
ompt_multiplex_callbacks_t ompt_multiplex_own_callbacks |
Definition at line 173 of file ompt-multiplex.h.
Referenced by ompt_multiplex_callback_cancel(), ompt_multiplex_callback_control_tool(), ompt_multiplex_callback_dependences(), ompt_multiplex_callback_device_finalize(), ompt_multiplex_callback_device_initialize(), ompt_multiplex_callback_device_load(), ompt_multiplex_callback_device_unload(), ompt_multiplex_callback_dispatch(), ompt_multiplex_callback_flush(), ompt_multiplex_callback_implicit_task(), ompt_multiplex_callback_lock_destroy(), ompt_multiplex_callback_lock_init(), ompt_multiplex_callback_masked(), ompt_multiplex_callback_mutex_acquire(), ompt_multiplex_callback_mutex_acquired(), ompt_multiplex_callback_mutex_released(), ompt_multiplex_callback_nest_lock(), ompt_multiplex_callback_parallel_begin(), ompt_multiplex_callback_parallel_end(), ompt_multiplex_callback_reduction(), ompt_multiplex_callback_sync_region(), ompt_multiplex_callback_sync_region_wait(), ompt_multiplex_callback_target(), ompt_multiplex_callback_target_data_op(), ompt_multiplex_callback_target_map(), ompt_multiplex_callback_target_submit(), ompt_multiplex_callback_task_create(), ompt_multiplex_callback_task_dependence(), ompt_multiplex_callback_task_schedule(), ompt_multiplex_callback_thread_begin(), ompt_multiplex_callback_thread_end(), and ompt_multiplex_callback_work().
ompt_start_tool_result_t* ompt_multiplex_own_fns = NULL |
Definition at line 170 of file ompt-multiplex.h.
Referenced by ompt_multiplex_finalize(), ompt_multiplex_initialize(), and ompt_start_tool().
|
static |
Definition at line 31 of file ompt-multiplex.h.
Referenced by ompt_multiplex_initialize().
|
static |
Definition at line 94 of file ompt-multiplex.h.
Referenced by ompt_start_tool(), and setup_verbose_init().
|
static |
Definition at line 95 of file ompt-multiplex.h.
Referenced by ompt_start_tool(), and setup_verbose_init().