Class muda::Event
ClassList > muda > Event
RAII wrapper for cudaEvent.
Public Types
Public Functions
Public Static Functions
Type |
Name |
float |
elapsed_time (cudaEvent_t start, cudaEvent_t stop)
|
Public Types Documentation
enum Bit
enum muda::Event::Bit {
eDefault = cudaEventDefault,
eBlockingSync = cudaEventBlockingSync,
eDisableTiming = cudaEventDisableTiming,
eInterprocess = cudaEventInterprocess
};
enum QueryResult
enum muda::Event::QueryResult {
eFinished = cudaSuccess,
eNotReady = cudaErrorNotReady
};
Public Functions Documentation
function Event [1/3]
muda::Event::Event (
Flags < Bit > flag=Bit::eDisableTiming
)
function Event [2/3]
muda::Event::Event (
const Event &
) = delete
function Event [3/3]
muda::Event::Event (
Event && o
)
function operator cudaEvent_t
inline muda::Event::operator cudaEvent_t ()
function operator=
Event & muda::Event::operator= (
const Event &
) = delete
function operator=
Event & muda::Event::operator= (
Event && o
)
function query
QueryResult muda::Event::query () const
function viewer
inline cudaEvent_t muda::Event::viewer () const
function ~Event
Public Static Functions Documentation
function elapsed_time
static float muda::Event::elapsed_time (
cudaEvent_t start,
cudaEvent_t stop
)
The documentation for this class was generated from the following file src/muda/launch/event.h