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

#include <MnemeLaunchTimer.hpp>

Classes

struct  StartedTiming

Public Types

using DeviceError_t = typename DeviceTraits<VendorTypes>::DeviceError_t
using DeviceStream_t = typename DeviceTraits<VendorTypes>::DeviceStream_t

Public Member Functions

virtual ~LaunchTimer ()=default
virtual void collect (RecordDatabase &DB)=0
virtual std::optional< StartedTiming > begin (const LaunchHandle &Launch, DeviceStream_t Stream)=0
virtual void end (const StartedTiming &Started, DeviceError_t LaunchResult)=0
virtual void drain (RecordDatabase &DB)=0

Member Typedef Documentation

◆ DeviceError_t

template<DeviceVendors VendorTypes>
using mneme::LaunchTimer< VendorTypes >::DeviceError_t = typename DeviceTraits<VendorTypes>::DeviceError_t

◆ DeviceStream_t

template<DeviceVendors VendorTypes>
using mneme::LaunchTimer< VendorTypes >::DeviceStream_t = typename DeviceTraits<VendorTypes>::DeviceStream_t

Constructor & Destructor Documentation

◆ ~LaunchTimer()

template<DeviceVendors VendorTypes>
virtual mneme::LaunchTimer< VendorTypes >::~LaunchTimer ( )
virtualdefault

Member Function Documentation

◆ begin()

template<DeviceVendors VendorTypes>
virtual std::optional< StartedTiming > mneme::LaunchTimer< VendorTypes >::begin ( const LaunchHandle & Launch,
DeviceStream_t Stream )
pure virtual

◆ collect()

template<DeviceVendors VendorTypes>
virtual void mneme::LaunchTimer< VendorTypes >::collect ( RecordDatabase & DB)
pure virtual

◆ drain()

template<DeviceVendors VendorTypes>
virtual void mneme::LaunchTimer< VendorTypes >::drain ( RecordDatabase & DB)
pure virtual

◆ end()

template<DeviceVendors VendorTypes>
virtual void mneme::LaunchTimer< VendorTypes >::end ( const StartedTiming & Started,
DeviceError_t LaunchResult )
pure virtual

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