alpaka
Abstraction Library for Parallel Kernel Acceleration
alpaka::detail::BufCpuImpl< TElem, TDim, TIdx > Class Template Referencefinal

The CPU memory buffer. More...

#include <BufCpu.hpp>

Public Member Functions

 BufCpuImpl (BufCpuImpl &&)=delete
 
template<typename TExtent >
ALPAKA_FN_HOST BufCpuImpl (DevCpu dev, TElem *pMem, std::function< void(TElem *)> deleter, TExtent const &extent) noexcept
 
ALPAKA_FN_HOST ~BufCpuImpl ()
 
auto operator= (BufCpuImpl &&) -> BufCpuImpl &=delete
 

Public Attributes

std::function< void(TElem *)> m_deleter
 
DevCpu const m_dev
 
Vec< TDim, TIdx > const m_extentElements
 
TElem *const m_pMem
 

Detailed Description

template<typename TElem, typename TDim, typename TIdx>
class alpaka::detail::BufCpuImpl< TElem, TDim, TIdx >

The CPU memory buffer.

Definition at line 32 of file BufCpu.hpp.

Constructor & Destructor Documentation

◆ BufCpuImpl() [1/2]

template<typename TElem , typename TDim , typename TIdx >
template<typename TExtent >
ALPAKA_FN_HOST alpaka::detail::BufCpuImpl< TElem, TDim, TIdx >::BufCpuImpl ( DevCpu  dev,
TElem *  pMem,
std::function< void(TElem *)>  deleter,
TExtent const &  extent 
)
inlinenoexcept

Definition at line 42 of file BufCpu.hpp.

◆ BufCpuImpl() [2/2]

template<typename TElem , typename TDim , typename TIdx >
alpaka::detail::BufCpuImpl< TElem, TDim, TIdx >::BufCpuImpl ( BufCpuImpl< TElem, TDim, TIdx > &&  )
delete

◆ ~BufCpuImpl()

template<typename TElem , typename TDim , typename TIdx >
ALPAKA_FN_HOST alpaka::detail::BufCpuImpl< TElem, TDim, TIdx >::~BufCpuImpl ( )
inline

Definition at line 71 of file BufCpu.hpp.

Member Function Documentation

◆ operator=()

template<typename TElem , typename TDim , typename TIdx >
auto alpaka::detail::BufCpuImpl< TElem, TDim, TIdx >::operator= ( BufCpuImpl< TElem, TDim, TIdx > &&  ) -> BufCpuImpl &=delete
delete

Member Data Documentation

◆ m_deleter

template<typename TElem , typename TDim , typename TIdx >
std::function<void(TElem*)> alpaka::detail::BufCpuImpl< TElem, TDim, TIdx >::m_deleter

Definition at line 83 of file BufCpu.hpp.

◆ m_dev

template<typename TElem , typename TDim , typename TIdx >
DevCpu const alpaka::detail::BufCpuImpl< TElem, TDim, TIdx >::m_dev

Definition at line 80 of file BufCpu.hpp.

◆ m_extentElements

template<typename TElem , typename TDim , typename TIdx >
Vec<TDim, TIdx> const alpaka::detail::BufCpuImpl< TElem, TDim, TIdx >::m_extentElements

Definition at line 81 of file BufCpu.hpp.

◆ m_pMem

template<typename TElem , typename TDim , typename TIdx >
TElem* const alpaka::detail::BufCpuImpl< TElem, TDim, TIdx >::m_pMem

Definition at line 82 of file BufCpu.hpp.


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