alpaka
Abstraction Library for Parallel Kernel Acceleration
|
The CUDA/HIP memory buffer. More...
#include <BufUniformCudaHipRt.hpp>
Public Member Functions | |
template<typename TExtent , typename Deleter > | |
ALPAKA_FN_HOST | BufUniformCudaHipRt (DevUniformCudaHipRt< TApi > const &dev, TElem *const pMem, Deleter deleter, TExtent const &extent, std::size_t pitchBytes) |
Constructor. More... | |
Public Member Functions inherited from alpaka::detail::PitchHolder< TDim, SFINAE > | |
PitchHolder (std::size_t) | |
Public Member Functions inherited from alpaka::internal::ViewAccessOps< BufUniformCudaHipRt< TApi, 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 | |
DevUniformCudaHipRt< TApi > | m_dev |
Vec< TDim, TIdx > | m_extentElements |
std::shared_ptr< TElem > | m_spMem |
The CUDA/HIP memory buffer.
Definition at line 54 of file BufUniformCudaHipRt.hpp.
|
inline |
Constructor.
Definition at line 63 of file BufUniformCudaHipRt.hpp.
DevUniformCudaHipRt<TApi> alpaka::BufUniformCudaHipRt< TApi, TElem, TDim, TIdx >::m_dev |
Definition at line 85 of file BufUniformCudaHipRt.hpp.
Vec<TDim, TIdx> alpaka::BufUniformCudaHipRt< TApi, TElem, TDim, TIdx >::m_extentElements |
Definition at line 86 of file BufUniformCudaHipRt.hpp.
std::shared_ptr<TElem> alpaka::BufUniformCudaHipRt< TApi, TElem, TDim, TIdx >::m_spMem |
Definition at line 87 of file BufUniformCudaHipRt.hpp.