rocprofiler-sdk/ompt/api_args.h File Reference

rocprofiler-sdk/ompt/api_args.h File Reference#

Rocprofiler SDK Developer API: rocprofiler-sdk/ompt/api_args.h File Reference
Rocprofiler SDK Developer API 0.6.0
ROCm Profiling API and tools
api_args.h File Reference
#include <rocprofiler-sdk/defines.h>
#include <rocprofiler-sdk/version.h>
#include <rocprofiler-sdk/ompt/omp-tools.h>
#include <stdint.h>
+ Include dependency graph for api_args.h:
+ This graph shows which files directly or indirectly include this file:

Go to the source code of this file.

Data Structures

struct  rocprofiler_ompt_callback_functions_t
 
struct  rocprofiler_ompt_no_args
 
union  rocprofiler_ompt_args_t
 
struct  rocprofiler_ompt_args_t.thread_begin
 
struct  rocprofiler_ompt_args_t.thread_end
 
struct  rocprofiler_ompt_args_t.parallel_begin
 
struct  rocprofiler_ompt_args_t.parallel_end
 
struct  rocprofiler_ompt_args_t.task_create
 
struct  rocprofiler_ompt_args_t.task_schedule
 
struct  rocprofiler_ompt_args_t.implicit_task
 
struct  rocprofiler_ompt_args_t.device_initialize
 
struct  rocprofiler_ompt_args_t.device_finalize
 
struct  rocprofiler_ompt_args_t.device_load
 
struct  rocprofiler_ompt_args_t.sync_region_wait
 
struct  rocprofiler_ompt_args_t.mutex_released
 
struct  rocprofiler_ompt_args_t.dependences
 
struct  rocprofiler_ompt_args_t.task_dependence
 
struct  rocprofiler_ompt_args_t.work
 
struct  rocprofiler_ompt_args_t.masked
 
struct  rocprofiler_ompt_args_t.sync_region
 
struct  rocprofiler_ompt_args_t.lock_init
 
struct  rocprofiler_ompt_args_t.lock_destroy
 
struct  rocprofiler_ompt_args_t.mutex_acquire
 
struct  rocprofiler_ompt_args_t.mutex_acquired
 
struct  rocprofiler_ompt_args_t.nest_lock
 
struct  rocprofiler_ompt_args_t.flush
 
struct  rocprofiler_ompt_args_t.cancel
 
struct  rocprofiler_ompt_args_t.reduction
 
struct  rocprofiler_ompt_args_t.dispatch
 
struct  rocprofiler_ompt_args_t.target_emi
 
struct  rocprofiler_ompt_args_t.target_data_op_emi
 
struct  rocprofiler_ompt_args_t.target_submit_emi
 
struct  rocprofiler_ompt_args_t.error
 

Data Structure Documentation

◆ rocprofiler_ompt_callback_functions_t

struct rocprofiler_ompt_callback_functions_t

Definition at line 35 of file api_args.h.

+ Collaboration diagram for rocprofiler_ompt_callback_functions_t:
Data Fields
ompt_enumerate_mutex_impls_t ompt_enumerate_mutex_impls
ompt_enumerate_states_t ompt_enumerate_states
ompt_get_num_devices_t ompt_get_num_devices
ompt_get_num_places_t ompt_get_num_places
ompt_get_num_procs_t ompt_get_num_procs
ompt_get_parallel_info_t ompt_get_parallel_info
ompt_get_partition_place_nums_t ompt_get_partition_place_nums
ompt_get_place_num_t ompt_get_place_num
ompt_get_place_proc_ids_t ompt_get_place_proc_ids
ompt_get_proc_id_t ompt_get_proc_id
ompt_get_state_t ompt_get_state
ompt_get_target_info_t ompt_get_target_info
ompt_get_task_info_t ompt_get_task_info
ompt_get_task_memory_t ompt_get_task_memory
ompt_get_thread_data_t ompt_get_thread_data
ompt_get_unique_id_t ompt_get_unique_id

◆ rocprofiler_ompt_no_args

struct rocprofiler_ompt_no_args

Definition at line 58 of file api_args.h.

+ Collaboration diagram for rocprofiler_ompt_no_args:
Data Fields
char empty

◆ rocprofiler_ompt_args_t

union rocprofiler_ompt_args_t

Definition at line 63 of file api_args.h.

+ Collaboration diagram for rocprofiler_ompt_args_t:
Data Fields
rocprofiler_ompt_callback_functions_t callback_functions
struct rocprofiler_ompt_args_t.cancel cancel
struct rocprofiler_ompt_args_t.dependences dependences
struct rocprofiler_ompt_args_t.device_finalize device_finalize
struct rocprofiler_ompt_args_t.device_initialize device_initialize
struct rocprofiler_ompt_args_t.device_load device_load
struct rocprofiler_ompt_args_t.dispatch dispatch
struct rocprofiler_ompt_args_t.error error
struct rocprofiler_ompt_args_t.flush flush
struct rocprofiler_ompt_args_t.implicit_task implicit_task
struct rocprofiler_ompt_args_t.lock_destroy lock_destroy
struct rocprofiler_ompt_args_t.lock_init lock_init
struct rocprofiler_ompt_args_t.masked masked
struct rocprofiler_ompt_args_t.mutex_acquire mutex_acquire
struct rocprofiler_ompt_args_t.mutex_acquired mutex_acquired
struct rocprofiler_ompt_args_t.mutex_released mutex_released
struct rocprofiler_ompt_args_t.nest_lock nest_lock
struct rocprofiler_ompt_args_t.parallel_begin parallel_begin
struct rocprofiler_ompt_args_t.parallel_end parallel_end
struct rocprofiler_ompt_args_t.reduction reduction
struct rocprofiler_ompt_args_t.sync_region sync_region
struct rocprofiler_ompt_args_t.sync_region_wait sync_region_wait
struct rocprofiler_ompt_args_t.target_data_op_emi target_data_op_emi
struct rocprofiler_ompt_args_t.target_emi target_emi
struct rocprofiler_ompt_args_t.target_submit_emi target_submit_emi
struct rocprofiler_ompt_args_t.task_create task_create
struct rocprofiler_ompt_args_t.task_dependence task_dependence
struct rocprofiler_ompt_args_t.task_schedule task_schedule
struct rocprofiler_ompt_args_t.thread_begin thread_begin
struct rocprofiler_ompt_args_t.thread_end thread_end
struct rocprofiler_ompt_args_t.work work

◆ rocprofiler_ompt_args_t.thread_begin

struct rocprofiler_ompt_args_t.thread_begin

Definition at line 71 of file api_args.h.

+ Collaboration diagram for rocprofiler_ompt_args_t.thread_begin:
Data Fields
ompt_data_t * thread_data
ompt_thread_t thread_type

◆ rocprofiler_ompt_args_t.thread_end

struct rocprofiler_ompt_args_t.thread_end

Definition at line 77 of file api_args.h.

+ Collaboration diagram for rocprofiler_ompt_args_t.thread_end:
Data Fields
ompt_data_t * thread_data

◆ rocprofiler_ompt_args_t.parallel_begin

struct rocprofiler_ompt_args_t.parallel_begin

Definition at line 82 of file api_args.h.

+ Collaboration diagram for rocprofiler_ompt_args_t.parallel_begin:
Data Fields
const void * codeptr_ra
ompt_data_t * encountering_task_data
const ompt_frame_t * encountering_task_frame
int flags
ompt_data_t * parallel_data
unsigned int requested_parallelism

◆ rocprofiler_ompt_args_t.parallel_end

struct rocprofiler_ompt_args_t.parallel_end

Definition at line 92 of file api_args.h.

+ Collaboration diagram for rocprofiler_ompt_args_t.parallel_end:
Data Fields
const void * codeptr_ra
ompt_data_t * encountering_task_data
int flags
ompt_data_t * parallel_data

◆ rocprofiler_ompt_args_t.task_create

struct rocprofiler_ompt_args_t.task_create

Definition at line 100 of file api_args.h.

+ Collaboration diagram for rocprofiler_ompt_args_t.task_create:
Data Fields
const void * codeptr_ra
ompt_data_t * encountering_task_data
const ompt_frame_t * encountering_task_frame
int flags
int has_dependences
ompt_data_t * new_task_data

◆ rocprofiler_ompt_args_t.task_schedule

struct rocprofiler_ompt_args_t.task_schedule

Definition at line 110 of file api_args.h.

+ Collaboration diagram for rocprofiler_ompt_args_t.task_schedule:
Data Fields
ompt_data_t * next_task_data
ompt_data_t * prior_task_data
ompt_task_status_t prior_task_status

◆ rocprofiler_ompt_args_t.implicit_task

struct rocprofiler_ompt_args_t.implicit_task

Definition at line 117 of file api_args.h.

+ Collaboration diagram for rocprofiler_ompt_args_t.implicit_task:
Data Fields
unsigned int actual_parallelism
ompt_scope_endpoint_t endpoint
int flags
unsigned int index
ompt_data_t * parallel_data
ompt_data_t * task_data

◆ rocprofiler_ompt_args_t.device_initialize

struct rocprofiler_ompt_args_t.device_initialize

Definition at line 127 of file api_args.h.

+ Collaboration diagram for rocprofiler_ompt_args_t.device_initialize:
Data Fields
ompt_device_t * device
int device_num
const char * documentation
ompt_function_lookup_t lookup
const char * type

◆ rocprofiler_ompt_args_t.device_finalize

struct rocprofiler_ompt_args_t.device_finalize

Definition at line 136 of file api_args.h.

+ Collaboration diagram for rocprofiler_ompt_args_t.device_finalize:
Data Fields
int device_num

◆ rocprofiler_ompt_args_t.device_load

struct rocprofiler_ompt_args_t.device_load

Definition at line 141 of file api_args.h.

+ Collaboration diagram for rocprofiler_ompt_args_t.device_load:
Data Fields
unsigned long bytes
void * device_addr
int device_num
const char * filename
void * host_addr
uint64_t module_id
int64_t offset_in_file
void * vma_in_file

◆ rocprofiler_ompt_args_t.sync_region_wait

struct rocprofiler_ompt_args_t.sync_region_wait

Definition at line 159 of file api_args.h.

+ Collaboration diagram for rocprofiler_ompt_args_t.sync_region_wait:
Data Fields
const void * codeptr_ra
ompt_scope_endpoint_t endpoint
ompt_sync_region_t kind
ompt_data_t * parallel_data
ompt_data_t * task_data

◆ rocprofiler_ompt_args_t.mutex_released

struct rocprofiler_ompt_args_t.mutex_released

Definition at line 168 of file api_args.h.

+ Collaboration diagram for rocprofiler_ompt_args_t.mutex_released:
Data Fields
const void * codeptr_ra
ompt_mutex_t kind
ompt_wait_id_t wait_id

◆ rocprofiler_ompt_args_t.dependences

struct rocprofiler_ompt_args_t.dependences

Definition at line 175 of file api_args.h.

+ Collaboration diagram for rocprofiler_ompt_args_t.dependences:
Data Fields
const ompt_dependence_t * deps
int ndeps
ompt_data_t * task_data

◆ rocprofiler_ompt_args_t.task_dependence

struct rocprofiler_ompt_args_t.task_dependence

Definition at line 182 of file api_args.h.

+ Collaboration diagram for rocprofiler_ompt_args_t.task_dependence:
Data Fields
ompt_data_t * sink_task_data
ompt_data_t * src_task_data

◆ rocprofiler_ompt_args_t.work

struct rocprofiler_ompt_args_t.work

Definition at line 188 of file api_args.h.

+ Collaboration diagram for rocprofiler_ompt_args_t.work:
Data Fields
const void * codeptr_ra
uint64_t count
ompt_scope_endpoint_t endpoint
ompt_data_t * parallel_data
ompt_data_t * task_data
ompt_work_t work_type

◆ rocprofiler_ompt_args_t.masked

struct rocprofiler_ompt_args_t.masked

Definition at line 198 of file api_args.h.

+ Collaboration diagram for rocprofiler_ompt_args_t.masked:
Data Fields
const void * codeptr_ra
ompt_scope_endpoint_t endpoint
ompt_data_t * parallel_data
ompt_data_t * task_data

◆ rocprofiler_ompt_args_t.sync_region

struct rocprofiler_ompt_args_t.sync_region

Definition at line 206 of file api_args.h.

+ Collaboration diagram for rocprofiler_ompt_args_t.sync_region:
Data Fields
const void * codeptr_ra
ompt_scope_endpoint_t endpoint
ompt_sync_region_t kind
ompt_data_t * parallel_data
ompt_data_t * task_data

◆ rocprofiler_ompt_args_t.lock_init

struct rocprofiler_ompt_args_t.lock_init

Definition at line 215 of file api_args.h.

+ Collaboration diagram for rocprofiler_ompt_args_t.lock_init:
Data Fields
const void * codeptr_ra
unsigned int hint
unsigned int impl
ompt_mutex_t kind
ompt_wait_id_t wait_id

◆ rocprofiler_ompt_args_t.lock_destroy

struct rocprofiler_ompt_args_t.lock_destroy

Definition at line 224 of file api_args.h.

+ Collaboration diagram for rocprofiler_ompt_args_t.lock_destroy:
Data Fields
const void * codeptr_ra
ompt_mutex_t kind
ompt_wait_id_t wait_id

◆ rocprofiler_ompt_args_t.mutex_acquire

struct rocprofiler_ompt_args_t.mutex_acquire

Definition at line 231 of file api_args.h.

+ Collaboration diagram for rocprofiler_ompt_args_t.mutex_acquire:
Data Fields
const void * codeptr_ra
unsigned int hint
unsigned int impl
ompt_mutex_t kind
ompt_wait_id_t wait_id

◆ rocprofiler_ompt_args_t.mutex_acquired

struct rocprofiler_ompt_args_t.mutex_acquired

Definition at line 240 of file api_args.h.

+ Collaboration diagram for rocprofiler_ompt_args_t.mutex_acquired:
Data Fields
const void * codeptr_ra
ompt_mutex_t kind
ompt_wait_id_t wait_id

◆ rocprofiler_ompt_args_t.nest_lock

struct rocprofiler_ompt_args_t.nest_lock

Definition at line 247 of file api_args.h.

+ Collaboration diagram for rocprofiler_ompt_args_t.nest_lock:
Data Fields
const void * codeptr_ra
ompt_scope_endpoint_t endpoint
ompt_wait_id_t wait_id

◆ rocprofiler_ompt_args_t.flush

struct rocprofiler_ompt_args_t.flush

Definition at line 254 of file api_args.h.

+ Collaboration diagram for rocprofiler_ompt_args_t.flush:
Data Fields
const void * codeptr_ra
ompt_data_t * thread_data

◆ rocprofiler_ompt_args_t.cancel

struct rocprofiler_ompt_args_t.cancel

Definition at line 260 of file api_args.h.

+ Collaboration diagram for rocprofiler_ompt_args_t.cancel:
Data Fields
const void * codeptr_ra
int flags
ompt_data_t * task_data

◆ rocprofiler_ompt_args_t.reduction

struct rocprofiler_ompt_args_t.reduction

Definition at line 267 of file api_args.h.

+ Collaboration diagram for rocprofiler_ompt_args_t.reduction:
Data Fields
const void * codeptr_ra
ompt_scope_endpoint_t endpoint
ompt_sync_region_t kind
ompt_data_t * parallel_data
ompt_data_t * task_data

◆ rocprofiler_ompt_args_t.dispatch

struct rocprofiler_ompt_args_t.dispatch

Definition at line 276 of file api_args.h.

+ Collaboration diagram for rocprofiler_ompt_args_t.dispatch:
Data Fields
ompt_data_t instance
ompt_dispatch_t kind
ompt_data_t * parallel_data
ompt_data_t * task_data

◆ rocprofiler_ompt_args_t.target_emi

struct rocprofiler_ompt_args_t.target_emi

Definition at line 284 of file api_args.h.

+ Collaboration diagram for rocprofiler_ompt_args_t.target_emi:
Data Fields
const void * codeptr_ra
int device_num
ompt_scope_endpoint_t endpoint
ompt_target_t kind
ompt_data_t * target_data
ompt_data_t * target_task_data
ompt_data_t * task_data

◆ rocprofiler_ompt_args_t.target_data_op_emi

struct rocprofiler_ompt_args_t.target_data_op_emi

Definition at line 295 of file api_args.h.

+ Collaboration diagram for rocprofiler_ompt_args_t.target_data_op_emi:
Data Fields
unsigned long bytes
const void * codeptr_ra
void * dst_address
int dst_device_num
ompt_scope_endpoint_t endpoint
ompt_data_t * host_op_id
ompt_target_data_op_t optype
void * src_address
int src_device_num
ompt_data_t * target_data
ompt_data_t * target_task_data

◆ rocprofiler_ompt_args_t.target_submit_emi

struct rocprofiler_ompt_args_t.target_submit_emi

Definition at line 310 of file api_args.h.

+ Collaboration diagram for rocprofiler_ompt_args_t.target_submit_emi:
Data Fields
ompt_scope_endpoint_t endpoint
ompt_data_t * host_op_id
unsigned int requested_num_teams
ompt_data_t * target_data

◆ rocprofiler_ompt_args_t.error

struct rocprofiler_ompt_args_t.error

Definition at line 328 of file api_args.h.

+ Collaboration diagram for rocprofiler_ompt_args_t.error:
Data Fields
const void * codeptr_ra
unsigned long length
const char * message
ompt_severity_t severity