alpaka
Abstraction Library for Parallel Kernel Acceleration
alpaka::BufCpu< TElem, TDim, TIdx > Class Template Reference

The CPU memory buffer. More...

#include <BufCpu.hpp>

+ Inheritance diagram for alpaka::BufCpu< TElem, TDim, TIdx >:

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
 

Detailed Description

template<typename TElem, typename TDim, typename TIdx>
class alpaka::BufCpu< TElem, TDim, TIdx >

The CPU memory buffer.

Definition at line 89 of file BufCpu.hpp.

Constructor & Destructor Documentation

◆ BufCpu()

template<typename TElem , typename TDim , typename TIdx >
template<typename TExtent , typename Deleter >
ALPAKA_FN_HOST alpaka::BufCpu< TElem, TDim, TIdx >::BufCpu ( DevCpu const &  dev,
TElem *  pMem,
Deleter  deleter,
TExtent const &  extent 
)
inline

Definition at line 93 of file BufCpu.hpp.

Member Data Documentation

◆ m_spBufCpuImpl

template<typename TElem , typename TDim , typename TIdx >
std::shared_ptr<detail::BufCpuImpl<TElem, TDim, TIdx> > alpaka::BufCpu< TElem, TDim, TIdx >::m_spBufCpuImpl

Definition at line 100 of file BufCpu.hpp.


The documentation for this class was generated from the following files: