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::FormatWriter< VendorTypes > Class Template Referenceabstract

#include <MnemeSnapshotFormat.hpp>

Classes

class  CountingRawOStream

Public Member Functions

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

virtual SnapshotHeader header () const =0
virtual void writePayload (llvm::raw_ostream &OS, const SnapshotInput< VendorTypes > &In, bool UpdateBase) const =0

Static Protected Member Functions

static void synchronize (typename DeviceTraits< VendorTypes >::DeviceStream_t Stream)

Member Function Documentation

◆ header()

template<DeviceVendors VendorTypes>
virtual SnapshotHeader mneme::FormatWriter< VendorTypes >::header ( ) const
protectedpure virtual

◆ measure()

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

◆ synchronize()

template<DeviceVendors VendorTypes>
void mneme::FormatWriter< VendorTypes >::synchronize ( typename DeviceTraits< VendorTypes >::DeviceStream_t Stream)
inlinestaticprotected

◆ write()

template<DeviceVendors VendorTypes>
std::filesystem::path mneme::FormatWriter< VendorTypes >::write ( const std::filesystem::path & Filename,
const SnapshotInput< VendorTypes > & In ) const
inlinefinalvirtual

◆ writePayload()

template<DeviceVendors VendorTypes>
virtual void mneme::FormatWriter< VendorTypes >::writePayload ( llvm::raw_ostream & OS,
const SnapshotInput< VendorTypes > & In,
bool UpdateBase ) const
protectedpure virtual

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