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::PrologueState< VendorTypes > Class Template Reference

#include <MnemeReplay.hpp>

Public Member Functions

 PrologueState (const std::string &KernelName, const std::string &SnapshotFile)
void load () override
void reset (typename MnemeDeviceRT::DeviceStream_t Stream) override
PrologueState< VendorTypes > * asPrologue () override
Public Member Functions inherited from mneme::ReplayMemState< VendorTypes >
 ReplayMemState ()=delete
virtual ~ReplayMemState ()
void release ()
const BlobsByAddress< VendorTypes > & getDeviceMemory () const
const std::unordered_map< std::string, ReplayGlobalVar > & getGlobalVars () const
virtual EpilogueState< VendorTypes > * asEpilogue ()
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

◆ PrologueState()

template<DeviceVendors VendorTypes>
mneme::PrologueState< VendorTypes >::PrologueState ( const std::string & KernelName,
const std::string & SnapshotFile )
inline

Member Function Documentation

◆ asPrologue()

template<DeviceVendors VendorTypes>
PrologueState< VendorTypes > * mneme::PrologueState< VendorTypes >::asPrologue ( )
inlineoverridevirtual

◆ load()

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

◆ reset()

template<DeviceVendors VendorTypes>
void mneme::PrologueState< VendorTypes >::reset ( typename MnemeDeviceRT::DeviceStream_t Stream)
inlineoverridevirtual

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