cereal Namespace Reference

cereal Namespace Reference#

Rocprofiler SDK Developer API: cereal Namespace Reference
Rocprofiler SDK Developer API 0.6.0
ROCm Profiling API and tools
cereal Namespace Reference

Namespaces

namespace  details
 

Functions

template<typename ArchiveT >
void save (ArchiveT &ar, rocprofiler_context_id_t data)
 
template<typename ArchiveT >
void save (ArchiveT &ar, rocprofiler_agent_id_t data)
 
template<typename ArchiveT >
void save (ArchiveT &ar, hsa_agent_t data)
 
template<typename ArchiveT >
void save (ArchiveT &ar, rocprofiler_queue_id_t data)
 
template<typename ArchiveT >
void save (ArchiveT &ar, rocprofiler_counter_id_t data)
 
template<typename ArchiveT >
void save (ArchiveT &ar, rocprofiler_correlation_id_t data)
 
template<typename ArchiveT >
void save (ArchiveT &ar, rocprofiler_dim3_t data)
 
template<typename ArchiveT >
void save (ArchiveT &ar, rocprofiler_address_t data)
 
template<typename ArchiveT >
void save (ArchiveT &ar, rocprofiler_callback_tracing_code_object_load_data_t data)
 
template<typename ArchiveT >
void save (ArchiveT &ar, rocprofiler_callback_tracing_code_object_kernel_symbol_register_data_t data)
 
template<typename ArchiveT >
void save (ArchiveT &ar, rocprofiler_callback_tracing_code_object_host_kernel_symbol_register_data_t data)
 
template<typename ArchiveT >
void save (ArchiveT &ar, rocprofiler_hsa_api_retval_t data)
 
template<typename ArchiveT >
void save (ArchiveT &ar, const hsa_queue_t &data)
 
template<typename ArchiveT >
void save (ArchiveT &ar, hsa_amd_event_scratch_alloc_start_t data)
 
template<typename ArchiveT >
void save (ArchiveT &ar, hsa_amd_event_scratch_alloc_end_t data)
 
template<typename ArchiveT >
void save (ArchiveT &ar, hsa_amd_event_scratch_free_start_t data)
 
template<typename ArchiveT >
void save (ArchiveT &ar, hsa_amd_event_scratch_free_end_t data)
 
template<typename ArchiveT >
void save (ArchiveT &ar, hsa_amd_event_scratch_async_reclaim_start_t data)
 
template<typename ArchiveT >
void save (ArchiveT &ar, hsa_amd_event_scratch_async_reclaim_end_t data)
 
template<typename ArchiveT >
void save (ArchiveT &ar, rocprofiler_marker_api_retval_t data)
 
template<typename ArchiveT >
void save (ArchiveT &ar, rocprofiler_callback_tracing_hsa_api_data_t data)
 
template<typename ArchiveT >
void save (ArchiveT &ar, rocprofiler_callback_tracing_marker_api_data_t data)
 
template<typename ArchiveT >
void save (ArchiveT &ar, rocprofiler_hip_api_retval_t data)
 
template<typename ArchiveT >
void save (ArchiveT &ar, rocprofiler_callback_tracing_hip_api_data_t data)
 
template<typename ArchiveT >
void save (ArchiveT &ar, rocprofiler_callback_tracing_scratch_memory_data_t data)
 
template<typename ArchiveT >
void save (ArchiveT &ar, rocprofiler_kernel_dispatch_info_t data)
 
template<typename ArchiveT >
void save (ArchiveT &ar, rocprofiler_callback_tracing_kernel_dispatch_data_t data)
 
template<typename ArchiveT >
void save (ArchiveT &ar, rocprofiler_callback_tracing_memory_copy_data_t data)
 
template<typename ArchiveT >
void save (ArchiveT &ar, rocprofiler_callback_tracing_memory_allocation_data_t data)
 
template<typename ArchiveT >
void save (ArchiveT &ar, rocprofiler_rccl_api_retval_t data)
 
template<typename ArchiveT >
void save (ArchiveT &ar, rocprofiler_callback_tracing_rccl_api_data_t data)
 
template<typename ArchiveT >
void save (ArchiveT &ar, rocprofiler_callback_tracing_ompt_data_t data)
 
template<typename ArchiveT >
void save (ArchiveT &ar, rocprofiler_dispatch_counting_service_data_t data)
 
template<typename ArchiveT >
void save (ArchiveT &ar, rocprofiler_dispatch_counting_service_record_t data)
 
template<typename ArchiveT >
void save (ArchiveT &ar, rocprofiler_callback_tracing_record_t data)
 
template<typename ArchiveT , typename Tp >
void save_buffer_tracing_api_record (ArchiveT &ar, Tp data)
 
template<typename ArchiveT >
void save (ArchiveT &ar, rocprofiler_buffer_tracing_hsa_api_record_t data)
 
template<typename ArchiveT >
void save (ArchiveT &ar, rocprofiler_record_counter_t data)
 
template<typename ArchiveT >
void save (ArchiveT &ar, rocprofiler_buffer_tracing_hip_api_record_t data)
 
template<typename ArchiveT >
void save (ArchiveT &ar, rocprofiler_buffer_tracing_marker_api_record_t data)
 
template<typename ArchiveT >
void save (ArchiveT &ar, rocprofiler_buffer_tracing_rccl_api_record_t data)
 
template<typename ArchiveT >
void save (ArchiveT &ar, rocprofiler_buffer_tracing_ompt_target_t data)
 
template<typename ArchiveT >
void save (ArchiveT &ar, rocprofiler_buffer_tracing_ompt_target_data_op_t data)
 
template<typename ArchiveT >
void save (ArchiveT &ar, rocprofiler_buffer_tracing_ompt_target_kernel_t data)
 
template<typename ArchiveT >
void save (ArchiveT &ar, rocprofiler_buffer_tracing_ompt_record_t data)
 
template<typename ArchiveT >
void save (ArchiveT &ar, rocprofiler_buffer_tracing_kernel_dispatch_record_t data)
 
template<typename ArchiveT >
void save (ArchiveT &ar, rocprofiler_buffer_tracing_memory_copy_record_t data)
 
template<typename ArchiveT >
void save (ArchiveT &ar, rocprofiler_buffer_tracing_memory_allocation_record_t data)
 
template<typename ArchiveT >
void save (ArchiveT &ar, const rocprofiler_page_migration_page_fault_start_t &data)
 
template<typename ArchiveT >
void save (ArchiveT &ar, const rocprofiler_page_migration_page_fault_end_t &data)
 
template<typename ArchiveT >
void save (ArchiveT &ar, const rocprofiler_page_migration_page_migrate_start_t &data)
 
template<typename ArchiveT >
void save (ArchiveT &ar, const rocprofiler_page_migration_page_migrate_end_t &data)
 
template<typename ArchiveT >
void save (ArchiveT &ar, const rocprofiler_page_migration_queue_eviction_t &data)
 
template<typename ArchiveT >
void save (ArchiveT &ar, const rocprofiler_page_migration_queue_restore_t &data)
 
template<typename ArchiveT >
void save (ArchiveT &ar, const rocprofiler_page_migration_unmap_from_gpu_t &data)
 
template<typename ArchiveT >
void save (ArchiveT &ar, const rocprofiler_page_migration_dropped_event_t &data)
 
template<typename ArchiveT >
void save (ArchiveT &ar, const rocprofiler_buffer_tracing_page_migration_record_t &data)
 
template<typename ArchiveT >
void save (ArchiveT &ar, rocprofiler_buffer_tracing_scratch_memory_record_t data)
 
template<typename ArchiveT >
void save (ArchiveT &ar, rocprofiler_buffer_tracing_correlation_id_retirement_record_t data)
 
template<typename ArchiveT >
void save (ArchiveT &ar, HsaCacheType data)
 
template<typename ArchiveT >
void save (ArchiveT &ar, HSA_LINKPROPERTY data)
 
template<typename ArchiveT >
void save (ArchiveT &ar, HSA_CAPABILITY data)
 
template<typename ArchiveT >
void save (ArchiveT &ar, HSA_MEMORYPROPERTY data)
 
template<typename ArchiveT >
void save (ArchiveT &ar, HSA_ENGINE_VERSION data)
 
template<typename ArchiveT >
void save (ArchiveT &ar, HSA_ENGINE_ID data)
 
template<typename ArchiveT >
void save (ArchiveT &ar, rocprofiler_agent_cache_t data)
 
template<typename ArchiveT >
void save (ArchiveT &ar, rocprofiler_pc_t data)
 
template<typename ArchiveT >
void save (ArchiveT &ar, rocprofiler_pc_sampling_hw_id_v0_t data)
 
template<typename ArchiveT >
void save (ArchiveT &ar, rocprofiler_pc_sampling_record_host_trap_v0_t data)
 
template<typename ArchiveT >
void save (ArchiveT &ar, rocprofiler_agent_io_link_t data)
 
template<typename ArchiveT >
void save (ArchiveT &ar, rocprofiler_agent_mem_bank_t data)
 
template<typename ArchiveT >
void save (ArchiveT &ar, rocprofiler_pc_sampling_configuration_t data)
 
template<typename ArchiveT >
void save (ArchiveT &ar, const rocprofiler_agent_v0_t &data)
 
template<typename ArchiveT >
void save (ArchiveT &ar, rocprofiler_counter_info_v0_t data)
 
template<typename ArchiveT >
void save (ArchiveT &ar, rocprofiler_record_dimension_info_t data)
 
template<typename ArchiveT >
void save (ArchiveT &ar, rocprofiler_callback_tracing_runtime_initialization_data_t data)
 
template<typename ArchiveT >
void save (ArchiveT &ar, rocprofiler_buffer_tracing_runtime_initialization_record_t data)
 
template<typename ArchiveT , typename EnumT , typename ValueT >
void save (ArchiveT &ar, const rocprofiler::sdk::utility::name_info< EnumT, ValueT > &data)
 
template<typename ArchiveT , typename EnumT , typename ValueT >
void save (ArchiveT &ar, const rocprofiler::sdk::utility::name_info_impl< EnumT, ValueT > &data)
 

Function Documentation

◆ save() [1/78]

template<typename ArchiveT >
void cereal::save ( ArchiveT &  ar,
const hsa_queue_t &  data 
)

Definition at line 218 of file serialization.hpp.

219{
220 ar(make_nvp("queue_id", data.id));
221}

References save().

+ Here is the call graph for this function:

◆ save() [2/78]

template<typename ArchiveT , typename EnumT , typename ValueT >
void cereal::save ( ArchiveT &  ar,
const rocprofiler::sdk::utility::name_info< EnumT, ValueT > &  data 
)

Definition at line 1032 of file serialization.hpp.

1033{
1034 ar.makeArray();
1035 for(const auto& itr : data)
1036 ar(cereal::make_nvp("entry", itr));
1037}

References save().

+ Here is the call graph for this function:

◆ save() [3/78]

template<typename ArchiveT , typename EnumT , typename ValueT >
void cereal::save ( ArchiveT &  ar,
const rocprofiler::sdk::utility::name_info_impl< EnumT, ValueT > &  data 
)

Definition at line 1041 of file serialization.hpp.

1042{
1043 auto _name = std::string{data.name};
1044 auto _ops = std::vector<std::string>{};
1045 _ops.reserve(data.operations.size());
1046
1047 ar(cereal::make_nvp("kind", _name));
1048 for(auto itr : data.operations)
1049 _ops.emplace_back(itr);
1050 ar(cereal::make_nvp("operations", _ops));
1051}
std::vector< value_type > operations
Definition name_info.hpp:61

References rocprofiler::sdk::utility::name_info_impl< EnumT, ValueT >::name, rocprofiler::sdk::utility::name_info_impl< EnumT, ValueT >::operations, and save().

+ Here is the call graph for this function:

◆ save() [4/78]

template<typename ArchiveT >
void cereal::save ( ArchiveT &  ar,
const rocprofiler_agent_v0_t data 
)

Definition at line 914 of file serialization.hpp.

915{
919 ROCP_SDK_SAVE_DATA_FIELD(cpu_cores_count);
920 ROCP_SDK_SAVE_DATA_FIELD(simd_count);
921 ROCP_SDK_SAVE_DATA_FIELD(mem_banks_count);
922 ROCP_SDK_SAVE_DATA_FIELD(caches_count);
923 ROCP_SDK_SAVE_DATA_FIELD(io_links_count);
924 ROCP_SDK_SAVE_DATA_FIELD(cpu_core_id_base);
925 ROCP_SDK_SAVE_DATA_FIELD(simd_id_base);
926 ROCP_SDK_SAVE_DATA_FIELD(max_waves_per_simd);
927 ROCP_SDK_SAVE_DATA_FIELD(lds_size_in_kb);
928 ROCP_SDK_SAVE_DATA_FIELD(gds_size_in_kb);
930 ROCP_SDK_SAVE_DATA_FIELD(wave_front_size);
932 ROCP_SDK_SAVE_DATA_FIELD(cu_count);
933 ROCP_SDK_SAVE_DATA_FIELD(array_count);
934 ROCP_SDK_SAVE_DATA_FIELD(num_shader_banks);
935 ROCP_SDK_SAVE_DATA_FIELD(simd_arrays_per_engine);
936 ROCP_SDK_SAVE_DATA_FIELD(cu_per_simd_array);
937 ROCP_SDK_SAVE_DATA_FIELD(simd_per_cu);
938 ROCP_SDK_SAVE_DATA_FIELD(max_slots_scratch_cu);
939 ROCP_SDK_SAVE_DATA_FIELD(gfx_target_version);
940 ROCP_SDK_SAVE_DATA_FIELD(vendor_id);
941 ROCP_SDK_SAVE_DATA_FIELD(device_id);
942 ROCP_SDK_SAVE_DATA_FIELD(location_id);
944 ROCP_SDK_SAVE_DATA_FIELD(drm_render_minor);
945 ROCP_SDK_SAVE_DATA_FIELD(num_sdma_engines);
946 ROCP_SDK_SAVE_DATA_FIELD(num_sdma_xgmi_engines);
947 ROCP_SDK_SAVE_DATA_FIELD(num_sdma_queues_per_engine);
948 ROCP_SDK_SAVE_DATA_FIELD(num_cp_queues);
949 ROCP_SDK_SAVE_DATA_FIELD(max_engine_clk_ccompute);
950 ROCP_SDK_SAVE_DATA_FIELD(max_engine_clk_fcompute);
951 ROCP_SDK_SAVE_DATA_FIELD(sdma_fw_version);
952 ROCP_SDK_SAVE_DATA_FIELD(fw_version);
953 ROCP_SDK_SAVE_DATA_FIELD(capability);
954 ROCP_SDK_SAVE_DATA_FIELD(cu_per_engine);
955 ROCP_SDK_SAVE_DATA_FIELD(max_waves_per_cu);
956 ROCP_SDK_SAVE_DATA_FIELD(family_id);
957 ROCP_SDK_SAVE_DATA_FIELD(workgroup_max_size);
958 ROCP_SDK_SAVE_DATA_FIELD(grid_max_size);
959 ROCP_SDK_SAVE_DATA_FIELD(local_mem_size);
962 ROCP_SDK_SAVE_DATA_FIELD(workgroup_max_dim);
963 ROCP_SDK_SAVE_DATA_FIELD(grid_max_dim);
965 ROCP_SDK_SAVE_DATA_CSTR(vendor_name);
966 ROCP_SDK_SAVE_DATA_CSTR(product_name);
967 ROCP_SDK_SAVE_DATA_CSTR(model_name);
969 ROCP_SDK_SAVE_DATA_FIELD(logical_node_id);
970
971 auto generate = [&](auto name, const auto* value, uint64_t size) {
972 using value_type = std::remove_const_t<std::remove_pointer_t<decltype(value)>>;
973 auto vec = std::vector<value_type>{};
974 vec.reserve(size);
975 for(uint64_t i = 0; i < size; ++i)
976 vec.emplace_back(value[i]);
977 ar(make_nvp(name, vec));
978 };
979
980 generate("mem_banks", data.mem_banks, data.mem_banks_count);
981 generate("caches", data.caches, data.caches_count);
982 generate("io_links", data.io_links, data.io_links_count);
983}
const rocprofiler_agent_io_link_t * io_links
Definition agent.h:185
uint32_t mem_banks_count
Definition agent.h:121
uint32_t caches_count
Definition agent.h:123
const rocprofiler_agent_mem_bank_t * mem_banks
Definition agent.h:183
uint32_t io_links_count
Definition agent.h:124
const rocprofiler_agent_cache_t * caches
Definition agent.h:184
#define ROCP_SDK_SAVE_DATA_CSTR(FIELD)
#define ROCP_SDK_SAVE_DATA_FIELD(FIELD)

References rocprofiler_agent_v0_t::caches, rocprofiler_agent_v0_t::caches_count, rocprofiler_agent_v0_t::io_links, rocprofiler_agent_v0_t::io_links_count, rocprofiler_agent_v0_t::mem_banks, rocprofiler_agent_v0_t::mem_banks_count, ROCP_SDK_SAVE_DATA_CSTR, ROCP_SDK_SAVE_DATA_FIELD, and save().

+ Here is the call graph for this function:

◆ save() [5/78]

template<typename ArchiveT >
void cereal::save ( ArchiveT &  ar,
const rocprofiler_buffer_tracing_page_migration_record_t data 
)

Definition at line 705 of file serialization.hpp.

706{
709 ROCP_SDK_SAVE_DATA_FIELD(operation);
710 ROCP_SDK_SAVE_DATA_FIELD(timestamp);
712 details::save_page_migration_args(
713 ar, data.operation, data.args, std::make_index_sequence<ROCPROFILER_PAGE_MIGRATION_LAST>{});
714}
rocprofiler_page_migration_operation_t operation

References rocprofiler_buffer_tracing_page_migration_record_t::args, rocprofiler_buffer_tracing_page_migration_record_t::operation, ROCP_SDK_SAVE_DATA_FIELD, and save().

+ Here is the call graph for this function:

◆ save() [6/78]

template<typename ArchiveT >
void cereal::save ( ArchiveT &  ar,
const rocprofiler_page_migration_dropped_event_t data 
)

Definition at line 649 of file serialization.hpp.

650{
651 ROCP_SDK_SAVE_DATA_FIELD(dropped_events_count);
652}

References ROCP_SDK_SAVE_DATA_FIELD, and save().

+ Here is the call graph for this function:

◆ save() [7/78]

template<typename ArchiveT >
void cereal::save ( ArchiveT &  ar,
const rocprofiler_page_migration_page_fault_end_t data 
)

Definition at line 589 of file serialization.hpp.

590{
591 ROCP_SDK_SAVE_DATA_BITFIELD("migrated", migrated);
592 ROCP_SDK_SAVE_DATA_FIELD(agent_id);
594}
#define ROCP_SDK_SAVE_DATA_BITFIELD(NAME, VALUE)

References ROCP_SDK_SAVE_DATA_BITFIELD, ROCP_SDK_SAVE_DATA_FIELD, and save().

+ Here is the call graph for this function:

◆ save() [8/78]

template<typename ArchiveT >
void cereal::save ( ArchiveT &  ar,
const rocprofiler_page_migration_page_fault_start_t data 
)

Definition at line 580 of file serialization.hpp.

581{
582 ROCP_SDK_SAVE_DATA_BITFIELD("read_fault", read_fault);
583 ROCP_SDK_SAVE_DATA_FIELD(agent_id);
585}

References ROCP_SDK_SAVE_DATA_BITFIELD, ROCP_SDK_SAVE_DATA_FIELD, and save().

+ Here is the call graph for this function:

◆ save() [9/78]

template<typename ArchiveT >
void cereal::save ( ArchiveT &  ar,
const rocprofiler_page_migration_page_migrate_end_t data 
)

Definition at line 611 of file serialization.hpp.

612{
613 ROCP_SDK_SAVE_DATA_FIELD(start_addr);
614 ROCP_SDK_SAVE_DATA_FIELD(end_addr);
615 ROCP_SDK_SAVE_DATA_FIELD(from_agent);
616 ROCP_SDK_SAVE_DATA_FIELD(to_agent);
618 ROCP_SDK_SAVE_DATA_FIELD(error_code);
619}

References ROCP_SDK_SAVE_DATA_FIELD, and save().

+ Here is the call graph for this function:

◆ save() [10/78]

template<typename ArchiveT >
void cereal::save ( ArchiveT &  ar,
const rocprofiler_page_migration_page_migrate_start_t data 
)

Definition at line 598 of file serialization.hpp.

599{
600 ROCP_SDK_SAVE_DATA_FIELD(start_addr);
601 ROCP_SDK_SAVE_DATA_FIELD(end_addr);
602 ROCP_SDK_SAVE_DATA_FIELD(from_agent);
603 ROCP_SDK_SAVE_DATA_FIELD(to_agent);
604 ROCP_SDK_SAVE_DATA_FIELD(prefetch_agent);
605 ROCP_SDK_SAVE_DATA_FIELD(preferred_agent);
607}

References ROCP_SDK_SAVE_DATA_FIELD, and save().

+ Here is the call graph for this function:

◆ save() [11/78]

template<typename ArchiveT >
void cereal::save ( ArchiveT &  ar,
const rocprofiler_page_migration_queue_eviction_t data 
)

Definition at line 623 of file serialization.hpp.

624{
625 ROCP_SDK_SAVE_DATA_FIELD(agent_id);
627}

References ROCP_SDK_SAVE_DATA_FIELD, and save().

+ Here is the call graph for this function:

◆ save() [12/78]

template<typename ArchiveT >
void cereal::save ( ArchiveT &  ar,
const rocprofiler_page_migration_queue_restore_t data 
)

Definition at line 631 of file serialization.hpp.

632{
633 ROCP_SDK_SAVE_DATA_BITFIELD("rescheduled", rescheduled);
634 ROCP_SDK_SAVE_DATA_FIELD(agent_id);
635}

References ROCP_SDK_SAVE_DATA_BITFIELD, ROCP_SDK_SAVE_DATA_FIELD, and save().

+ Here is the call graph for this function:

◆ save() [13/78]

template<typename ArchiveT >
void cereal::save ( ArchiveT &  ar,
const rocprofiler_page_migration_unmap_from_gpu_t data 
)

Definition at line 639 of file serialization.hpp.

640{
641 ROCP_SDK_SAVE_DATA_FIELD(start_addr);
642 ROCP_SDK_SAVE_DATA_FIELD(end_addr);
643 ROCP_SDK_SAVE_DATA_FIELD(agent_id);
645}

References ROCP_SDK_SAVE_DATA_FIELD, and save().

+ Here is the call graph for this function:

◆ save() [14/78]

template<typename ArchiveT >
void cereal::save ( ArchiveT &  ar,
hsa_agent_t  data 
)

Definition at line 105 of file serialization.hpp.

106{
108}

References ROCP_SDK_SAVE_DATA_FIELD, and save().

+ Here is the call graph for this function:

◆ save() [15/78]

template<typename ArchiveT >
void cereal::save ( ArchiveT &  ar,
hsa_amd_event_scratch_alloc_end_t  data 
)

Definition at line 233 of file serialization.hpp.

234{
235 ar(make_nvp("queue_id", *data.queue));
236 ROCP_SDK_SAVE_DATA_FIELD(dispatch_id);
238 ROCP_SDK_SAVE_DATA_FIELD(num_slots);
240}

References ROCP_SDK_SAVE_DATA_FIELD, and save().

+ Here is the call graph for this function:

◆ save() [16/78]

template<typename ArchiveT >
void cereal::save ( ArchiveT &  ar,
hsa_amd_event_scratch_alloc_start_t  data 
)

Definition at line 225 of file serialization.hpp.

226{
227 ar(make_nvp("queue_id", *data.queue));
228 ROCP_SDK_SAVE_DATA_FIELD(dispatch_id);
229}

References ROCP_SDK_SAVE_DATA_FIELD, and save().

+ Here is the call graph for this function:

◆ save() [17/78]

template<typename ArchiveT >
void cereal::save ( ArchiveT &  ar,
hsa_amd_event_scratch_async_reclaim_end_t  data 
)

Definition at line 266 of file serialization.hpp.

267{
268 ar(make_nvp("queue_id", *data.queue));
270}

References ROCP_SDK_SAVE_DATA_FIELD, and save().

+ Here is the call graph for this function:

◆ save() [18/78]

template<typename ArchiveT >
void cereal::save ( ArchiveT &  ar,
hsa_amd_event_scratch_async_reclaim_start_t  data 
)

Definition at line 259 of file serialization.hpp.

260{
261 ar(make_nvp("queue_id", *data.queue));
262}

References save().

+ Here is the call graph for this function:

◆ save() [19/78]

template<typename ArchiveT >
void cereal::save ( ArchiveT &  ar,
hsa_amd_event_scratch_free_end_t  data 
)

Definition at line 251 of file serialization.hpp.

252{
253 ar(make_nvp("queue_id", *data.queue));
255}

References ROCP_SDK_SAVE_DATA_FIELD, and save().

+ Here is the call graph for this function:

◆ save() [20/78]

template<typename ArchiveT >
void cereal::save ( ArchiveT &  ar,
hsa_amd_event_scratch_free_start_t  data 
)

Definition at line 244 of file serialization.hpp.

245{
246 ar(make_nvp("queue_id", *data.queue));
247}

References save().

+ Here is the call graph for this function:

◆ save() [21/78]

template<typename ArchiveT >
void cereal::save ( ArchiveT &  ar,
HSA_CAPABILITY  data 
)

Definition at line 765 of file serialization.hpp.

766{
767 ROCP_SDK_SAVE_DATA_BITFIELD("HotPluggable", ui32.HotPluggable);
768 ROCP_SDK_SAVE_DATA_BITFIELD("HSAMMUPresent", ui32.HSAMMUPresent);
769 ROCP_SDK_SAVE_DATA_BITFIELD("SharedWithGraphics", ui32.SharedWithGraphics);
770 ROCP_SDK_SAVE_DATA_BITFIELD("QueueSizePowerOfTwo", ui32.QueueSizePowerOfTwo);
771 ROCP_SDK_SAVE_DATA_BITFIELD("QueueSize32bit", ui32.QueueSize32bit);
772 ROCP_SDK_SAVE_DATA_BITFIELD("QueueIdleEvent", ui32.QueueIdleEvent);
773 ROCP_SDK_SAVE_DATA_BITFIELD("VALimit", ui32.VALimit);
774 ROCP_SDK_SAVE_DATA_BITFIELD("WatchPointsSupported", ui32.WatchPointsSupported);
775 ROCP_SDK_SAVE_DATA_BITFIELD("WatchPointsTotalBits", ui32.WatchPointsTotalBits);
776 ROCP_SDK_SAVE_DATA_BITFIELD("DoorbellType", ui32.DoorbellType);
777 ROCP_SDK_SAVE_DATA_BITFIELD("AQLQueueDoubleMap", ui32.AQLQueueDoubleMap);
778 ROCP_SDK_SAVE_DATA_BITFIELD("DebugTrapSupported", ui32.DebugTrapSupported);
779 ROCP_SDK_SAVE_DATA_BITFIELD("WaveLaunchTrapOverrideSupported",
780 ui32.WaveLaunchTrapOverrideSupported);
781 ROCP_SDK_SAVE_DATA_BITFIELD("WaveLaunchModeSupported", ui32.WaveLaunchModeSupported);
782 ROCP_SDK_SAVE_DATA_BITFIELD("PreciseMemoryOperationsSupported",
783 ui32.PreciseMemoryOperationsSupported);
784 ROCP_SDK_SAVE_DATA_BITFIELD("DEPRECATED_SRAM_EDCSupport", ui32.DEPRECATED_SRAM_EDCSupport);
785 ROCP_SDK_SAVE_DATA_BITFIELD("Mem_EDCSupport", ui32.Mem_EDCSupport);
786 ROCP_SDK_SAVE_DATA_BITFIELD("RASEventNotify", ui32.RASEventNotify);
787 ROCP_SDK_SAVE_DATA_BITFIELD("ASICRevision", ui32.ASICRevision);
788 ROCP_SDK_SAVE_DATA_BITFIELD("SRAM_EDCSupport", ui32.SRAM_EDCSupport);
789 ROCP_SDK_SAVE_DATA_BITFIELD("SVMAPISupported", ui32.SVMAPISupported);
790 ROCP_SDK_SAVE_DATA_BITFIELD("CoherentHostAccess", ui32.CoherentHostAccess);
791 ROCP_SDK_SAVE_DATA_BITFIELD("DebugSupportedFirmware", ui32.DebugSupportedFirmware);
792}

References ROCP_SDK_SAVE_DATA_BITFIELD, and save().

+ Here is the call graph for this function:

◆ save() [22/78]

template<typename ArchiveT >
void cereal::save ( ArchiveT &  ar,
HSA_ENGINE_ID  data 
)

Definition at line 812 of file serialization.hpp.

813{
814 ROCP_SDK_SAVE_DATA_BITFIELD("uCode", ui32.uCode);
815 ROCP_SDK_SAVE_DATA_BITFIELD("Major", ui32.Major);
816 ROCP_SDK_SAVE_DATA_BITFIELD("Minor", ui32.Minor);
817 ROCP_SDK_SAVE_DATA_BITFIELD("Stepping", ui32.Stepping);
818}

References ROCP_SDK_SAVE_DATA_BITFIELD, and save().

+ Here is the call graph for this function:

◆ save() [23/78]

template<typename ArchiveT >
void cereal::save ( ArchiveT &  ar,
HSA_ENGINE_VERSION  data 
)

Definition at line 804 of file serialization.hpp.

805{
806 ROCP_SDK_SAVE_DATA_BITFIELD("uCodeSDMA", uCodeSDMA);
807 ROCP_SDK_SAVE_DATA_BITFIELD("uCodeRes", uCodeRes);
808}

References ROCP_SDK_SAVE_DATA_BITFIELD, and save().

+ Here is the call graph for this function:

◆ save() [24/78]

template<typename ArchiveT >
void cereal::save ( ArchiveT &  ar,
HSA_LINKPROPERTY  data 
)

Definition at line 754 of file serialization.hpp.

755{
756 ROCP_SDK_SAVE_DATA_BITFIELD("Override", ui32.Override);
757 ROCP_SDK_SAVE_DATA_BITFIELD("NonCoherent", ui32.NonCoherent);
758 ROCP_SDK_SAVE_DATA_BITFIELD("NoAtomics32bit", ui32.NoAtomics32bit);
759 ROCP_SDK_SAVE_DATA_BITFIELD("NoAtomics64bit", ui32.NoAtomics64bit);
760 ROCP_SDK_SAVE_DATA_BITFIELD("NoPeerToPeerDMA", ui32.NoPeerToPeerDMA);
761}

References ROCP_SDK_SAVE_DATA_BITFIELD, and save().

+ Here is the call graph for this function:

◆ save() [25/78]

template<typename ArchiveT >
void cereal::save ( ArchiveT &  ar,
HSA_MEMORYPROPERTY  data 
)

Definition at line 796 of file serialization.hpp.

797{
798 ROCP_SDK_SAVE_DATA_BITFIELD("HotPluggable", ui32.HotPluggable);
799 ROCP_SDK_SAVE_DATA_BITFIELD("NonVolatile", ui32.NonVolatile);
800}

References ROCP_SDK_SAVE_DATA_BITFIELD, and save().

+ Here is the call graph for this function:

◆ save() [26/78]

template<typename ArchiveT >
void cereal::save ( ArchiveT &  ar,
HsaCacheType  data 
)

Definition at line 744 of file serialization.hpp.

745{
746 ROCP_SDK_SAVE_DATA_BITFIELD("Data", ui32.Data);
747 ROCP_SDK_SAVE_DATA_BITFIELD("Instruction", ui32.Instruction);
748 ROCP_SDK_SAVE_DATA_BITFIELD("CPU", ui32.CPU);
749 ROCP_SDK_SAVE_DATA_BITFIELD("HSACU", ui32.HSACU);
750}

References ROCP_SDK_SAVE_DATA_BITFIELD, and save().

+ Here is the call graph for this function:

◆ save() [27/78]

template<typename ArchiveT >
void cereal::save ( ArchiveT &  ar,
rocprofiler_address_t  data 
)

Definition at line 143 of file serialization.hpp.

144{
146}

References ROCP_SDK_SAVE_DATA_FIELD, and save().

+ Here is the call graph for this function:

◆ save() [28/78]

template<typename ArchiveT >
void cereal::save ( ArchiveT &  ar,
rocprofiler_agent_cache_t  data 
)

Definition at line 822 of file serialization.hpp.

823{
824 ROCP_SDK_SAVE_DATA_FIELD(processor_id_low);
827 ROCP_SDK_SAVE_DATA_FIELD(cache_line_size);
828 ROCP_SDK_SAVE_DATA_FIELD(cache_lines_per_tag);
829 ROCP_SDK_SAVE_DATA_FIELD(association);
832}

References ROCP_SDK_SAVE_DATA_FIELD, and save().

+ Here is the call graph for this function:

◆ save() [29/78]

template<typename ArchiveT >
void cereal::save ( ArchiveT &  ar,
rocprofiler_agent_id_t  data 
)

Definition at line 98 of file serialization.hpp.

99{
101}

References ROCP_SDK_SAVE_DATA_FIELD, and save().

+ Here is the call graph for this function:

◆ save() [30/78]

template<typename ArchiveT >
void cereal::save ( ArchiveT &  ar,
rocprofiler_agent_io_link_t  data 
)

Definition at line 874 of file serialization.hpp.

875{
877 ROCP_SDK_SAVE_DATA_FIELD(version_major);
878 ROCP_SDK_SAVE_DATA_FIELD(version_minor);
879 ROCP_SDK_SAVE_DATA_FIELD(node_from);
882 ROCP_SDK_SAVE_DATA_FIELD(min_latency);
883 ROCP_SDK_SAVE_DATA_FIELD(max_latency);
884 ROCP_SDK_SAVE_DATA_FIELD(min_bandwidth);
885 ROCP_SDK_SAVE_DATA_FIELD(max_bandwidth);
886 ROCP_SDK_SAVE_DATA_FIELD(recommended_transfer_size);
888}

References ROCP_SDK_SAVE_DATA_FIELD, and save().

+ Here is the call graph for this function:

◆ save() [31/78]

template<typename ArchiveT >
void cereal::save ( ArchiveT &  ar,
rocprofiler_agent_mem_bank_t  data 
)

Definition at line 892 of file serialization.hpp.

893{
894 ROCP_SDK_SAVE_DATA_FIELD(heap_type);
897 ROCP_SDK_SAVE_DATA_FIELD(mem_clk_max);
898 ROCP_SDK_SAVE_DATA_FIELD(size_in_bytes);
899}

References ROCP_SDK_SAVE_DATA_FIELD, and save().

+ Here is the call graph for this function:

◆ save() [32/78]

template<typename ArchiveT >
void cereal::save ( ArchiveT &  ar,
rocprofiler_buffer_tracing_correlation_id_retirement_record_t  data 
)

Definition at line 734 of file serialization.hpp.

735{
738 ROCP_SDK_SAVE_DATA_FIELD(timestamp);
739 ROCP_SDK_SAVE_DATA_FIELD(internal_correlation_id);
740}

References ROCP_SDK_SAVE_DATA_FIELD, and save().

+ Here is the call graph for this function:

◆ save() [33/78]

template<typename ArchiveT >
void cereal::save ( ArchiveT &  ar,
rocprofiler_buffer_tracing_hip_api_record_t  data 
)

Definition at line 463 of file serialization.hpp.

464{
466}
void save_buffer_tracing_api_record(ArchiveT &ar, Tp data)

References save(), and save_buffer_tracing_api_record().

+ Here is the call graph for this function:

◆ save() [34/78]

template<typename ArchiveT >
void cereal::save ( ArchiveT &  ar,
rocprofiler_buffer_tracing_hsa_api_record_t  data 
)

Definition at line 447 of file serialization.hpp.

448{
450}

References save(), and save_buffer_tracing_api_record().

+ Here is the call graph for this function:

◆ save() [35/78]

template<typename ArchiveT >
void cereal::save ( ArchiveT &  ar,
rocprofiler_buffer_tracing_kernel_dispatch_record_t  data 
)

Definition at line 534 of file serialization.hpp.

535{
538 ROCP_SDK_SAVE_DATA_FIELD(operation);
539 ROCP_SDK_SAVE_DATA_FIELD(thread_id);
540 ROCP_SDK_SAVE_DATA_FIELD(correlation_id);
541 ROCP_SDK_SAVE_DATA_FIELD(start_timestamp);
542 ROCP_SDK_SAVE_DATA_FIELD(end_timestamp);
543 ROCP_SDK_SAVE_DATA_FIELD(dispatch_info);
544}

References ROCP_SDK_SAVE_DATA_FIELD, and save().

+ Here is the call graph for this function:

◆ save() [36/78]

template<typename ArchiveT >
void cereal::save ( ArchiveT &  ar,
rocprofiler_buffer_tracing_marker_api_record_t  data 
)

Definition at line 470 of file serialization.hpp.

471{
473}

References save(), and save_buffer_tracing_api_record().

+ Here is the call graph for this function:

◆ save() [37/78]

template<typename ArchiveT >
void cereal::save ( ArchiveT &  ar,
rocprofiler_buffer_tracing_memory_allocation_record_t  data 
)

Definition at line 564 of file serialization.hpp.

565{
568 ROCP_SDK_SAVE_DATA_FIELD(operation);
569 ROCP_SDK_SAVE_DATA_FIELD(thread_id);
570 ROCP_SDK_SAVE_DATA_FIELD(correlation_id);
571 ROCP_SDK_SAVE_DATA_FIELD(start_timestamp);
572 ROCP_SDK_SAVE_DATA_FIELD(end_timestamp);
573 ROCP_SDK_SAVE_DATA_FIELD(agent_id);
575 ROCP_SDK_SAVE_DATA_FIELD(allocation_size);
576}
uint64_t value
usage example: store address in uint64_t format
Definition fwd.h:525
rocprofiler_address_t address
starting address for memory allocation
auto as_hex(Tp val, unsigned long width=0)
Definition utility.hpp:37
#define ROCP_SDK_SAVE_VALUE(NAME, VALUE)

References rocprofiler_buffer_tracing_memory_allocation_record_t::address, rocprofiler::sdk::utility::as_hex(), ROCP_SDK_SAVE_DATA_FIELD, ROCP_SDK_SAVE_VALUE, save(), and rocprofiler_address_t::value.

+ Here is the call graph for this function:

◆ save() [38/78]

template<typename ArchiveT >
void cereal::save ( ArchiveT &  ar,
rocprofiler_buffer_tracing_memory_copy_record_t  data 
)

Definition at line 548 of file serialization.hpp.

549{
552 ROCP_SDK_SAVE_DATA_FIELD(operation);
553 ROCP_SDK_SAVE_DATA_FIELD(thread_id);
554 ROCP_SDK_SAVE_DATA_FIELD(correlation_id);
555 ROCP_SDK_SAVE_DATA_FIELD(start_timestamp);
556 ROCP_SDK_SAVE_DATA_FIELD(end_timestamp);
557 ROCP_SDK_SAVE_DATA_FIELD(dst_agent_id);
558 ROCP_SDK_SAVE_DATA_FIELD(src_agent_id);
560}

References ROCP_SDK_SAVE_DATA_FIELD, and save().

+ Here is the call graph for this function:

◆ save() [39/78]

template<typename ArchiveT >
void cereal::save ( ArchiveT &  ar,
rocprofiler_buffer_tracing_ompt_record_t  data 
)

Definition at line 514 of file serialization.hpp.

515{
517
519 {
521 }
523 {
524 ROCP_SDK_SAVE_DATA_FIELD(target_data_op);
525 }
527 {
528 ROCP_SDK_SAVE_DATA_FIELD(target_kernel);
529 }
530}
rocprofiler_tracing_operation_t operation
Specification of the rocprofiler_ompt_operation_t.
@ ROCPROFILER_OMPT_ID_target_submit_emi
Definition api_id.h:61
@ ROCPROFILER_OMPT_ID_target_emi
Definition api_id.h:59
@ ROCPROFILER_OMPT_ID_target_data_op_emi
Definition api_id.h:60

References rocprofiler_buffer_tracing_ompt_record_t::operation, ROCP_SDK_SAVE_DATA_FIELD, ROCPROFILER_OMPT_ID_target_data_op_emi, ROCPROFILER_OMPT_ID_target_emi, ROCPROFILER_OMPT_ID_target_submit_emi, save(), and save_buffer_tracing_api_record().

+ Here is the call graph for this function:

◆ save() [40/78]

template<typename ArchiveT >
void cereal::save ( ArchiveT &  ar,
rocprofiler_buffer_tracing_ompt_target_data_op_t  data 
)

Definition at line 494 of file serialization.hpp.

495{
496 ROCP_SDK_SAVE_DATA_VALUE("host_op_id", host_op_id);
497 ROCP_SDK_SAVE_DATA_VALUE("optype", optype);
498 ROCP_SDK_SAVE_DATA_VALUE("src_device_num", src_device_num);
499 ROCP_SDK_SAVE_DATA_VALUE("dst_device_num", dst_device_num);
500 ROCP_SDK_SAVE_DATA_VALUE("bytes", bytes);
501}
#define ROCP_SDK_SAVE_DATA_VALUE(NAME, VALUE)

References ROCP_SDK_SAVE_DATA_VALUE, and save().

+ Here is the call graph for this function:

◆ save() [41/78]

template<typename ArchiveT >
void cereal::save ( ArchiveT &  ar,
rocprofiler_buffer_tracing_ompt_target_kernel_t  data 
)

Definition at line 505 of file serialization.hpp.

506{
507 ROCP_SDK_SAVE_DATA_VALUE("host_op_id", host_op_id);
508 ROCP_SDK_SAVE_DATA_VALUE("device_num", device_num);
509 ROCP_SDK_SAVE_DATA_VALUE("requested_num_teams", requested_num_teams);
510}

References ROCP_SDK_SAVE_DATA_VALUE, and save().

+ Here is the call graph for this function:

◆ save() [42/78]

template<typename ArchiveT >
void cereal::save ( ArchiveT &  ar,
rocprofiler_buffer_tracing_ompt_target_t  data 
)

Definition at line 484 of file serialization.hpp.

485{
486 ROCP_SDK_SAVE_DATA_VALUE("kind", kind);
487 ROCP_SDK_SAVE_DATA_VALUE("device", device_num);
488 ROCP_SDK_SAVE_DATA_VALUE("task_id", task_id);
489 ROCP_SDK_SAVE_DATA_VALUE("target_id", target_id);
490}

References ROCP_SDK_SAVE_DATA_VALUE, and save().

+ Here is the call graph for this function:

◆ save() [43/78]

template<typename ArchiveT >
void cereal::save ( ArchiveT &  ar,
rocprofiler_buffer_tracing_rccl_api_record_t  data 
)

Definition at line 477 of file serialization.hpp.

478{
480}

References save(), and save_buffer_tracing_api_record().

+ Here is the call graph for this function:

◆ save() [44/78]

template<typename ArchiveT >
void cereal::save ( ArchiveT &  ar,
rocprofiler_buffer_tracing_runtime_initialization_record_t  data 
)

Definition at line 1018 of file serialization.hpp.

1019{
1022 ROCP_SDK_SAVE_DATA_FIELD(operation);
1023 ROCP_SDK_SAVE_DATA_FIELD(correlation_id);
1024 ROCP_SDK_SAVE_DATA_FIELD(timestamp);
1025 ROCP_SDK_SAVE_DATA_FIELD(thread_id);
1026 ROCP_SDK_SAVE_DATA_FIELD(version);
1027 ROCP_SDK_SAVE_DATA_FIELD(instance);
1028}

References ROCP_SDK_SAVE_DATA_FIELD, and save().

+ Here is the call graph for this function:

◆ save() [45/78]

template<typename ArchiveT >
void cereal::save ( ArchiveT &  ar,
rocprofiler_buffer_tracing_scratch_memory_record_t  data 
)

Definition at line 718 of file serialization.hpp.

719{
722 ROCP_SDK_SAVE_DATA_FIELD(operation);
723 ROCP_SDK_SAVE_DATA_FIELD(agent_id);
724 ROCP_SDK_SAVE_DATA_FIELD(queue_id);
725 ROCP_SDK_SAVE_DATA_FIELD(thread_id);
726 ROCP_SDK_SAVE_DATA_FIELD(start_timestamp);
727 ROCP_SDK_SAVE_DATA_FIELD(end_timestamp);
728 ROCP_SDK_SAVE_DATA_FIELD(correlation_id);
730}

References ROCP_SDK_SAVE_DATA_FIELD, and save().

+ Here is the call graph for this function:

◆ save() [46/78]

template<typename ArchiveT >
void cereal::save ( ArchiveT &  ar,
rocprofiler_callback_tracing_code_object_host_kernel_symbol_register_data_t  data 
)

Definition at line 192 of file serialization.hpp.

193{
195 ROCP_SDK_SAVE_DATA_FIELD(host_function_id);
196 ROCP_SDK_SAVE_DATA_FIELD(kernel_id);
197 ROCP_SDK_SAVE_DATA_FIELD(code_object_id);
198 ROCP_SDK_SAVE_DATA_FIELD(host_function);
200 ROCP_SDK_SAVE_DATA_CSTR(device_function);
201 ROCP_SDK_SAVE_DATA_FIELD(thread_limit);
202 ROCP_SDK_SAVE_DATA_FIELD(thread_ids);
203 ROCP_SDK_SAVE_DATA_FIELD(block_ids);
204 ROCP_SDK_SAVE_DATA_FIELD(block_dims);
205 ROCP_SDK_SAVE_DATA_FIELD(grid_dims);
206 ROCP_SDK_SAVE_DATA_FIELD(workgroup_size);
207}

References ROCP_SDK_SAVE_DATA_CSTR, ROCP_SDK_SAVE_DATA_FIELD, and save().

+ Here is the call graph for this function:

◆ save() [47/78]

template<typename ArchiveT >
void cereal::save ( ArchiveT &  ar,
rocprofiler_callback_tracing_code_object_kernel_symbol_register_data_t  data 
)

Definition at line 174 of file serialization.hpp.

175{
177 ROCP_SDK_SAVE_DATA_FIELD(kernel_id);
178 ROCP_SDK_SAVE_DATA_FIELD(code_object_id);
179 ROCP_SDK_SAVE_DATA_CSTR(kernel_name);
180 ROCP_SDK_SAVE_DATA_FIELD(kernel_object);
181 ROCP_SDK_SAVE_DATA_FIELD(kernarg_segment_size);
182 ROCP_SDK_SAVE_DATA_FIELD(kernarg_segment_alignment);
183 ROCP_SDK_SAVE_DATA_FIELD(group_segment_size);
184 ROCP_SDK_SAVE_DATA_FIELD(private_segment_size);
185 ROCP_SDK_SAVE_DATA_FIELD(sgpr_count);
186 ROCP_SDK_SAVE_DATA_FIELD(arch_vgpr_count);
187 ROCP_SDK_SAVE_DATA_FIELD(accum_vgpr_count);
188}

References ROCP_SDK_SAVE_DATA_CSTR, ROCP_SDK_SAVE_DATA_FIELD, and save().

+ Here is the call graph for this function:

◆ save() [48/78]

template<typename ArchiveT >
void cereal::save ( ArchiveT &  ar,
rocprofiler_callback_tracing_code_object_load_data_t  data 
)

Definition at line 150 of file serialization.hpp.

151{
153 ROCP_SDK_SAVE_DATA_FIELD(code_object_id);
154 ROCP_SDK_SAVE_DATA_FIELD(rocp_agent);
155 ROCP_SDK_SAVE_DATA_FIELD(hsa_agent);
157 ROCP_SDK_SAVE_DATA_FIELD(load_base);
158 ROCP_SDK_SAVE_DATA_FIELD(load_size);
159 ROCP_SDK_SAVE_DATA_FIELD(load_delta);
160 ROCP_SDK_SAVE_DATA_FIELD(storage_type);
162 {
163 ROCP_SDK_SAVE_DATA_FIELD(storage_file);
164 }
166 {
167 ROCP_SDK_SAVE_DATA_FIELD(memory_base);
168 ROCP_SDK_SAVE_DATA_FIELD(memory_size);
169 }
170}
rocprofiler_code_object_storage_type_t storage_type
storage type of the code object reader used to load the loaded code object
@ ROCPROFILER_CODE_OBJECT_STORAGE_TYPE_MEMORY
@ ROCPROFILER_CODE_OBJECT_STORAGE_TYPE_FILE

References ROCP_SDK_SAVE_DATA_CSTR, ROCP_SDK_SAVE_DATA_FIELD, ROCPROFILER_CODE_OBJECT_STORAGE_TYPE_FILE, ROCPROFILER_CODE_OBJECT_STORAGE_TYPE_MEMORY, save(), and rocprofiler_callback_tracing_code_object_load_data_t::storage_type.

+ Here is the call graph for this function:

◆ save() [49/78]

template<typename ArchiveT >
void cereal::save ( ArchiveT &  ar,
rocprofiler_callback_tracing_hip_api_data_t  data 
)

Definition at line 306 of file serialization.hpp.

307{
309 // ROCP_SDK_SAVE_DATA_FIELD(args);
311}

References ROCP_SDK_SAVE_DATA_FIELD, and save().

+ Here is the call graph for this function:

◆ save() [50/78]

template<typename ArchiveT >
void cereal::save ( ArchiveT &  ar,
rocprofiler_callback_tracing_hsa_api_data_t  data 
)

Definition at line 281 of file serialization.hpp.

282{
284 // ROCP_SDK_SAVE_DATA_FIELD(args);
286}

References ROCP_SDK_SAVE_DATA_FIELD, and save().

+ Here is the call graph for this function:

◆ save() [51/78]

template<typename ArchiveT >
void cereal::save ( ArchiveT &  ar,
rocprofiler_callback_tracing_kernel_dispatch_data_t  data 
)

Definition at line 341 of file serialization.hpp.

342{
344 ROCP_SDK_SAVE_DATA_FIELD(start_timestamp);
345 ROCP_SDK_SAVE_DATA_FIELD(end_timestamp);
346 ROCP_SDK_SAVE_DATA_FIELD(dispatch_info);
347}

References ROCP_SDK_SAVE_DATA_FIELD, and save().

+ Here is the call graph for this function:

◆ save() [52/78]

template<typename ArchiveT >
void cereal::save ( ArchiveT &  ar,
rocprofiler_callback_tracing_marker_api_data_t  data 
)

Definition at line 290 of file serialization.hpp.

291{
293 // ROCP_SDK_SAVE_DATA_FIELD(args);
295}

References ROCP_SDK_SAVE_DATA_FIELD, and save().

+ Here is the call graph for this function:

◆ save() [53/78]

template<typename ArchiveT >
void cereal::save ( ArchiveT &  ar,
rocprofiler_callback_tracing_memory_allocation_data_t  data 
)

Definition at line 363 of file serialization.hpp.

364{
366 ROCP_SDK_SAVE_DATA_FIELD(start_timestamp);
367 ROCP_SDK_SAVE_DATA_FIELD(end_timestamp);
368 ROCP_SDK_SAVE_DATA_FIELD(agent_id);
370 ROCP_SDK_SAVE_DATA_FIELD(allocation_size);
371}
rocprofiler_address_t address
starting address for memory allocation

References rocprofiler_callback_tracing_memory_allocation_data_t::address, rocprofiler::sdk::utility::as_hex(), ROCP_SDK_SAVE_DATA_FIELD, ROCP_SDK_SAVE_VALUE, save(), and rocprofiler_address_t::value.

+ Here is the call graph for this function:

◆ save() [54/78]

template<typename ArchiveT >
void cereal::save ( ArchiveT &  ar,
rocprofiler_callback_tracing_memory_copy_data_t  data 
)

Definition at line 351 of file serialization.hpp.

352{
354 ROCP_SDK_SAVE_DATA_FIELD(start_timestamp);
355 ROCP_SDK_SAVE_DATA_FIELD(end_timestamp);
356 ROCP_SDK_SAVE_DATA_FIELD(dst_agent_id);
357 ROCP_SDK_SAVE_DATA_FIELD(src_agent_id);
359}

References ROCP_SDK_SAVE_DATA_FIELD, and save().

+ Here is the call graph for this function:

◆ save() [55/78]

template<typename ArchiveT >
void cereal::save ( ArchiveT &  ar,
rocprofiler_callback_tracing_ompt_data_t  data 
)

Definition at line 391 of file serialization.hpp.

392{
394 // ROCP_SDK_SAVE_DATA_FIELD(args);
395}

References ROCP_SDK_SAVE_DATA_FIELD, and save().

+ Here is the call graph for this function:

◆ save() [56/78]

template<typename ArchiveT >
void cereal::save ( ArchiveT &  ar,
rocprofiler_callback_tracing_rccl_api_data_t  data 
)

Definition at line 382 of file serialization.hpp.

383{
385 // ROCP_SDK_SAVE_DATA_FIELD(args);
387}

References ROCP_SDK_SAVE_DATA_FIELD, and save().

+ Here is the call graph for this function:

◆ save() [57/78]

template<typename ArchiveT >
void cereal::save ( ArchiveT &  ar,
rocprofiler_callback_tracing_record_t  data 
)

Definition at line 422 of file serialization.hpp.

423{
424 ROCP_SDK_SAVE_DATA_FIELD(context_id);
425 ROCP_SDK_SAVE_DATA_FIELD(thread_id);
427 ROCP_SDK_SAVE_DATA_FIELD(operation);
428 ROCP_SDK_SAVE_DATA_FIELD(correlation_id);
430}

References ROCP_SDK_SAVE_DATA_FIELD, and save().

+ Here is the call graph for this function:

◆ save() [58/78]

template<typename ArchiveT >
void cereal::save ( ArchiveT &  ar,
rocprofiler_callback_tracing_runtime_initialization_data_t  data 
)

Definition at line 1009 of file serialization.hpp.

1010{
1012 ROCP_SDK_SAVE_DATA_FIELD(version);
1013 ROCP_SDK_SAVE_DATA_FIELD(instance);
1014}

References ROCP_SDK_SAVE_DATA_FIELD, and save().

+ Here is the call graph for this function:

◆ save() [59/78]

template<typename ArchiveT >
void cereal::save ( ArchiveT &  ar,
rocprofiler_callback_tracing_scratch_memory_data_t  data 
)

Definition at line 315 of file serialization.hpp.

316{
318 ROCP_SDK_SAVE_DATA_FIELD(agent_id);
319 ROCP_SDK_SAVE_DATA_FIELD(queue_id);
321 ROCP_SDK_SAVE_DATA_FIELD(args_kind);
322}

References ROCP_SDK_SAVE_DATA_FIELD, and save().

+ Here is the call graph for this function:

◆ save() [60/78]

template<typename ArchiveT >
void cereal::save ( ArchiveT &  ar,
rocprofiler_context_id_t  data 
)

Definition at line 91 of file serialization.hpp.

92{
94}

References ROCP_SDK_SAVE_DATA_FIELD, and save().

Referenced by save(), save(), save(), save(), save(), save(), save(), save(), save(), save(), save(), save(), save(), save(), save(), save(), save(), save(), save(), save(), save(), save(), save(), save(), save(), save(), save(), save(), save(), save(), save(), save(), save(), save(), save(), save(), save(), save(), save(), save(), save(), save(), save(), save(), save(), save(), save(), save(), save(), save(), save(), save(), save(), save(), save(), save(), save(), save(), save(), save(), save(), save(), save(), save(), save(), save(), save(), save(), save(), save(), save(), save(), save(), save(), save(), save(), save(), and save().

+ Here is the call graph for this function:
+ Here is the caller graph for this function:

◆ save() [61/78]

template<typename ArchiveT >
void cereal::save ( ArchiveT &  ar,
rocprofiler_correlation_id_t  data 
)

Definition at line 126 of file serialization.hpp.

127{
128 ROCP_SDK_SAVE_DATA_FIELD(internal);
129 ROCP_SDK_SAVE_DATA_VALUE("external", external.value);
130}

References ROCP_SDK_SAVE_DATA_FIELD, ROCP_SDK_SAVE_DATA_VALUE, and save().

+ Here is the call graph for this function:

◆ save() [62/78]

template<typename ArchiveT >
void cereal::save ( ArchiveT &  ar,
rocprofiler_counter_id_t  data 
)

Definition at line 119 of file serialization.hpp.

120{
122}

References ROCP_SDK_SAVE_DATA_FIELD, and save().

+ Here is the call graph for this function:

◆ save() [63/78]

template<typename ArchiveT >
void cereal::save ( ArchiveT &  ar,
rocprofiler_counter_info_v0_t  data 
)

Definition at line 987 of file serialization.hpp.

988{
990 ROCP_SDK_SAVE_DATA_BITFIELD("is_constant", is_constant);
991 ROCP_SDK_SAVE_DATA_BITFIELD("is_derived", is_derived);
993 ROCP_SDK_SAVE_DATA_CSTR(description);
995 ROCP_SDK_SAVE_DATA_CSTR(expression);
996}

References ROCP_SDK_SAVE_DATA_BITFIELD, ROCP_SDK_SAVE_DATA_CSTR, ROCP_SDK_SAVE_DATA_FIELD, and save().

+ Here is the call graph for this function:

◆ save() [64/78]

template<typename ArchiveT >
void cereal::save ( ArchiveT &  ar,
rocprofiler_dim3_t  data 
)

Definition at line 134 of file serialization.hpp.

References ROCP_SDK_SAVE_DATA_FIELD, and save().

+ Here is the call graph for this function:

◆ save() [65/78]

template<typename ArchiveT >
void cereal::save ( ArchiveT &  ar,
rocprofiler_dispatch_counting_service_data_t  data 
)

Definition at line 399 of file serialization.hpp.

400{
402 ROCP_SDK_SAVE_DATA_FIELD(correlation_id);
403 ROCP_SDK_SAVE_DATA_FIELD(start_timestamp);
404 ROCP_SDK_SAVE_DATA_FIELD(end_timestamp);
405 ROCP_SDK_SAVE_DATA_FIELD(dispatch_info);
406}

References ROCP_SDK_SAVE_DATA_FIELD, and save().

+ Here is the call graph for this function:

◆ save() [66/78]

template<typename ArchiveT >
void cereal::save ( ArchiveT &  ar,
rocprofiler_dispatch_counting_service_record_t  data 
)

Definition at line 410 of file serialization.hpp.

411{
413 ROCP_SDK_SAVE_DATA_FIELD(num_records);
414 ROCP_SDK_SAVE_DATA_FIELD(correlation_id);
415 ROCP_SDK_SAVE_DATA_FIELD(start_timestamp);
416 ROCP_SDK_SAVE_DATA_FIELD(end_timestamp);
417 ROCP_SDK_SAVE_DATA_FIELD(dispatch_info);
418}

References ROCP_SDK_SAVE_DATA_FIELD, and save().

+ Here is the call graph for this function:

◆ save() [67/78]

template<typename ArchiveT >
void cereal::save ( ArchiveT &  ar,
rocprofiler_hip_api_retval_t  data 
)

Definition at line 299 of file serialization.hpp.

300{
301 ROCP_SDK_SAVE_DATA_FIELD(hipError_t_retval);
302}

References ROCP_SDK_SAVE_DATA_FIELD, and save().

+ Here is the call graph for this function:

◆ save() [68/78]

template<typename ArchiveT >
void cereal::save ( ArchiveT &  ar,
rocprofiler_hsa_api_retval_t  data 
)

Definition at line 211 of file serialization.hpp.

212{
213 ROCP_SDK_SAVE_DATA_FIELD(uint64_t_retval);
214}

References ROCP_SDK_SAVE_DATA_FIELD, and save().

+ Here is the call graph for this function:

◆ save() [69/78]

template<typename ArchiveT >
void cereal::save ( ArchiveT &  ar,
rocprofiler_kernel_dispatch_info_t  data 
)

Definition at line 326 of file serialization.hpp.

327{
329 ROCP_SDK_SAVE_DATA_FIELD(agent_id);
330 ROCP_SDK_SAVE_DATA_FIELD(queue_id);
331 ROCP_SDK_SAVE_DATA_FIELD(kernel_id);
332 ROCP_SDK_SAVE_DATA_FIELD(dispatch_id);
333 ROCP_SDK_SAVE_DATA_FIELD(private_segment_size);
334 ROCP_SDK_SAVE_DATA_FIELD(group_segment_size);
335 ROCP_SDK_SAVE_DATA_FIELD(workgroup_size);
336 ROCP_SDK_SAVE_DATA_FIELD(grid_size);
337}

References ROCP_SDK_SAVE_DATA_FIELD, and save().

+ Here is the call graph for this function:

◆ save() [70/78]

template<typename ArchiveT >
void cereal::save ( ArchiveT &  ar,
rocprofiler_marker_api_retval_t  data 
)

Definition at line 274 of file serialization.hpp.

275{
276 ROCP_SDK_SAVE_DATA_FIELD(int64_t_retval);
277}

References ROCP_SDK_SAVE_DATA_FIELD, and save().

+ Here is the call graph for this function:

◆ save() [71/78]

template<typename ArchiveT >
void cereal::save ( ArchiveT &  ar,
rocprofiler_pc_sampling_configuration_t  data 
)

Definition at line 903 of file serialization.hpp.

904{
907 ROCP_SDK_SAVE_DATA_FIELD(min_interval);
908 ROCP_SDK_SAVE_DATA_FIELD(max_interval);
910}

References ROCP_SDK_SAVE_DATA_FIELD, and save().

+ Here is the call graph for this function:

◆ save() [72/78]

template<typename ArchiveT >
void cereal::save ( ArchiveT &  ar,
rocprofiler_pc_sampling_hw_id_v0_t  data 
)

Definition at line 843 of file serialization.hpp.

844{
845 ROCP_SDK_SAVE_DATA_BITFIELD("chiplet", chiplet);
846 ROCP_SDK_SAVE_DATA_BITFIELD("wave_id", wave_id);
847 ROCP_SDK_SAVE_DATA_BITFIELD("simd_id", simd_id);
848 ROCP_SDK_SAVE_DATA_BITFIELD("pipe_id", pipe_id);
849 ROCP_SDK_SAVE_DATA_BITFIELD("cu_or_wgp_id", cu_or_wgp_id);
850 ROCP_SDK_SAVE_DATA_BITFIELD("shader_array_id", shader_array_id);
851 ROCP_SDK_SAVE_DATA_BITFIELD("shader_engine_id", shader_engine_id);
852 ROCP_SDK_SAVE_DATA_BITFIELD("workgroup_id ", workgroup_id);
853 ROCP_SDK_SAVE_DATA_BITFIELD("vm_id", vm_id);
854 ROCP_SDK_SAVE_DATA_BITFIELD("queue_id", queue_id);
855 ROCP_SDK_SAVE_DATA_BITFIELD("microengine_id", microengine_id);
856}

References ROCP_SDK_SAVE_DATA_BITFIELD, and save().

+ Here is the call graph for this function:

◆ save() [73/78]

template<typename ArchiveT >
void cereal::save ( ArchiveT &  ar,
rocprofiler_pc_sampling_record_host_trap_v0_t  data 
)

Definition at line 860 of file serialization.hpp.

861{
864 ROCP_SDK_SAVE_DATA_FIELD(exec_mask);
865 ROCP_SDK_SAVE_DATA_FIELD(timestamp);
866 ROCP_SDK_SAVE_DATA_FIELD(dispatch_id);
867 ROCP_SDK_SAVE_DATA_VALUE("corr_id", correlation_id);
868 ROCP_SDK_SAVE_DATA_VALUE("wrkgrp_id", workgroup_id);
869 ROCP_SDK_SAVE_DATA_BITFIELD("wave_in_grp", wave_in_group);
870}

References ROCP_SDK_SAVE_DATA_BITFIELD, ROCP_SDK_SAVE_DATA_FIELD, ROCP_SDK_SAVE_DATA_VALUE, and save().

+ Here is the call graph for this function:

◆ save() [74/78]

template<typename ArchiveT >
void cereal::save ( ArchiveT &  ar,
rocprofiler_pc_t  data 
)

Definition at line 835 of file serialization.hpp.

836{
837 ROCP_SDK_SAVE_DATA_FIELD(code_object_id);
838 ROCP_SDK_SAVE_DATA_FIELD(code_object_offset);
839}

References ROCP_SDK_SAVE_DATA_FIELD, and save().

+ Here is the call graph for this function:

◆ save() [75/78]

template<typename ArchiveT >
void cereal::save ( ArchiveT &  ar,
rocprofiler_queue_id_t  data 
)

Definition at line 112 of file serialization.hpp.

113{
115}

References ROCP_SDK_SAVE_DATA_FIELD, and save().

+ Here is the call graph for this function:

◆ save() [76/78]

template<typename ArchiveT >
void cereal::save ( ArchiveT &  ar,
rocprofiler_rccl_api_retval_t  data 
)

Definition at line 375 of file serialization.hpp.

376{
377 ROCP_SDK_SAVE_DATA_FIELD(ncclResult_t_retval);
378}

References ROCP_SDK_SAVE_DATA_FIELD, and save().

+ Here is the call graph for this function:

◆ save() [77/78]

template<typename ArchiveT >
void cereal::save ( ArchiveT &  ar,
rocprofiler_record_counter_t  data 
)

Definition at line 454 of file serialization.hpp.

455{
457 ROCP_SDK_SAVE_DATA_FIELD(counter_value);
458 ROCP_SDK_SAVE_DATA_FIELD(dispatch_id);
459}

References ROCP_SDK_SAVE_DATA_FIELD, and save().

+ Here is the call graph for this function:

◆ save() [78/78]

template<typename ArchiveT >
void cereal::save ( ArchiveT &  ar,
rocprofiler_record_dimension_info_t  data 
)

Definition at line 1000 of file serialization.hpp.

1001{
1003 ROCP_SDK_SAVE_DATA_FIELD(instance_size);
1005}

References ROCP_SDK_SAVE_DATA_CSTR, ROCP_SDK_SAVE_DATA_FIELD, and save().

+ Here is the call graph for this function:

◆ save_buffer_tracing_api_record()

template<typename ArchiveT , typename Tp >
void cereal::save_buffer_tracing_api_record ( ArchiveT &  ar,
Tp  data 
)

Definition at line 434 of file serialization.hpp.

435{
438 ROCP_SDK_SAVE_DATA_FIELD(operation);
439 ROCP_SDK_SAVE_DATA_FIELD(correlation_id);
440 ROCP_SDK_SAVE_DATA_FIELD(start_timestamp);
441 ROCP_SDK_SAVE_DATA_FIELD(end_timestamp);
442 ROCP_SDK_SAVE_DATA_FIELD(thread_id);
443}

References ROCP_SDK_SAVE_DATA_FIELD, and save_buffer_tracing_api_record().

Referenced by save(), save(), save(), save(), save(), and save_buffer_tracing_api_record().

+ Here is the call graph for this function:
+ Here is the caller graph for this function: