Class muda::BufferLaunch
ClassList > muda > BufferLaunch
Inherits the following classes: muda::LaunchBase
Public Types inherited from muda::LaunchBase
See muda::LaunchBase
Type | Name |
---|---|
typedef T | derived_type |
Public Functions
Type | Name |
---|---|
MUDA_HOST | BufferLaunch (cudaStream_t s=nullptr) |
MUDA_HOST | BufferLaunch (int block_dim, cudaStream_t s=nullptr) |
MUDA_HOST | BufferLaunch (int grid_dim, int block_dim, cudaStream_t s=nullptr) |
MUDA_HOST BufferLaunch & | alloc (DeviceBuffer< T > & buffer, size_t n) |
MUDA_HOST BufferLaunch & | alloc (DeviceBuffer2D< T > & buffer, Extent2D extent) |
MUDA_HOST BufferLaunch & | alloc (DeviceBuffer3D< T > & buffer, Extent3D extent) |
MUDA_HOST BufferLaunch & | clear (DeviceBuffer< T > & buffer) |
MUDA_HOST BufferLaunch & | clear (DeviceBuffer2D< T > & buffer) |
MUDA_HOST BufferLaunch & | clear (DeviceBuffer3D< T > & buffer) |
MUDA_HOST BufferLaunch & | copy (VarView< T > dst, CVarView< T > src) |
MUDA_HOST BufferLaunch & | copy (BufferView< T > dst, CBufferView< T > src) |
MUDA_HOST BufferLaunch & | copy (Buffer2DView< T > dst, CBuffer2DView< T > src) |
MUDA_HOST BufferLaunch & | copy (Buffer3DView< T > dst, CBuffer3DView< T > src) |
MUDA_HOST BufferLaunch & | copy (ComputeGraphVar< VarView< T > > & dst, const ComputeGraphVar< VarView< T > > & src) |
MUDA_HOST BufferLaunch & | copy (ComputeGraphVar< BufferView< T > > & dst, const ComputeGraphVar< BufferView< T > > & src) |
MUDA_HOST BufferLaunch & | copy (ComputeGraphVar< Buffer2DView< T > > & dst, const ComputeGraphVar< Buffer2DView< T > > & src) |
MUDA_HOST BufferLaunch & | copy (ComputeGraphVar< Buffer3DView< T > > & dst, const ComputeGraphVar< Buffer3DView< T > > & src) |
MUDA_HOST BufferLaunch & | copy (T * dst, CVarView< T > src) |
MUDA_HOST BufferLaunch & | copy (T * dst, CBufferView< T > src) |
MUDA_HOST BufferLaunch & | copy (T * dst, CBuffer2DView< T > src) |
MUDA_HOST BufferLaunch & | copy (T * dst, CBuffer3DView< T > src) |
MUDA_HOST BufferLaunch & | copy (ComputeGraphVar< T * > & dst, const ComputeGraphVar< BufferView< T > > & src) |
MUDA_HOST BufferLaunch & | copy (ComputeGraphVar< T * > & dst, const ComputeGraphVar< Buffer2DView< T > > & src) |
MUDA_HOST BufferLaunch & | copy (ComputeGraphVar< T * > & dst, const ComputeGraphVar< VarView< T > > & src) |
MUDA_HOST BufferLaunch & | copy (ComputeGraphVar< T * > & dst, const ComputeGraphVar< Buffer3DView< T > > & src) |
MUDA_HOST BufferLaunch & | copy (VarView< T > dst, const T * src) |
MUDA_HOST BufferLaunch & | copy (BufferView< T > dst, const T * src) |
MUDA_HOST BufferLaunch & | copy (Buffer2DView< T > dst, const T * src) |
MUDA_HOST BufferLaunch & | copy (Buffer3DView< T > dst, const T * src) |
MUDA_HOST BufferLaunch & | copy (ComputeGraphVar< BufferView< T > > & dst, const ComputeGraphVar< T * > & src) |
MUDA_HOST BufferLaunch & | copy (ComputeGraphVar< Buffer2DView< T > > & dst, const ComputeGraphVar< T * > & src) |
MUDA_HOST BufferLaunch & | copy (ComputeGraphVar< VarView< T > > & dst, const ComputeGraphVar< T * > & src) |
MUDA_HOST BufferLaunch & | copy (ComputeGraphVar< Buffer3DView< T > > & dst, const ComputeGraphVar< T * > & src) |
MUDA_HOST BufferLaunch & | fill (VarView< T > buffer, const T & val) |
MUDA_HOST BufferLaunch & | fill (BufferView< T > buffer, const T & val) |
MUDA_HOST BufferLaunch & | fill (Buffer2DView< T > buffer, const T & val) |
MUDA_HOST BufferLaunch & | fill (Buffer3DView< T > buffer, const T & val) |
MUDA_HOST BufferLaunch & | fill (ComputeGraphVar< VarView< T > > & buffer, const ComputeGraphVar< T > & val) |
MUDA_HOST BufferLaunch & | fill (ComputeGraphVar< BufferView< T > > & buffer, const ComputeGraphVar< T > & val) |
MUDA_HOST BufferLaunch & | fill (ComputeGraphVar< Buffer2DView< T > > & buffer, const ComputeGraphVar< T > & val) |
MUDA_HOST BufferLaunch & | fill (ComputeGraphVar< Buffer3DView< T > > & buffer, const ComputeGraphVar< T > & val) |
MUDA_HOST BufferLaunch & | free (DeviceBuffer< T > & buffer) |
MUDA_HOST BufferLaunch & | free (DeviceBuffer2D< T > & buffer) |
MUDA_HOST BufferLaunch & | free (DeviceBuffer3D< T > & buffer) |
MUDA_HOST BufferLaunch & | reserve (DeviceBuffer< T > & buffer, size_t capacity) |
MUDA_HOST BufferLaunch & | reserve (DeviceBuffer2D< T > & buffer, Extent2D capacity) |
MUDA_HOST BufferLaunch & | reserve (DeviceBuffer3D< T > & buffer, Extent3D capacity) |
MUDA_HOST BufferLaunch & | resize (DeviceBuffer< T > & buffer, size_t size) |
MUDA_HOST BufferLaunch & | resize (DeviceBuffer2D< T > & buffer, Extent2D extent) |
MUDA_HOST BufferLaunch & | resize (DeviceBuffer3D< T > & buffer, Extent3D extent) |
MUDA_HOST BufferLaunch & | resize (DeviceBuffer< T > & buffer, size_t size, const T & val) |
MUDA_HOST BufferLaunch & | resize (DeviceBuffer2D< T > & buffer, Extent2D extent, const T & val) |
MUDA_HOST BufferLaunch & | resize (DeviceBuffer3D< T > & buffer, Extent3D extent, const T & val) |
MUDA_HOST BufferLaunch & | shrink_to_fit (DeviceBuffer< T > & buffer) |
MUDA_HOST BufferLaunch & | shrink_to_fit (DeviceBuffer2D< T > & buffer) |
MUDA_HOST BufferLaunch & | shrink_to_fit (DeviceBuffer3D< T > & buffer) |
Public Functions inherited from muda::LaunchBase
See muda::LaunchBase
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 inherited from muda::LaunchBase
See muda::LaunchBase
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 Functions Documentation
function BufferLaunch [1/3]
function BufferLaunch [2/3]
function BufferLaunch [3/3]
inline MUDA_HOST muda::BufferLaunch::BufferLaunch (
int grid_dim,
int block_dim,
cudaStream_t s=nullptr
)
function alloc [1/3]
template<typename T>
MUDA_HOST BufferLaunch & muda::BufferLaunch::alloc (
DeviceBuffer < T > & buffer,
size_t n
)
function alloc [2/3]
template<typename T>
MUDA_HOST BufferLaunch & muda::BufferLaunch::alloc (
DeviceBuffer2D < T > & buffer,
Extent2D extent
)
function alloc [3/3]
template<typename T>
MUDA_HOST BufferLaunch & muda::BufferLaunch::alloc (
DeviceBuffer3D < T > & buffer,
Extent3D extent
)
function clear [1/3]
template<typename T>
MUDA_HOST BufferLaunch & muda::BufferLaunch::clear (
DeviceBuffer < T > & buffer
)
function clear [2/3]
template<typename T>
MUDA_HOST BufferLaunch & muda::BufferLaunch::clear (
DeviceBuffer2D < T > & buffer
)
function clear [3/3]
template<typename T>
MUDA_HOST BufferLaunch & muda::BufferLaunch::clear (
DeviceBuffer3D < T > & buffer
)
function copy [1/24]
template<typename T>
MUDA_HOST BufferLaunch & muda::BufferLaunch::copy (
VarView < T > dst,
CVarView < T > src
)
function copy [2/24]
template<typename T>
MUDA_HOST BufferLaunch & muda::BufferLaunch::copy (
BufferView < T > dst,
CBufferView < T > src
)
function copy [3/24]
template<typename T>
MUDA_HOST BufferLaunch & muda::BufferLaunch::copy (
Buffer2DView < T > dst,
CBuffer2DView < T > src
)
function copy [4/24]
template<typename T>
MUDA_HOST BufferLaunch & muda::BufferLaunch::copy (
Buffer3DView < T > dst,
CBuffer3DView < T > src
)
function copy [5/24]
template<typename T>
MUDA_HOST BufferLaunch & muda::BufferLaunch::copy (
ComputeGraphVar < VarView < T > > & dst,
const ComputeGraphVar < VarView < T > > & src
)
function copy [6/24]
template<typename T>
MUDA_HOST BufferLaunch & muda::BufferLaunch::copy (
ComputeGraphVar < BufferView < T > > & dst,
const ComputeGraphVar < BufferView < T > > & src
)
function copy [7/24]
template<typename T>
MUDA_HOST BufferLaunch & muda::BufferLaunch::copy (
ComputeGraphVar < Buffer2DView < T > > & dst,
const ComputeGraphVar < Buffer2DView < T > > & src
)
function copy [8/24]
template<typename T>
MUDA_HOST BufferLaunch & muda::BufferLaunch::copy (
ComputeGraphVar < Buffer3DView < T > > & dst,
const ComputeGraphVar < Buffer3DView < T > > & src
)
function copy [9/24]
template<typename T>
MUDA_HOST BufferLaunch & muda::BufferLaunch::copy (
T * dst,
CVarView < T > src
)
function copy [10/24]
template<typename T>
MUDA_HOST BufferLaunch & muda::BufferLaunch::copy (
T * dst,
CBufferView < T > src
)
function copy [11/24]
template<typename T>
MUDA_HOST BufferLaunch & muda::BufferLaunch::copy (
T * dst,
CBuffer2DView < T > src
)
function copy [12/24]
template<typename T>
MUDA_HOST BufferLaunch & muda::BufferLaunch::copy (
T * dst,
CBuffer3DView < T > src
)
function copy [13/24]
template<typename T>
MUDA_HOST BufferLaunch & muda::BufferLaunch::copy (
ComputeGraphVar < T * > & dst,
const ComputeGraphVar < BufferView < T > > & src
)
function copy [14/24]
template<typename T>
MUDA_HOST BufferLaunch & muda::BufferLaunch::copy (
ComputeGraphVar < T * > & dst,
const ComputeGraphVar < Buffer2DView < T > > & src
)
function copy [15/24]
template<typename T>
MUDA_HOST BufferLaunch & muda::BufferLaunch::copy (
ComputeGraphVar < T * > & dst,
const ComputeGraphVar < VarView < T > > & src
)
function copy [16/24]
template<typename T>
MUDA_HOST BufferLaunch & muda::BufferLaunch::copy (
ComputeGraphVar < T * > & dst,
const ComputeGraphVar < Buffer3DView < T > > & src
)
function copy [17/24]
template<typename T>
MUDA_HOST BufferLaunch & muda::BufferLaunch::copy (
VarView < T > dst,
const T * src
)
function copy [18/24]
template<typename T>
MUDA_HOST BufferLaunch & muda::BufferLaunch::copy (
BufferView < T > dst,
const T * src
)
function copy [19/24]
template<typename T>
MUDA_HOST BufferLaunch & muda::BufferLaunch::copy (
Buffer2DView < T > dst,
const T * src
)
function copy [20/24]
template<typename T>
MUDA_HOST BufferLaunch & muda::BufferLaunch::copy (
Buffer3DView < T > dst,
const T * src
)
function copy [21/24]
template<typename T>
MUDA_HOST BufferLaunch & muda::BufferLaunch::copy (
ComputeGraphVar < BufferView < T > > & dst,
const ComputeGraphVar < T * > & src
)
function copy [22/24]
template<typename T>
MUDA_HOST BufferLaunch & muda::BufferLaunch::copy (
ComputeGraphVar < Buffer2DView < T > > & dst,
const ComputeGraphVar < T * > & src
)
function copy [23/24]
template<typename T>
MUDA_HOST BufferLaunch & muda::BufferLaunch::copy (
ComputeGraphVar < VarView < T > > & dst,
const ComputeGraphVar < T * > & src
)
function copy [24/24]
template<typename T>
MUDA_HOST BufferLaunch & muda::BufferLaunch::copy (
ComputeGraphVar < Buffer3DView < T > > & dst,
const ComputeGraphVar < T * > & src
)
function fill [1/8]
template<typename T>
MUDA_HOST BufferLaunch & muda::BufferLaunch::fill (
VarView < T > buffer,
const T & val
)
function fill [2/8]
template<typename T>
MUDA_HOST BufferLaunch & muda::BufferLaunch::fill (
BufferView < T > buffer,
const T & val
)
function fill [3/8]
template<typename T>
MUDA_HOST BufferLaunch & muda::BufferLaunch::fill (
Buffer2DView < T > buffer,
const T & val
)
function fill [4/8]
template<typename T>
MUDA_HOST BufferLaunch & muda::BufferLaunch::fill (
Buffer3DView < T > buffer,
const T & val
)
function fill [5/8]
template<typename T>
MUDA_HOST BufferLaunch & muda::BufferLaunch::fill (
ComputeGraphVar < VarView < T > > & buffer,
const ComputeGraphVar < T > & val
)
function fill [6/8]
template<typename T>
MUDA_HOST BufferLaunch & muda::BufferLaunch::fill (
ComputeGraphVar < BufferView < T > > & buffer,
const ComputeGraphVar < T > & val
)
function fill [7/8]
template<typename T>
MUDA_HOST BufferLaunch & muda::BufferLaunch::fill (
ComputeGraphVar < Buffer2DView < T > > & buffer,
const ComputeGraphVar < T > & val
)
function fill [8/8]
template<typename T>
MUDA_HOST BufferLaunch & muda::BufferLaunch::fill (
ComputeGraphVar < Buffer3DView < T > > & buffer,
const ComputeGraphVar < T > & val
)
function free [1/3]
template<typename T>
MUDA_HOST BufferLaunch & muda::BufferLaunch::free (
DeviceBuffer < T > & buffer
)
function free [2/3]
template<typename T>
MUDA_HOST BufferLaunch & muda::BufferLaunch::free (
DeviceBuffer2D < T > & buffer
)
function free [3/3]
template<typename T>
MUDA_HOST BufferLaunch & muda::BufferLaunch::free (
DeviceBuffer3D < T > & buffer
)
function reserve [1/3]
template<typename T>
MUDA_HOST BufferLaunch & muda::BufferLaunch::reserve (
DeviceBuffer < T > & buffer,
size_t capacity
)
function reserve [2/3]
template<typename T>
MUDA_HOST BufferLaunch & muda::BufferLaunch::reserve (
DeviceBuffer2D < T > & buffer,
Extent2D capacity
)
function reserve [3/3]
template<typename T>
MUDA_HOST BufferLaunch & muda::BufferLaunch::reserve (
DeviceBuffer3D < T > & buffer,
Extent3D capacity
)
function resize [1/9]
template<typename T>
MUDA_HOST BufferLaunch & muda::BufferLaunch::resize (
DeviceBuffer < T > & buffer,
size_t size
)
function resize [2/9]
template<typename T>
MUDA_HOST BufferLaunch & muda::BufferLaunch::resize (
DeviceBuffer2D < T > & buffer,
Extent2D extent
)
function resize [3/9]
template<typename T>
MUDA_HOST BufferLaunch & muda::BufferLaunch::resize (
DeviceBuffer3D < T > & buffer,
Extent3D extent
)
function resize [4/9]
template<typename T>
MUDA_HOST BufferLaunch & muda::BufferLaunch::resize (
DeviceBuffer < T > & buffer,
size_t size,
const T & val
)
function resize [5/9]
template<typename T>
MUDA_HOST BufferLaunch & muda::BufferLaunch::resize (
DeviceBuffer2D < T > & buffer,
Extent2D extent,
const T & val
)
function resize [6/9]
template<typename T>
MUDA_HOST BufferLaunch & muda::BufferLaunch::resize (
DeviceBuffer3D < T > & buffer,
Extent3D extent,
const T & val
)
function shrink_to_fit [1/3]
template<typename T>
MUDA_HOST BufferLaunch & muda::BufferLaunch::shrink_to_fit (
DeviceBuffer < T > & buffer
)
function shrink_to_fit [2/3]
template<typename T>
MUDA_HOST BufferLaunch & muda::BufferLaunch::shrink_to_fit (
DeviceBuffer2D < T > & buffer
)
function shrink_to_fit [3/3]
template<typename T>
MUDA_HOST BufferLaunch & muda::BufferLaunch::shrink_to_fit (
DeviceBuffer3D < T > & buffer
)
The documentation for this class was generated from the following file src/muda/buffer/buffer_launch.h