alpaka
Abstraction Library for Parallel Kernel Acceleration
alpaka::trait::SubVecFromIndices< Vec< TDim, TVal >, std::index_sequence< TIndices... > > Struct Template Reference

Specialization for selecting a sub-vector. More...

#include <Vec.hpp>

Static Public Member Functions

ALPAKA_NO_HOST_ACC_WARNING static constexpr ALPAKA_FN_HOST_ACC auto subVecFromIndices (Vec< TDim, TVal > const &vec) -> Vec< DimInt< sizeof...(TIndices)>, TVal >
 

Detailed Description

template<typename TDim, typename TVal, std::size_t... TIndices>
struct alpaka::trait::SubVecFromIndices< Vec< TDim, TVal >, std::index_sequence< TIndices... > >

Specialization for selecting a sub-vector.

Definition at line 682 of file Vec.hpp.

Member Function Documentation

◆ subVecFromIndices()

template<typename TDim , typename TVal , std::size_t... TIndices>
ALPAKA_NO_HOST_ACC_WARNING static constexpr ALPAKA_FN_HOST_ACC auto alpaka::trait::SubVecFromIndices< Vec< TDim, TVal >, std::index_sequence< TIndices... > >::subVecFromIndices ( Vec< TDim, TVal > const &  vec) -> Vec<DimInt<sizeof...(TIndices)>, TVal>
inlinestaticconstexpr

Definition at line 684 of file Vec.hpp.


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