alpaka
Abstraction Library for Parallel Kernel Acceleration
|
The memory view to wrap plain pointers. More...
#include <ViewPlainPtr.hpp>
Public Member Functions | |
template<typename TExtent , typename TPitch > | |
ALPAKA_FN_HOST | ViewPlainPtr (TElem *pMem, TDev dev, TExtent const &extent, TPitch pitchBytes) |
template<typename TExtent > | |
ALPAKA_FN_HOST | ViewPlainPtr (TElem *pMem, TDev dev, TExtent const &extent=TExtent()) |
Public Member Functions inherited from alpaka::internal::ViewAccessOps< ViewPlainPtr< TDev, 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 | |
TDev | m_dev |
Vec< TDim, TIdx > | m_extentElements |
Vec< TDim, TIdx > | m_pitchBytes |
TElem * | m_pMem |
The memory view to wrap plain pointers.
Definition at line 23 of file ViewPlainPtr.hpp.
|
inline |
Definition at line 28 of file ViewPlainPtr.hpp.
|
inline |
Definition at line 34 of file ViewPlainPtr.hpp.
TDev alpaka::ViewPlainPtr< TDev, TElem, TDim, TIdx >::m_dev |
Definition at line 43 of file ViewPlainPtr.hpp.
Vec<TDim, TIdx> alpaka::ViewPlainPtr< TDev, TElem, TDim, TIdx >::m_extentElements |
Definition at line 44 of file ViewPlainPtr.hpp.
Vec<TDim, TIdx> alpaka::ViewPlainPtr< TDev, TElem, TDim, TIdx >::m_pitchBytes |
Definition at line 45 of file ViewPlainPtr.hpp.
TElem* alpaka::ViewPlainPtr< TDev, TElem, TDim, TIdx >::m_pMem |
Definition at line 42 of file ViewPlainPtr.hpp.