![]() |
alpaka
Abstraction Library for Parallel Kernel Acceleration
|
The CPU memory buffer template implementing muting accessors. More...
#include <BufCpu.hpp>
Public Member Functions | |
template<typename TExtent , typename Deleter > | |
ALPAKA_FN_HOST | BufCpu (DevCpu const &dev, TElem *const pMem, Deleter deleter, TExtent const &extent) |
![]() | |
ALPAKA_FN_HOST auto | at (Vec< Dim, TIdx > index) -> reference |
ALPAKA_FN_HOST auto | at (Vec< Dim, TIdx > index) const -> const_reference |
ALPAKA_FN_HOST auto | data () -> pointer |
ALPAKA_FN_HOST auto | data () const -> const_pointer |
ALPAKA_FN_HOST auto | operator* () -> reference |
ALPAKA_FN_HOST auto | operator* () const -> const_reference |
ALPAKA_FN_HOST auto | operator-> () -> pointer |
ALPAKA_FN_HOST auto | operator-> () const -> const_pointer |
ALPAKA_FN_HOST auto | operator[] (Idx i) -> reference |
ALPAKA_FN_HOST auto | operator[] (Idx i) const -> const_reference |
ALPAKA_FN_HOST auto | operator[] (Vec< Dim, TIdx > index) -> reference |
ALPAKA_FN_HOST auto | operator[] (Vec< Dim, TIdx > index) const -> const_reference |
Public Attributes | |
std::shared_ptr< TBufImpl > | m_spBufImpl |
The CPU memory buffer template implementing muting accessors.
Definition at line 23 of file BufCpu.hpp.
|
inline |
Definition at line 29 of file BufCpu.hpp.
std::shared_ptr<TBufImpl> alpaka::BufCpu< TElem, TDim, TIdx >::m_spBufImpl |
Definition at line 35 of file BufCpu.hpp.