alpaka
Abstraction Library for Parallel Kernel Acceleration
Loading...
Searching...
No Matches
alpaka::DataPitches< T_Type, T_Pitches > Struct Template Reference

#include <DataPitches.hpp>

Public Types

using index_type = typename T_Pitches::type
using value_type = T_Type

Public Member Functions

constexpr DataPitches ()=default
constexpr DataPitches (T_Pitches const &pitchBytes)
constexpr auto getPitches () const
constexpr index_type operator[] (std::integral auto idx) const

Static Public Member Functions

static consteval uint32_t dim ()

Detailed Description

template<typename T_Type, concepts::Vector T_Pitches>
struct alpaka::DataPitches< T_Type, T_Pitches >

Definition at line 49 of file DataPitches.hpp.

Member Typedef Documentation

◆ index_type

template<typename T_Type, concepts::Vector T_Pitches>
using alpaka::DataPitches< T_Type, T_Pitches >::index_type = typename T_Pitches::type

Definition at line 52 of file DataPitches.hpp.

◆ value_type

template<typename T_Type, concepts::Vector T_Pitches>
using alpaka::DataPitches< T_Type, T_Pitches >::value_type = T_Type

Definition at line 51 of file DataPitches.hpp.

Constructor & Destructor Documentation

◆ DataPitches() [1/2]

template<typename T_Type, concepts::Vector T_Pitches>
alpaka::DataPitches< T_Type, T_Pitches >::DataPitches ( T_Pitches const & pitchBytes)
inlineconstexpr

Definition at line 59 of file DataPitches.hpp.

◆ DataPitches() [2/2]

template<typename T_Type, concepts::Vector T_Pitches>
alpaka::DataPitches< T_Type, T_Pitches >::DataPitches ( )
constexprdefault

Member Function Documentation

◆ dim()

template<typename T_Type, concepts::Vector T_Pitches>
consteval uint32_t alpaka::DataPitches< T_Type, T_Pitches >::dim ( )
inlinestaticconsteval

Definition at line 54 of file DataPitches.hpp.

◆ getPitches()

template<typename T_Type, concepts::Vector T_Pitches>
auto alpaka::DataPitches< T_Type, T_Pitches >::getPitches ( ) const
inlineconstexpr

Definition at line 67 of file DataPitches.hpp.

◆ operator[]()

template<typename T_Type, concepts::Vector T_Pitches>
index_type alpaka::DataPitches< T_Type, T_Pitches >::operator[] ( std::integral auto idx) const
inlineconstexpr

Definition at line 78 of file DataPitches.hpp.


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