alpaka
Abstraction Library for Parallel Kernel Acceleration
|
A non-modifiable wrapper around a view. This view acts as the wrapped view, but the underlying data is only exposed const-qualified. More...
#include <ViewConst.hpp>
Public Member Functions | |
ALPAKA_FN_HOST | ViewConst (TView &&view) |
ALPAKA_FN_HOST | ViewConst (TView const &view) |
Public Member Functions inherited from alpaka::internal::ViewAccessOps< ViewConst< TView > > | |
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 | |
TView | m_view |
A non-modifiable wrapper around a view. This view acts as the wrapped view, but the underlying data is only exposed const-qualified.
Definition at line 21 of file ViewConst.hpp.
|
inline |
Definition at line 29 of file ViewConst.hpp.
|
inline |
Definition at line 33 of file ViewConst.hpp.
TView alpaka::ViewConst< TView >::m_view |
Definition at line 37 of file ViewConst.hpp.