LLVM OpenMP 20.0.0git
|
Go to the source code of this file.
Classes | |
struct | custom_data_pair_s |
Macros | |
#define | ompt_start_tool disable_ompt_start_tool |
#define | _TOOL_PREFIX " _first_tool:" |
#define | CLIENT_TOOL_LIBRARIES_VAR "CUSTOM_DATA_STORAGE_TOOL_LIBRARIES" |
#define | OMPT_MULTIPLEX_CUSTOM_GET_CLIENT_THREAD_DATA custom_get_client_ompt_data |
#define | OMPT_MULTIPLEX_CUSTOM_DELETE_THREAD_DATA free_data_pair |
#define | OMPT_MULTIPLEX_CUSTOM_GET_CLIENT_PARALLEL_DATA custom_get_client_ompt_data |
#define | OMPT_MULTIPLEX_CUSTOM_DELETE_PARALLEL_DATA free_data_pair |
#define | OMPT_MULTIPLEX_CUSTOM_GET_CLIENT_TASK_DATA custom_get_client_ompt_data |
#define | OMPT_MULTIPLEX_CUSTOM_DELETE_TASK_DATA free_data_pair |
#define | register_ompt_callback2_t(name, type) |
#define | register_ompt_callback2(name) register_ompt_callback2_t(name, name##_t) |
Typedefs | |
typedef struct custom_data_pair_s | custom_data_pair_t |
Functions | |
static ompt_data_t * | custom_get_client_ompt_data (ompt_data_t *) |
static void | free_data_pair (ompt_data_t *) |
static ompt_data_t * | get_own_ompt_data (ompt_data_t *data) |
static ompt_multiplex_data_pair_t * | allocate_data_pair (ompt_data_t *data_pointer) |
static void | on_cds_ompt_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 | on_cds_ompt_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 | on_cds_ompt_callback_flush (ompt_data_t *thread_data, const void *codeptr_ra) |
static void | on_cds_ompt_callback_cancel (ompt_data_t *task_data, int flags, const void *codeptr_ra) |
static void | on_cds_ompt_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 type) |
static void | on_cds_ompt_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 | on_cds_ompt_callback_master (ompt_scope_endpoint_t endpoint, ompt_data_t *parallel_data, ompt_data_t *task_data, const void *codeptr_ra) |
static void | on_cds_ompt_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 invoker, const void *codeptr_ra) |
static void | on_cds_ompt_callback_parallel_end (ompt_data_t *parallel_data, ompt_data_t *task_data, int invoker, const void *codeptr_ra) |
static void | on_cds_ompt_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 | on_cds_ompt_callback_task_schedule (ompt_data_t *first_task_data, ompt_task_status_t prior_task_status, ompt_data_t *second_task_data) |
static void | on_cds_ompt_callback_dependences (ompt_data_t *task_data, const ompt_dependence_t *deps, int ndeps) |
static void | on_cds_ompt_callback_task_dependence (ompt_data_t *first_task_data, ompt_data_t *second_task_data) |
static void | on_cds_ompt_callback_thread_begin (ompt_thread_t thread_type, ompt_data_t *thread_data) |
static void | on_cds_ompt_callback_thread_end (ompt_data_t *thread_data) |
static int | on_cds_ompt_callback_control_tool (uint64_t command, uint64_t modifier, void *arg, const void *codeptr_ra) |
ompt_data_t * | ompt_get_own_thread_data () |
int | ompt_cds_initialize (ompt_function_lookup_t lookup, int initial_device_num, ompt_data_t *tool_data) |
void | ompt_cds_finalize (ompt_data_t *tool_data) |
ompt_start_tool_result_t * | ompt_start_tool (unsigned int omp_version, const char *runtime_version) |
Variables | |
static ompt_get_thread_data_t | ompt_cds_get_thread_data |
#define _TOOL_PREFIX " _first_tool:" |
Definition at line 4 of file first-tool.h.
#define CLIENT_TOOL_LIBRARIES_VAR "CUSTOM_DATA_STORAGE_TOOL_LIBRARIES" |
Definition at line 9 of file first-tool.h.
#define OMPT_MULTIPLEX_CUSTOM_DELETE_PARALLEL_DATA free_data_pair |
Definition at line 16 of file first-tool.h.
#define OMPT_MULTIPLEX_CUSTOM_DELETE_TASK_DATA free_data_pair |
Definition at line 18 of file first-tool.h.
#define OMPT_MULTIPLEX_CUSTOM_DELETE_THREAD_DATA free_data_pair |
Definition at line 13 of file first-tool.h.
#define OMPT_MULTIPLEX_CUSTOM_GET_CLIENT_PARALLEL_DATA custom_get_client_ompt_data |
Definition at line 14 of file first-tool.h.
#define OMPT_MULTIPLEX_CUSTOM_GET_CLIENT_TASK_DATA custom_get_client_ompt_data |
Definition at line 17 of file first-tool.h.
#define OMPT_MULTIPLEX_CUSTOM_GET_CLIENT_THREAD_DATA custom_get_client_ompt_data |
Definition at line 12 of file first-tool.h.
#define ompt_start_tool disable_ompt_start_tool |
Definition at line 3 of file first-tool.h.
#define register_ompt_callback2 | ( | name | ) | register_ompt_callback2_t(name, name##_t) |
Definition at line 250 of file first-tool.h.
Definition at line 243 of file first-tool.h.
typedef struct custom_data_pair_s custom_data_pair_t |
|
static |
Definition at line 41 of file first-tool.h.
References ompt_multiplex_data_pair_s::client_data, and ompt_multiplex_data_pair_s::own_data.
Referenced by on_cds_ompt_callback_implicit_task(), on_cds_ompt_callback_parallel_begin(), on_cds_ompt_callback_task_create(), and on_cds_ompt_callback_thread_begin().
|
static |
Definition at line 26 of file first-tool.h.
References data.
|
static |
Definition at line 54 of file first-tool.h.
|
static |
Definition at line 33 of file first-tool.h.
References data.
Referenced by ompt_get_own_thread_data(), on_cds_ompt_callback_cancel(), on_cds_ompt_callback_control_tool(), on_cds_ompt_callback_dependences(), on_cds_ompt_callback_flush(), on_cds_ompt_callback_implicit_task(), on_cds_ompt_callback_master(), on_cds_ompt_callback_parallel_begin(), on_cds_ompt_callback_parallel_end(), on_cds_ompt_callback_sync_region(), on_cds_ompt_callback_sync_region_wait(), on_cds_ompt_callback_task_create(), on_cds_ompt_callback_task_dependence(), on_cds_ompt_callback_task_schedule(), on_cds_ompt_callback_thread_begin(), on_cds_ompt_callback_thread_end(), and on_cds_ompt_callback_work().
void ompt_cds_finalize | ( | ompt_data_t * | tool_data | ) |
Definition at line 284 of file first-tool.h.
Referenced by ompt_start_tool().
int ompt_cds_initialize | ( | ompt_function_lookup_t | lookup, |
int | initial_device_num, | ||
ompt_data_t * | tool_data | ||
) |
Definition at line 252 of file first-tool.h.
References ompt_cds_get_thread_data, ompt_get_own_thread_data(), ompt_get_thread_data, ompt_initialize(), register_ompt_callback, register_ompt_callback2, register_ompt_callback2_t, and register_ompt_callback_t.
Referenced by ompt_start_tool().
ompt_data_t * ompt_get_own_thread_data | ( | ) |
Definition at line 239 of file first-tool.h.
References get_own_ompt_data(), and ompt_cds_get_thread_data.
Referenced by ompt_cds_initialize().
ompt_start_tool_result_t * ompt_start_tool | ( | unsigned int | omp_version, |
const char * | runtime_version | ||
) |
Definition at line 288 of file first-tool.h.
References ompt_cds_finalize(), ompt_cds_initialize(), and ompt_start_tool_result.
|
static |
Definition at line 85 of file first-tool.h.
References get_own_ompt_data(), and on_ompt_callback_cancel().
|
static |
Definition at line 206 of file first-tool.h.
References get_own_ompt_data(), ompt_get_parallel_info, ompt_get_task_info, ompt_get_thread_data, and value.
|
static |
Definition at line 177 of file first-tool.h.
References get_own_ompt_data(), and on_ompt_callback_dependences().
|
static |
Definition at line 79 of file first-tool.h.
References get_own_ompt_data(), and on_cds_ompt_callback_flush().
Referenced by on_cds_ompt_callback_flush().
|
static |
Definition at line 91 of file first-tool.h.
References allocate_data_pair(), get_own_ompt_data(), on_ompt_callback_implicit_task(), and type.
|
static |
Definition at line 120 of file first-tool.h.
References get_own_ompt_data(), and on_ompt_callback_masked().
|
static |
Definition at line 129 of file first-tool.h.
References allocate_data_pair(), get_own_ompt_data(), and on_ompt_callback_parallel_begin().
|
static |
Definition at line 143 of file first-tool.h.
References get_own_ompt_data(), and on_ompt_callback_parallel_end().
|
static |
Definition at line 58 of file first-tool.h.
References get_own_ompt_data(), and on_ompt_callback_sync_region().
|
static |
Definition at line 69 of file first-tool.h.
References get_own_ompt_data(), and on_ompt_callback_sync_region_wait().
|
static |
Definition at line 152 of file first-tool.h.
References allocate_data_pair(), get_own_ompt_data(), on_ompt_callback_task_create(), and type.
|
static |
Definition at line 185 of file first-tool.h.
References get_own_ompt_data(), and on_ompt_callback_task_dependence().
|
static |
Definition at line 167 of file first-tool.h.
References get_own_ompt_data(), and on_ompt_callback_task_schedule().
|
static |
Definition at line 192 of file first-tool.h.
References allocate_data_pair(), get_own_ompt_data(), and on_ompt_callback_thread_begin().
|
static |
Definition at line 201 of file first-tool.h.
References get_own_ompt_data(), and on_ompt_callback_thread_end().
|
static |
Definition at line 109 of file first-tool.h.
References count, get_own_ompt_data(), and on_ompt_callback_work().
|
static |
Definition at line 238 of file first-tool.h.
Referenced by ompt_cds_initialize(), and ompt_get_own_thread_data().