Skip to content

Class muda::Event

ClassList > muda > Event

RAII wrapper for cudaEvent.

  • #include <event.h>

Public Types

Type Name
enum unsigned int Bit
enum QueryResult

Public Functions

Type Name
Event (Flags< Bit > flag=Bit::eDisableTiming)
Event (const Event &) = delete
Event (Event && o)
operator cudaEvent_t ()
Event & operator= (const Event &) = delete
Event & operator= (Event && o)
QueryResult query () const
cudaEvent_t viewer () const
~Event ()

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

muda::Event::~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