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

#include <MnemeSnapshotFormat.hpp>

Public Member Functions

bool requiresBaseSnapshot () const override
Snapshot< VendorTypes > read (const std::string &KernelName, const BaseSnapshotSource< VendorTypes > &) const override
Public Member Functions inherited from mneme::SnapshotReader< VendorTypes >
 SnapshotReader (std::string Filename, std::unique_ptr< llvm::MemoryBuffer > Buffer, size_t PayloadOffset)
virtual ~SnapshotReader ()=default

Static Public Attributes

static constexpr SnapshotHeader Layout {SnapshotKind::Bytes, 1}

Additional Inherited Members

Protected Member Functions inherited from mneme::SnapshotReader< VendorTypes >
const char * payload () const
Protected Attributes inherited from mneme::SnapshotReader< VendorTypes >
std::string Filename
std::unique_ptr< llvm::MemoryBuffer > Buffer
size_t PayloadOffset

Member Function Documentation

◆ read()

template<DeviceVendors VendorTypes>
Snapshot< VendorTypes > mneme::BytesReaderV1< VendorTypes >::read ( const std::string & KernelName,
const BaseSnapshotSource< VendorTypes > &  ) const
inlineoverridevirtual

◆ requiresBaseSnapshot()

template<DeviceVendors VendorTypes>
bool mneme::BytesReaderV1< VendorTypes >::requiresBaseSnapshot ( ) const
inlineoverridevirtual

Member Data Documentation

◆ Layout

template<DeviceVendors VendorTypes>
SnapshotHeader mneme::BytesReaderV1< VendorTypes >::Layout {SnapshotKind::Bytes, 1}
staticconstexpr

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