Mneme
Mneme a tool allowing recording the execution of a GPU (CUDA/HIP) kernel and replaying that kernel as an independent executable.
Loading...
Searching...
No Matches
mneme::EpilogueState< VendorTypes > Class Template Reference

#include <MnemeReplay.hpp>

Public Member Functions

 EpilogueState (Snapshot< VendorTypes > SnapshotState)
void load () override
void reset (typename DeviceTraits< VendorTypes >::DeviceStream_t) override
EpilogueState< VendorTypes > * asEpilogue () override
virtual bool matches (const PrologueState< VendorTypes > &Prologue) const
bool matchesUnlaunched (const PrologueState< VendorTypes > &Prologue) const
Public Member Functions inherited from mneme::ReplayMemState< VendorTypes >
 ReplayMemState ()=delete
virtual ~ReplayMemState ()
virtual void reset (DeviceStream_t Stream)=0
void release ()
const BlobsByAddress< VendorTypes > & getDeviceMemory () const
const std::unordered_map< std::string, ReplayGlobalVar > & getGlobalVars () const
virtual PrologueState< VendorTypes > * asPrologue ()
void ** getArgs () const
uint64_t getNumArgs () const
void initializeGlobals (DeviceModule_t VendorMod)

Additional Inherited Members

Public Types inherited from mneme::ReplayMemState< VendorTypes >
using MnemeDeviceRT = DeviceTraits<VendorTypes>
using DeviceError_t = typename MnemeDeviceRT::DeviceError_t
using DeviceStream_t = typename MnemeDeviceRT::DeviceStream_t
using KernelFunction_t = typename MnemeDeviceRT::KernelFunction_t
using DeviceModule_t = typename DeviceTraits<VendorTypes>::DeviceModule_t
Protected Member Functions inherited from mneme::ReplayMemState< VendorTypes >
 ReplayMemState (Snapshot< VendorTypes > SnapshotState)
void copyGlobals ()
Protected Attributes inherited from mneme::ReplayMemState< VendorTypes >
std::shared_ptr< KernelInfo > KInfo
BlobsByAddress< VendorTypes > DeviceMemoryState
std::unordered_map< std::string, ReplayGlobalVar > GlobalVars
std::unique_ptr< void *[]> Args

Constructor & Destructor Documentation

◆ EpilogueState()

template<DeviceVendors VendorTypes>
mneme::EpilogueState< VendorTypes >::EpilogueState ( Snapshot< VendorTypes > SnapshotState)
inlineexplicit

Member Function Documentation

◆ asEpilogue()

template<DeviceVendors VendorTypes>
EpilogueState< VendorTypes > * mneme::EpilogueState< VendorTypes >::asEpilogue ( )
inlineoverridevirtual

◆ load()

template<DeviceVendors VendorTypes>
void mneme::EpilogueState< VendorTypes >::load ( )
inlineoverridevirtual

◆ matches()

template<DeviceVendors VendorTypes>
virtual bool mneme::EpilogueState< VendorTypes >::matches ( const PrologueState< VendorTypes > & Prologue) const
inlinevirtual

◆ matchesUnlaunched()

template<DeviceVendors VendorTypes>
bool mneme::EpilogueState< VendorTypes >::matchesUnlaunched ( const PrologueState< VendorTypes > & Prologue) const
inline

◆ reset()

template<DeviceVendors VendorTypes>
void mneme::EpilogueState< VendorTypes >::reset ( typename DeviceTraits< VendorTypes >::DeviceStream_t )
inlineoverride

The documentation for this class was generated from the following file: