LLVM OpenMP 20.0.0git
|
#include <stdio.h>
#include <unistd.h>
#include <inttypes.h>
#include <omp.h>
#include <omp-tools.h>
Go to the source code of this file.
Macros | |
#define | _BSD_SOURCE |
#define | register_ompt_callback_t(name, type) |
#define | register_ompt_callback(name) register_ompt_callback_t(name, name##_t) |
Functions | |
int | main () |
static void | on_ompt_callback_thread_begin (ompt_thread_t thread_type, ompt_data_t *thread_data) |
static void | on_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_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) |
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) |
Variables | |
static const char * | ompt_thread_t_values [] |
static ompt_get_unique_id_t | ompt_get_unique_id |
static ompt_get_thread_data_t | ompt_get_thread_data |
#define _BSD_SOURCE |
Definition at line 10 of file implicit_task_data.c.
#define register_ompt_callback | ( | name | ) | register_ompt_callback_t(name, name##_t) |
Definition at line 138 of file implicit_task_data.c.
Definition at line 130 of file implicit_task_data.c.
Definition at line 27 of file implicit_task_data.c.
void ompt_finalize | ( | ompt_data_t * | tool_data | ) |
Definition at line 153 of file implicit_task_data.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 140 of file implicit_task_data.c.
References ompt_get_thread_data, ompt_get_unique_id, ompt_set_callback, register_ompt_callback, and register_ompt_callback_t.
Referenced by ompt_start_tool().
ompt_start_tool_result_t * ompt_start_tool | ( | unsigned int | omp_version, |
const char * | runtime_version | ||
) |
Definition at line 158 of file implicit_task_data.c.
References ompt_finalize(), ompt_initialize(), and ompt_start_tool_result.
|
static |
Definition at line 73 of file implicit_task_data.c.
References ompt_get_thread_data, ompt_get_unique_id, and value.
|
static |
Definition at line 103 of file implicit_task_data.c.
References ompt_get_thread_data, and value.
|
static |
Definition at line 62 of file implicit_task_data.c.
References ompt_get_thread_data, ompt_get_unique_id, ompt_thread_t_values, and value.
|
static |
Definition at line 25 of file implicit_task_data.c.
Referenced by ompt_initialize(), on_ompt_callback_sync_region(), on_ompt_callback_sync_region_wait(), and on_ompt_callback_thread_begin().
|
static |
Definition at line 24 of file implicit_task_data.c.
Referenced by ompt_initialize(), on_ompt_callback_sync_region(), and on_ompt_callback_thread_begin().
|
static |
Definition at line 17 of file implicit_task_data.c.
Referenced by on_ompt_callback_thread_begin().