LLVM OpenMP 20.0.0git
Macros | Functions
master.c File Reference
#include "callback.h"
#include <omp.h>

Go to the source code of this file.

Macros

#define USE_PRIVATE_TOOL   1
 

Functions

int main ()
 
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)
 
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_tompt_start_tool (unsigned int omp_version, const char *runtime_version)
 

Macro Definition Documentation

◆ USE_PRIVATE_TOOL

#define USE_PRIVATE_TOOL   1

Definition at line 6 of file master.c.

Function Documentation

◆ main()

int main ( void  )

Definition at line 10 of file master.c.

References ompt_get_thread_data, print_current_address, print_fuzzy_address, and value.

◆ ompt_finalize()

void ompt_finalize ( ompt_data_t *  tool_data)

Definition at line 70 of file master.c.

Referenced by ompt_start_tool().

◆ ompt_initialize()

int ompt_initialize ( ompt_function_lookup_t  lookup,
int  initial_device_num,
ompt_data_t *  tool_data 
)

Definition at line 59 of file master.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()

ompt_start_tool_result_t * ompt_start_tool ( unsigned int  omp_version,
const char runtime_version 
)

Definition at line 72 of file master.c.

References ompt_finalize(), ompt_initialize(), and ompt_start_tool_result.

◆ on_ompt_callback_master()

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

Definition at line 27 of file master.c.

References _TOOL_PREFIX, ompt_get_thread_data, and value.

◆ on_ompt_callback_thread_begin()

static void on_ompt_callback_thread_begin ( ompt_thread_t  thread_type,
ompt_data_t *  thread_data 
)
static