This page contains proposed changes for a future release of ROCm. Read the latest Linux release of ROCm documentation for your production environments.

rocprofiler_hsa_callback_data_t Struct Reference

rocprofiler_hsa_callback_data_t Struct Reference#

rocprofiler: rocprofiler_hsa_callback_data_t Struct Reference
rocprofiler_hsa_callback_data_t Struct Reference

#include <rocprofiler.h>

Data Fields

union {
   struct {
      const void *   ptr
 
      size_t   size
 
      hsa_amd_segment_t   segment
 
      hsa_amd_memory_pool_global_flag_t   global_flag
 
      int   is_code
 
   }   allocate
 
   struct {
      hsa_device_type_t   type
 
      uint32_t   id
 
      hsa_agent_t   agent
 
      const void *   ptr
 
   }   device
 
   struct {
      const void *   dst
 
      const void *   src
 
      size_t   size
 
   }   memcopy
 
   struct {
      const void *   packet
 
      const char *   kernel_name
 
      hsa_queue_t *   queue
 
      uint32_t   device_type
 
      uint32_t   device_id
 
   }   submit
 
   struct {
      uint64_t   object
 
      const char *   name
 
      uint32_t   name_length
 
      int   unload
 
   }   ksymbol
 
   struct {
      uint32_t   storage_type
 
      int   storage_file
 
      uint64_t   memory_base
 
      uint64_t   memory_size
 
      uint64_t   load_base
 
      uint64_t   load_size
 
      uint64_t   load_delta
 
      uint32_t   uri_length
 
      char *   uri
 
      int   unload
 
   }   codeobj
 
}; 
 

Field Documentation

◆ 

union { ... }

◆ agent

hsa_agent_t rocprofiler_hsa_callback_data_t::agent

◆ 

struct { ... } rocprofiler_hsa_callback_data_t::allocate

◆ 

struct { ... } rocprofiler_hsa_callback_data_t::codeobj

◆ 

struct { ... } rocprofiler_hsa_callback_data_t::device

◆ device_id

uint32_t rocprofiler_hsa_callback_data_t::device_id

◆ device_type

uint32_t rocprofiler_hsa_callback_data_t::device_type

◆ dst

const void* rocprofiler_hsa_callback_data_t::dst

◆ global_flag

hsa_amd_memory_pool_global_flag_t rocprofiler_hsa_callback_data_t::global_flag

◆ id

uint32_t rocprofiler_hsa_callback_data_t::id

◆ is_code

int rocprofiler_hsa_callback_data_t::is_code

◆ kernel_name

const char* rocprofiler_hsa_callback_data_t::kernel_name

◆ 

struct { ... } rocprofiler_hsa_callback_data_t::ksymbol

◆ load_base

uint64_t rocprofiler_hsa_callback_data_t::load_base

◆ load_delta

uint64_t rocprofiler_hsa_callback_data_t::load_delta

◆ load_size

uint64_t rocprofiler_hsa_callback_data_t::load_size

◆ 

struct { ... } rocprofiler_hsa_callback_data_t::memcopy

◆ memory_base

uint64_t rocprofiler_hsa_callback_data_t::memory_base

◆ memory_size

uint64_t rocprofiler_hsa_callback_data_t::memory_size

◆ name

const char* rocprofiler_hsa_callback_data_t::name

◆ name_length

uint32_t rocprofiler_hsa_callback_data_t::name_length

◆ object

uint64_t rocprofiler_hsa_callback_data_t::object

◆ packet

const void* rocprofiler_hsa_callback_data_t::packet

◆ ptr

const void* rocprofiler_hsa_callback_data_t::ptr

◆ queue

hsa_queue_t* rocprofiler_hsa_callback_data_t::queue

◆ segment

hsa_amd_segment_t rocprofiler_hsa_callback_data_t::segment

◆ size

size_t rocprofiler_hsa_callback_data_t::size

◆ src

const void* rocprofiler_hsa_callback_data_t::src

◆ storage_file

int rocprofiler_hsa_callback_data_t::storage_file

◆ storage_type

uint32_t rocprofiler_hsa_callback_data_t::storage_type

◆ 

struct { ... } rocprofiler_hsa_callback_data_t::submit

◆ type

hsa_device_type_t rocprofiler_hsa_callback_data_t::type

◆ unload

int rocprofiler_hsa_callback_data_t::unload

◆ uri

char* rocprofiler_hsa_callback_data_t::uri

◆ uri_length

uint32_t rocprofiler_hsa_callback_data_t::uri_length

The documentation for this struct was generated from the following file:
  • /home/docs/checkouts/readthedocs.org/user_builds/advanced-micro-devices-rocprofiler-docs/checkouts/amd-master/include/rocprofiler/rocprofiler.h