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]
function TempBuffer [2/5]
function TempBuffer [3/5]
function TempBuffer [4/5]
function TempBuffer [5/5]
function capacity
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
function free
function operator=
function operator=
function operator=
function reserve
function resize
function size
function ~TempBuffer
The documentation for this class was generated from the following file src/muda/tools/temp_buffer.h