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

#include <MnemeSnapshotFormat.hpp>

Public Member Functions

 BytesWriter (std::shared_ptr< GlobalSnapshotData > CaptureGlobals=nullptr)
size_t measure (const SnapshotInput< VendorTypes > &In) const override
Public Member Functions inherited from mneme::FormatWriter< VendorTypes >
std::filesystem::path write (const std::filesystem::path &Filename, const SnapshotInput< VendorTypes > &In) const final
size_t measure (const SnapshotInput< VendorTypes > &In) const override
Public Member Functions inherited from mneme::SnapshotWriter< VendorTypes >
virtual ~SnapshotWriter ()=default

Protected Member Functions

SnapshotHeader header () const override
void writePayload (llvm::raw_ostream &OutBC, const SnapshotInput< VendorTypes > &In, bool) const override

Additional Inherited Members

Static Protected Member Functions inherited from mneme::FormatWriter< VendorTypes >
static void synchronize (typename DeviceTraits< VendorTypes >::DeviceStream_t Stream)

Constructor & Destructor Documentation

◆ BytesWriter()

template<DeviceVendors VendorTypes>
mneme::BytesWriter< VendorTypes >::BytesWriter ( std::shared_ptr< GlobalSnapshotData > CaptureGlobals = nullptr)
inlineexplicit

Member Function Documentation

◆ header()

template<DeviceVendors VendorTypes>
SnapshotHeader mneme::BytesWriter< VendorTypes >::header ( ) const
inlineoverrideprotectedvirtual

◆ measure()

template<DeviceVendors VendorTypes>
size_t mneme::BytesWriter< VendorTypes >::measure ( const SnapshotInput< VendorTypes > & In) const
inlineoverridevirtual

◆ writePayload()

template<DeviceVendors VendorTypes>
void mneme::BytesWriter< VendorTypes >::writePayload ( llvm::raw_ostream & OutBC,
const SnapshotInput< VendorTypes > & In,
bool  ) const
inlineoverrideprotectedvirtual

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