LLVM OpenMP 20.0.0git
|
#include "callback.h"
Go to the source code of this file.
Macros | |
#define | USE_PRIVATE_TOOL 1 |
Functions | |
__attribute__ ((noinline)) | |
int | main () |
static void | on_ompt_callback_thread_begin (ompt_thread_t thread_type, ompt_data_t *thread_data) |
static void | on_ompt_callback_parallel_begin (ompt_data_t *encountering_task_data, const ompt_frame_t *encountering_task_frame, ompt_data_t *parallel_data, uint32_t requested_team_size, int flag, const void *codeptr_ra) |
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) |
ompt_start_tool_result_t * | ompt_start_tool (unsigned int omp_version, const char *runtime_version) |
#define USE_PRIVATE_TOOL 1 |
Definition at line 4 of file repeated_calls.c.
__attribute__ | ( | (noinline) | ) |
Definition at line 7 of file repeated_calls.c.
void ompt_finalize | ( | ompt_data_t * | tool_data | ) |
Definition at line 95 of file repeated_calls.c.
Referenced by ompt_start_tool().
int ompt_initialize | ( | ompt_function_lookup_t | lookup, |
int | initial_device_num, | ||
ompt_data_t * | tool_data | ||
) |
Definition at line 83 of file repeated_calls.c.
References ompt_get_thread_data, ompt_get_unique_id, ompt_set_callback, and register_ompt_callback.
Referenced by ompt_start_tool().
ompt_start_tool_result_t * ompt_start_tool | ( | unsigned int | omp_version, |
const char * | runtime_version | ||
) |
Definition at line 97 of file repeated_calls.c.
References ompt_finalize(), ompt_initialize(), and ompt_start_tool_result.
|
static |
Definition at line 62 of file repeated_calls.c.
References _TOOL_PREFIX, event, flag, ompt_get_thread_data, ompt_get_unique_id, size, and value.
|
static |
Definition at line 50 of file repeated_calls.c.
References _TOOL_PREFIX, ompt_get_thread_data, ompt_get_unique_id, ompt_thread_t_values, and value.