Skip to content

Class muda::details::TempBuffer

template <typename T>

ClassList > muda > details > TempBuffer

Public Functions

Type Name
TempBuffer ()
TempBuffer (size_t size)
TempBuffer (TempBuffer && other) noexcept
TempBuffer (const TempBuffer &) noexcept
TempBuffer (const std::vector< T > & vec)
auto capacity () noexcept const
void copy_from (TempBuffer< T > & other, cudaStream_t stream=nullptr)
void copy_from (const std::vector< T > & vec, cudaStream_t stream=nullptr)
void copy_to (std::vector< T > & vec, cudaStream_t stream=nullptr) const
auto data () noexcept const
void free () noexcept
TempBuffer & operator= (TempBuffer && other) noexcept
TempBuffer & operator= (const TempBuffer &) noexcept
TempBuffer & operator= (const std::vector< T > & vec)
void reserve (size_t new_cap, cudaStream_t stream=nullptr)
void resize (size_t size, cudaStream_t stream=nullptr)
auto size () noexcept const
~TempBuffer ()

Public Functions Documentation

function TempBuffer [1/5]

inline muda::details::TempBuffer::TempBuffer () 

function TempBuffer [2/5]

inline muda::details::TempBuffer::TempBuffer (
    size_t size
) 

function TempBuffer [3/5]

inline muda::details::TempBuffer::TempBuffer (
    TempBuffer && other
) noexcept

function TempBuffer [4/5]

inline muda::details::TempBuffer::TempBuffer (
    const TempBuffer &
) noexcept

function TempBuffer [5/5]

inline muda::details::TempBuffer::TempBuffer (
    const std::vector< T > & vec
) 

function capacity

inline auto muda::details::TempBuffer::capacity () noexcept const

function copy_from [1/2]

inline void muda::details::TempBuffer::copy_from (
    TempBuffer < T > & other,
    cudaStream_t stream=nullptr
) 

function copy_from [2/2]

inline void muda::details::TempBuffer::copy_from (
    const std::vector< T > & vec,
    cudaStream_t stream=nullptr
) 

function copy_to

inline void muda::details::TempBuffer::copy_to (
    std::vector< T > & vec,
    cudaStream_t stream=nullptr
) const

function data

inline auto muda::details::TempBuffer::data () noexcept const

function free

inline void muda::details::TempBuffer::free () noexcept

function operator=

inline TempBuffer & muda::details::TempBuffer::operator= (
    TempBuffer && other
) noexcept

function operator=

inline TempBuffer & muda::details::TempBuffer::operator= (
    const TempBuffer &
) noexcept

function operator=

inline TempBuffer & muda::details::TempBuffer::operator= (
    const std::vector< T > & vec
) 

function reserve

inline void muda::details::TempBuffer::reserve (
    size_t new_cap,
    cudaStream_t stream=nullptr
) 

function resize

inline void muda::details::TempBuffer::resize (
    size_t size,
    cudaStream_t stream=nullptr
) 

function size

inline auto muda::details::TempBuffer::size () noexcept const

function ~TempBuffer

inline muda::details::TempBuffer::~TempBuffer () 


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