alpaka
Abstraction Library for Parallel Kernel Acceleration
alpaka::trait::GetPitchesInBytes< TView, TSfinae > Struct Template Reference

Customization point for getPitchesInBytes. The default implementation uses the extent to calculate the pitches. More...

#include <Traits.hpp>

Public Member Functions

constexpr ALPAKA_FN_HOST_ACC auto operator() (TView const &view) const
 

Detailed Description

template<typename TView, typename TSfinae = void>
struct alpaka::trait::GetPitchesInBytes< TView, TSfinae >

Customization point for getPitchesInBytes. The default implementation uses the extent to calculate the pitches.

Definition at line 102 of file Traits.hpp.

Member Function Documentation

◆ operator()()

template<typename TView , typename TSfinae = void>
constexpr ALPAKA_FN_HOST_ACC auto alpaka::trait::GetPitchesInBytes< TView, TSfinae >::operator() ( TView const &  view) const
inlineconstexpr

Definition at line 104 of file Traits.hpp.


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