Skip to content

Class muda::NDReshaper

ClassList > muda > NDReshaper

Public Static Functions

Type Name
MUDA_HOST void reserve (int grid_dim, int block_dim, cudaStream_t stream, DeviceBuffer< T > & buffer, size_t new_capacity)
MUDA_HOST void reserve (int grid_dim, int block_dim, cudaStream_t stream, DeviceBuffer2D< T > & buffer, Extent2D new_capacity)
MUDA_HOST void reserve (int grid_dim, int block_dim, cudaStream_t stream, DeviceBuffer3D< T > & buffer, Extent3D new_capacity)
MUDA_HOST void resize (int grid_dim, int block_dim, cudaStream_t stream, DeviceBuffer< T > & buffer, size_t new_size, FConstruct && fct)
MUDA_HOST void resize (int grid_dim, int block_dim, cudaStream_t stream, DeviceBuffer2D< T > & buffer, Extent2D new_extent, FConstruct && fct)
MUDA_HOST void resize (int grid_dim, int block_dim, cudaStream_t stream, DeviceBuffer3D< T > & buffer, Extent3D new_extent, FConstruct && fct)
MUDA_HOST void shrink_to_fit (int grid_dim, int block_dim, cudaStream_t stream, DeviceBuffer< T > & buffer)
MUDA_HOST void shrink_to_fit (int grid_dim, int block_dim, cudaStream_t stream, DeviceBuffer2D< T > & buffer)
MUDA_HOST void shrink_to_fit (int grid_dim, int block_dim, cudaStream_t stream, DeviceBuffer3D< T > & buffer)

Public Static Functions Documentation

function reserve [1/3]

template<typename T>
static MUDA_HOST void muda::NDReshaper::reserve (
    int grid_dim,
    int block_dim,
    cudaStream_t stream,
    DeviceBuffer < T > & buffer,
    size_t new_capacity
) 

function reserve [2/3]

template<typename T>
static MUDA_HOST void muda::NDReshaper::reserve (
    int grid_dim,
    int block_dim,
    cudaStream_t stream,
    DeviceBuffer2D < T > & buffer,
    Extent2D new_capacity
) 

function reserve [3/3]

template<typename T>
static MUDA_HOST void muda::NDReshaper::reserve (
    int grid_dim,
    int block_dim,
    cudaStream_t stream,
    DeviceBuffer3D < T > & buffer,
    Extent3D new_capacity
) 

function resize [1/3]

template<typename T, typename FConstruct>
static MUDA_HOST void muda::NDReshaper::resize (
    int grid_dim,
    int block_dim,
    cudaStream_t stream,
    DeviceBuffer < T > & buffer,
    size_t new_size,
    FConstruct && fct
) 

function resize [2/3]

template<typename T, typename FConstruct>
static MUDA_HOST void muda::NDReshaper::resize (
    int grid_dim,
    int block_dim,
    cudaStream_t stream,
    DeviceBuffer2D < T > & buffer,
    Extent2D new_extent,
    FConstruct && fct
) 

function resize [3/3]

template<typename T, typename FConstruct>
static MUDA_HOST void muda::NDReshaper::resize (
    int grid_dim,
    int block_dim,
    cudaStream_t stream,
    DeviceBuffer3D < T > & buffer,
    Extent3D new_extent,
    FConstruct && fct
) 

function shrink_to_fit [1/3]

template<typename T>
static MUDA_HOST void muda::NDReshaper::shrink_to_fit (
    int grid_dim,
    int block_dim,
    cudaStream_t stream,
    DeviceBuffer < T > & buffer
) 

function shrink_to_fit [2/3]

template<typename T>
static MUDA_HOST void muda::NDReshaper::shrink_to_fit (
    int grid_dim,
    int block_dim,
    cudaStream_t stream,
    DeviceBuffer2D < T > & buffer
) 

function shrink_to_fit [3/3]

template<typename T>
static MUDA_HOST void muda::NDReshaper::shrink_to_fit (
    int grid_dim,
    int block_dim,
    cudaStream_t stream,
    DeviceBuffer3D < T > & buffer
) 


The documentation for this class was generated from the following file src/muda/buffer/reshape_nd/nd_reshaper.h