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

rocprofiler_data_t Struct Reference

rocprofiler_data_t Struct Reference#

rocprofiler: rocprofiler_data_t Struct Reference
rocprofiler_data_t Struct Reference

#include <rocprofiler.h>

Data Fields

rocprofiler_data_kind_t kind
 
union {
   uint32_t   result_int32
 
   uint64_t   result_int64
 
   float   result_float
 
   double   result_double
 
   struct {
      void *   ptr
 
      uint32_t   size
 
      uint32_t   instance_count
 
      bool   copy
 
   }   result_bytes
 
}; 
 

Field Documentation

◆ 

union { ... }

◆ copy

bool rocprofiler_data_t::copy

◆ instance_count

uint32_t rocprofiler_data_t::instance_count

◆ kind

rocprofiler_data_kind_t rocprofiler_data_t::kind

◆ ptr

void* rocprofiler_data_t::ptr

◆ 

struct { ... } rocprofiler_data_t::result_bytes

◆ result_double

double rocprofiler_data_t::result_double

◆ result_float

float rocprofiler_data_t::result_float

◆ result_int32

uint32_t rocprofiler_data_t::result_int32

◆ result_int64

uint64_t rocprofiler_data_t::result_int64

◆ size

uint32_t rocprofiler_data_t::size

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