alpaka
Abstraction Library for Parallel Kernel Acceleration
Loading...
Searching...
No Matches
alpaka::internal::ViewType Concept Reference

#include <ViewAccessOps.hpp>

Concept definition

template<typename TView>
concept alpaka::internal::ViewType = requires {
typename Idx<TView>;
typename Dim<TView>;
{
getPtrNative(std::declval<TView>())
};
{
getPitchesInBytes(std::declval<TView>())
};
{
getExtents(std::declval<TView>())
};
}
ALPAKA_FN_HOST auto getPitchesInBytes(TView const &view) -> Vec< Dim< TView >, Idx< TView > >
Definition Traits.hpp:225
ALPAKA_FN_HOST auto getPtrNative(TView const &view) -> Elem< TView > const *
Gets the native pointer of the memory view.
Definition Traits.hpp:165
ALPAKA_NO_HOST_ACC_WARNING ALPAKA_FN_HOST_ACC auto getExtents(T const &object) -> Vec< Dim< T >, Idx< T > >
Definition Traits.hpp:59

Detailed Description

Definition at line 27 of file ViewAccessOps.hpp.