alpaka
Abstraction Library for Parallel Kernel Acceleration
|
The CPU memory buffer. More...
#include <BufCpu.hpp>
Public Member Functions | |
template<typename TExtent , typename Deleter > | |
ALPAKA_FN_HOST | BufCpu (DevCpu const &dev, TElem *pMem, Deleter deleter, TExtent const &extent) |
Public Member Functions inherited from alpaka::internal::ViewAccessOps< BufCpu< TElem, TDim, TIdx > > | |
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< detail::BufCpuImpl< TElem, TDim, TIdx > > | m_spBufCpuImpl |
The CPU memory buffer.
Definition at line 89 of file BufCpu.hpp.
|
inline |
Definition at line 93 of file BufCpu.hpp.
std::shared_ptr<detail::BufCpuImpl<TElem, TDim, TIdx> > alpaka::BufCpu< TElem, TDim, TIdx >::m_spBufCpuImpl |
Definition at line 100 of file BufCpu.hpp.