details Namespace Reference

details Namespace Reference#

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

Data Structures

struct  save_page_migration_arg
 
struct  save_page_migration_arg< ROCPROFILER_PAGE_MIGRATION_DROPPED_EVENT >
 
struct  save_page_migration_arg< ROCPROFILER_PAGE_MIGRATION_NONE >
 
struct  save_page_migration_arg< ROCPROFILER_PAGE_MIGRATION_PAGE_FAULT_END >
 
struct  save_page_migration_arg< ROCPROFILER_PAGE_MIGRATION_PAGE_FAULT_START >
 
struct  save_page_migration_arg< ROCPROFILER_PAGE_MIGRATION_PAGE_MIGRATE_END >
 
struct  save_page_migration_arg< ROCPROFILER_PAGE_MIGRATION_PAGE_MIGRATE_START >
 
struct  save_page_migration_arg< ROCPROFILER_PAGE_MIGRATION_QUEUE_EVICTION >
 
struct  save_page_migration_arg< ROCPROFILER_PAGE_MIGRATION_QUEUE_RESTORE >
 
struct  save_page_migration_arg< ROCPROFILER_PAGE_MIGRATION_UNMAP_FROM_GPU >
 

Functions

template<typename ArchiveT , unsigned long Idx, unsigned long... IdxTail>
void save_page_migration_args (ArchiveT &ar, rocprofiler_page_migration_operation_t op, rocprofiler_page_migration_args_t args, std::index_sequence< Idx, IdxTail... >)
 

Data Structure Documentation

◆ cereal::details::save_page_migration_arg

struct cereal::details::save_page_migration_arg
template<unsigned long Idx>
struct cereal::details::save_page_migration_arg< Idx >

Definition at line 657 of file serialization.hpp.

+ Collaboration diagram for cereal::details::save_page_migration_arg< Idx >:

Function Documentation

◆ save_page_migration_args()

template<typename ArchiveT , unsigned long Idx, unsigned long... IdxTail>
void cereal::details::save_page_migration_args ( ArchiveT &  ar,
rocprofiler_page_migration_operation_t  op,
rocprofiler_page_migration_args_t  args,
std::index_sequence< Idx, IdxTail... >   
)

Definition at line 685 of file serialization.hpp.

689{
690 using save_page_migration_type = save_page_migration_arg<Idx>;
691 if(op == save_page_migration_type::value)
692 {
693 if constexpr(save_page_migration_type::value != ROCPROFILER_PAGE_MIGRATION_NONE)
694 save_page_migration_type{}(ar, args);
695 }
696 else if constexpr(sizeof...(IdxTail) > 0)
697 {
698 save_page_migration_args(ar, op, args, std::index_sequence<IdxTail...>{});
699 }
700}
@ ROCPROFILER_PAGE_MIGRATION_NONE
Unknown event.
Definition fwd.h:335

References ROCPROFILER_PAGE_MIGRATION_NONE, and save_page_migration_args().

Referenced by save_page_migration_args().

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