6#define USE_PRIVATE_TOOL 1
12#pragma omp parallel num_threads(2)
28 ompt_data_t *parallel_data,
29 ompt_data_t *task_data,
30 const void *codeptr_ra) {
32 case ompt_scope_begin:
34 " ompt_event_master_begin: codeptr_ra=%p\n",
39 " ompt_event_master_end: codeptr_ra=%p\n",
42 case ompt_scope_beginend:
43 printf(
"ompt_scope_beginend should never be passed to %s\n", __func__);
49 ompt_data_t *thread_data) {
51 printf(
"%s\n",
"0: thread_data initially not null");
54 " ompt_event_thread_begin: thread_type=%s=%d, thread_id=%" PRIu64
"\n",
56 thread_type, thread_data->value);
60 ompt_data_t *tool_data) {
66 printf(
"0: NULL_POINTER=%p\n", (
void *)NULL);
73 const char *runtime_version) {
#define print_fuzzy_address(id)
static const char * ompt_thread_t_values[]
static ompt_set_callback_t ompt_set_callback
#define register_ompt_callback(name)
static ompt_get_unique_id_t ompt_get_unique_id
#define print_current_address(id)
static ompt_get_thread_data_t ompt_get_thread_data
void const char const char int ITT_FORMAT __itt_group_sync x void const char ITT_FORMAT __itt_group_sync s void ITT_FORMAT __itt_group_sync p void ITT_FORMAT p void ITT_FORMAT p no args __itt_suppress_mode_t unsigned int void size_t ITT_FORMAT d void ITT_FORMAT p void ITT_FORMAT p __itt_model_site __itt_model_site_instance ITT_FORMAT p __itt_model_task __itt_model_task_instance ITT_FORMAT p void ITT_FORMAT p void ITT_FORMAT p void size_t ITT_FORMAT d void ITT_FORMAT p const wchar_t ITT_FORMAT s const char ITT_FORMAT s const char ITT_FORMAT s const char ITT_FORMAT s no args void ITT_FORMAT p size_t ITT_FORMAT d no args const wchar_t const wchar_t ITT_FORMAT s __itt_heap_function void size_t int ITT_FORMAT d __itt_heap_function void ITT_FORMAT p __itt_heap_function void void size_t int ITT_FORMAT d no args no args unsigned int ITT_FORMAT u const __itt_domain __itt_id ITT_FORMAT lu const __itt_domain __itt_id __itt_id __itt_string_handle ITT_FORMAT p const __itt_domain __itt_id ITT_FORMAT p const __itt_domain __itt_id __itt_timestamp __itt_timestamp ITT_FORMAT lu const __itt_domain __itt_id __itt_id __itt_string_handle ITT_FORMAT p const __itt_domain ITT_FORMAT p const __itt_domain __itt_string_handle unsigned long long value
struct ompt_start_tool_result_t ompt_start_tool_result_t
int ompt_initialize(ompt_function_lookup_t lookup, int initial_device_num, ompt_data_t *tool_data)
void ompt_finalize(ompt_data_t *tool_data)
static void on_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_ompt_callback_thread_begin(ompt_thread_t thread_type, ompt_data_t *thread_data)
static ompt_start_tool_result_t * ompt_start_tool_result