LLVM OpenMP 22.0.0git
api_calls_without_ompt.c File Reference
#include <stdio.h>
#include <inttypes.h>
#include <omp.h>
#include <omp-tools.h>

Go to the source code of this file.

Macros

#define _BSD_SOURCE
#define _DEFAULT_SOURCE

Functions

int main ()
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)

Variables

static ompt_set_callback_t ompt_set_callback
static ompt_get_callback_t ompt_get_callback
static ompt_get_state_t ompt_get_state
static ompt_get_task_info_t ompt_get_task_info
static ompt_get_thread_data_t ompt_get_thread_data
static ompt_get_parallel_info_t ompt_get_parallel_info
static ompt_get_unique_id_t ompt_get_unique_id
static ompt_get_num_procs_t ompt_get_num_procs
static ompt_get_num_places_t ompt_get_num_places
static ompt_get_place_proc_ids_t ompt_get_place_proc_ids
static ompt_get_place_num_t ompt_get_place_num
static ompt_get_partition_place_nums_t ompt_get_partition_place_nums
static ompt_get_proc_id_t ompt_get_proc_id
static ompt_enumerate_states_t ompt_enumerate_states
static ompt_enumerate_mutex_impls_t ompt_enumerate_mutex_impls

Macro Definition Documentation

◆ _BSD_SOURCE

#define _BSD_SOURCE

Definition at line 6 of file api_calls_without_ompt.c.

◆ _DEFAULT_SOURCE

#define _DEFAULT_SOURCE

Definition at line 7 of file api_calls_without_ompt.c.

Function Documentation

◆ main()

◆ ompt_finalize()

void ompt_finalize ( ompt_data_t * tool_data)

Definition at line 144 of file api_calls_without_ompt.c.

◆ ompt_initialize()

◆ ompt_start_tool()

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

Variable Documentation

◆ ompt_enumerate_mutex_impls

ompt_enumerate_mutex_impls_t ompt_enumerate_mutex_impls
static

Definition at line 28 of file api_calls_without_ompt.c.

Referenced by main().

◆ ompt_enumerate_states

ompt_enumerate_states_t ompt_enumerate_states
static

Definition at line 27 of file api_calls_without_ompt.c.

Referenced by main().

◆ ompt_get_callback

ompt_get_callback_t ompt_get_callback
static

Definition at line 15 of file api_calls_without_ompt.c.

Referenced by main().

◆ ompt_get_num_places

ompt_get_num_places_t ompt_get_num_places ( void )
static

Definition at line 22 of file api_calls_without_ompt.c.

Referenced by main().

◆ ompt_get_num_procs

ompt_get_num_procs_t ompt_get_num_procs ( void )
static

Definition at line 21 of file api_calls_without_ompt.c.

Referenced by main().

◆ ompt_get_parallel_info

ompt_get_parallel_info_t ompt_get_parallel_info
static

Definition at line 19 of file api_calls_without_ompt.c.

Referenced by main().

◆ ompt_get_partition_place_nums

ompt_get_partition_place_nums_t ompt_get_partition_place_nums
static

Definition at line 25 of file api_calls_without_ompt.c.

Referenced by main().

◆ ompt_get_place_num

ompt_get_place_num_t ompt_get_place_num ( void )
static

Definition at line 24 of file api_calls_without_ompt.c.

Referenced by main().

◆ ompt_get_place_proc_ids

ompt_get_place_proc_ids_t ompt_get_place_proc_ids
static

Definition at line 23 of file api_calls_without_ompt.c.

Referenced by main().

◆ ompt_get_proc_id

ompt_get_proc_id_t ompt_get_proc_id ( void )
static

Definition at line 26 of file api_calls_without_ompt.c.

Referenced by main().

◆ ompt_get_state

ompt_get_state_t ompt_get_state
static

Definition at line 16 of file api_calls_without_ompt.c.

Referenced by main().

◆ ompt_get_task_info

ompt_get_task_info_t ompt_get_task_info
static

Definition at line 17 of file api_calls_without_ompt.c.

Referenced by main().

◆ ompt_get_thread_data

ompt_get_thread_data_t ompt_get_thread_data ( void )
static

Definition at line 18 of file api_calls_without_ompt.c.

Referenced by main().

◆ ompt_get_unique_id

ompt_get_unique_id_t ompt_get_unique_id ( void )
static

Definition at line 20 of file api_calls_without_ompt.c.

◆ ompt_set_callback

ompt_set_callback_t ompt_set_callback
static

Definition at line 14 of file api_calls_without_ompt.c.