Skip to content

Class muda::LaunchCore

ClassList > muda > LaunchCore

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

Public Functions

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

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

Type Name
typedef std::shared_ptr< T > S

Protected Attributes

Type Name
::cudaStream_t m_stream

Protected Functions

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

Public Functions Documentation

function LaunchCore

MUDA_GENERIC muda::LaunchCore::LaunchCore (
    ::cudaStream_t stream
) 

function callback

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

function init_stream

inline void muda::LaunchCore::init_stream (
    ::cudaStream_t s
) 

function pop_range

void muda::LaunchCore::pop_range () 

function push_range

void muda::LaunchCore::push_range (
    const std::string & name
) 

function record [1/3]

void muda::LaunchCore::record (
    cudaEvent_t e,
    int flag=cudaEventRecordDefault
) 

function record [2/3]

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

function record [3/3]

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

function wait [1/4]

void muda::LaunchCore::wait (
    cudaEvent_t e,
    int flag=cudaEventWaitDefault
) 

function wait [2/4]

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

function wait [3/4]

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

function wait [4/4]

void muda::LaunchCore::wait () 

function when

void muda::LaunchCore::when (
    cudaEvent_t e,
    int flag=cudaEventWaitDefault
) 

function ~LaunchCore

muda::LaunchCore::~LaunchCore () 

Public Static Functions Documentation

function file_line

static void muda::LaunchCore::file_line (
    std::string_view file,
    int line
) 

function kernel_name

static void muda::LaunchCore::kernel_name (
    std::string_view name
) 

function wait_device

static void muda::LaunchCore::wait_device () 

function wait_event

static void muda::LaunchCore::wait_event (
    cudaEvent_t event
) 

function wait_stream

static void muda::LaunchCore::wait_stream (
    ::cudaStream_t stream
) 

Protected Types Documentation

typedef S

using muda::LaunchCore::S =  std::shared_ptr<T>;

Protected Attributes Documentation

variable m_stream

::cudaStream_t muda::LaunchCore::m_stream;

Protected Functions Documentation

function pop_kernel_label

MUDA_HOST void muda::LaunchCore::pop_kernel_label () 

function stream

inline MUDA_GENERIC::cudaStream_t muda::LaunchCore::stream () const


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