Skip to content

Class muda::LaunchBase

template <typename T>

ClassList > muda > LaunchBase

Inherits the following classes: muda::LaunchCore

Inherited by the following classes: muda::CubWrapper, muda::CubWrapper, muda::CubWrapper, muda::CubWrapper, muda::CubWrapper, muda::CubWrapper, muda::CubWrapper, muda::CubWrapper, muda::CubWrapper, muda::CubWrapper, muda::CubWrapper, muda::CubWrapper

Public Types

Type Name
typedef T derived_type

Public Functions

Type Name
MUDA_GENERIC LaunchBase (::cudaStream_t stream)
T & callback (const std::function< void(::cudaStream_t, ::cudaError)> & callback)
T & file_line (std::string_view file, int line)
T & kernel_name (std::string_view name)
Next next (Next n)
Next next (Args &&... args)
T & pop_range ()
T & push_range (const std::string & name)
T & record (cudaEvent_t e, int flag=cudaEventRecordDefault)
T & record (ComputeGraphVar< cudaEvent_t > & e, const std::vector< ComputeGraphVarBase * > & vars)
T & record (ComputeGraphVar< cudaEvent_t > & e, ComputeGraphVar< ViewT > &... vars)
T & wait (cudaEvent_t e, int flag=cudaEventWaitDefault)
T & wait (const ComputeGraphVar< cudaEvent_t > & e, const std::vector< ComputeGraphVarBase * > & vars)
T & wait (const ComputeGraphVar< cudaEvent_t > & e, ComputeGraphVar< ViewT > &... vars)
T & wait ()
T & when (cudaEvent_t e, int flag=cudaEventWaitDefault)
~LaunchBase ()

Public Functions inherited from muda::LaunchCore

See muda::LaunchCore

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

Public Static Functions inherited from muda::LaunchCore

See muda::LaunchCore

Type Name
void file_line (std::string_view file, int line)
void kernel_name (std::string_view name)
void wait_device ()
void wait_event (cudaEvent_t event)
void wait_stream (::cudaStream_t stream)

Protected Types inherited from muda::LaunchCore

See muda::LaunchCore

Type Name
typedef std::shared_ptr< T > S

Protected Attributes inherited from muda::LaunchCore

See muda::LaunchCore

Type Name
::cudaStream_t m_stream

Protected Functions

Type Name
T & pop_kernel_label ()

Protected Functions inherited from muda::LaunchCore

See muda::LaunchCore

Type Name
MUDA_HOST void pop_kernel_label ()
MUDA_GENERIC::cudaStream_t stream () const

Public Types Documentation

typedef derived_type

using muda::LaunchBase< T >::derived_type =  T;

Public Functions Documentation

function LaunchBase [2/2]

MUDA_GENERIC muda::LaunchBase::LaunchBase (
    ::cudaStream_t stream
) 

function callback

T & muda::LaunchBase::callback (
    const std::function< void(::cudaStream_t, ::cudaError)> & callback
) 

function file_line

T & muda::LaunchBase::file_line (
    std::string_view file,
    int line
) 

function kernel_name

T & muda::LaunchBase::kernel_name (
    std::string_view name
) 

function next [1/2]

template<typename Next>
Next muda::LaunchBase::next (
    Next n
) 

function next [2/2]

template<typename Next, typename... Args>
Next muda::LaunchBase::next (
    Args &&... args
) 

function pop_range

T & muda::LaunchBase::pop_range () 

function push_range

T & muda::LaunchBase::push_range (
    const std::string & name
) 

function record [1/3]

T & muda::LaunchBase::record (
    cudaEvent_t e,
    int flag=cudaEventRecordDefault
) 

function record [2/3]

T & muda::LaunchBase::record (
    ComputeGraphVar < cudaEvent_t > & e,
    const std::vector< ComputeGraphVarBase * > & vars
) 

function record [3/3]

template<typename... ViewT>
T & muda::LaunchBase::record (
    ComputeGraphVar < cudaEvent_t > & e,
    ComputeGraphVar < ViewT > &... vars
) 

function wait [1/4]

T & muda::LaunchBase::wait (
    cudaEvent_t e,
    int flag=cudaEventWaitDefault
) 

function wait [2/4]

T & muda::LaunchBase::wait (
    const ComputeGraphVar < cudaEvent_t > & e,
    const std::vector< ComputeGraphVarBase * > & vars
) 

function wait [3/4]

template<typename... ViewT>
T & muda::LaunchBase::wait (
    const ComputeGraphVar < cudaEvent_t > & e,
    ComputeGraphVar < ViewT > &... vars
) 

function wait [4/4]

T & muda::LaunchBase::wait () 

function when

T & muda::LaunchBase::when (
    cudaEvent_t e,
    int flag=cudaEventWaitDefault
) 

function ~LaunchBase

muda::LaunchBase::~LaunchBase () 

Protected Functions Documentation

function pop_kernel_label

T & muda::LaunchBase::pop_kernel_label () 


The documentation for this class was generated from the following file src/muda/launch/launch_base.h