muda
Public Member Functions | Static Public Member Functions | Protected Types | Protected Member Functions | Protected Attributes | List of all members
muda::LaunchCore Class Reference
Inheritance diagram for muda::LaunchCore:
Inheritance graph
[legend]

Public Member Functions

MUDA_GENERIC LaunchCore (::cudaStream_t stream) MUDA_NOEXCEPT
 
void init_stream (::cudaStream_t s)
 
void push_range (const std::string &name)
 
void pop_range ()
 
void record (cudaEvent_t e, int flag=cudaEventRecordDefault)
 
void record (ComputeGraphVar< cudaEvent_t > &e, const std::vector< ComputeGraphVarBase *> &vars)
 
template<typename... ViewT>
void record (ComputeGraphVar< cudaEvent_t > &e, ComputeGraphVar< ViewT > &... vars)
 
void when (cudaEvent_t e, int flag=cudaEventWaitDefault)
 
void wait (cudaEvent_t e, int flag=cudaEventWaitDefault)
 
void wait (const ComputeGraphVar< cudaEvent_t > &e, const std::vector< ComputeGraphVarBase *> &vars)
 
template<typename... ViewT>
void wait (const ComputeGraphVar< cudaEvent_t > &e, ComputeGraphVar< ViewT > &... vars)
 
void wait ()
 
void callback (const std::function< void(::cudaStream_t, ::cudaError)> &callback)
 
template<typename... ViewT>
MUDA_INLINE void record (ComputeGraphVar< cudaEvent_t > &e, ComputeGraphVar< ViewT > &... vars)
 
template<typename... ViewT>
MUDA_INLINE void wait (const ComputeGraphVar< cudaEvent_t > &e, ComputeGraphVar< ViewT > &... vars)
 

Static Public Member Functions

static void kernel_name (std::string_view name)
 
static std::string_view kernel_name ()
 
static void wait_event (cudaEvent_t event)
 
static void wait_stream (::cudaStream_t stream)
 
static void wait_device ()
 

Protected Types

template<typename T >
using S = std::shared_ptr< T >
 

Protected Member Functions

MUDA_GENERIC ::cudaStream_t stream () const
 
MUDA_HOST void pop_kernel_name ()
 

Protected Attributes

::cudaStream_t m_stream
 

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