alpaka
Abstraction Library for Parallel Kernel Acceleration
|
The pitch in bytes. This is the distance in bytes in the linear memory between two consecutive elements in the next higher dimension (TIdx-1). More...
#include <Traits.hpp>
Public Types | |
using | ViewIdx = Idx< TView > |
Static Public Member Functions | |
static ALPAKA_FN_HOST auto | getPitchBytes (TView const &view) -> ViewIdx |
The pitch in bytes. This is the distance in bytes in the linear memory between two consecutive elements in the next higher dimension (TIdx-1).
The default implementation uses the extent to calculate the pitch.
Definition at line 66 of file Traits.hpp.
using alpaka::trait::GetPitchBytes< TIdx, TView, TSfinae >::ViewIdx = Idx<TView> |
Definition at line 68 of file Traits.hpp.
|
inlinestatic |
Definition at line 70 of file Traits.hpp.