alpaka
Abstraction Library for Parallel Kernel Acceleration
Traits.hpp File Reference
#include "alpaka/core/Common.hpp"
#include "alpaka/dim/Traits.hpp"
#include "alpaka/idx/Traits.hpp"
#include "alpaka/meta/IntegerSequence.hpp"
#include <utility>

Go to the source code of this file.

Namespaces

 alpaka
 The alpaka accelerator library.
 
 alpaka::trait
 The accelerator traits.
 

Functions

template<typename TVal , typename TVec >
ALPAKA_NO_HOST_ACC_WARNING constexpr ALPAKA_FN_HOST_ACC auto alpaka::castVec (TVec const &vec)
 
template<typename TVecL , typename TVecR >
ALPAKA_NO_HOST_ACC_WARNING constexpr ALPAKA_FN_HOST_ACC auto alpaka::concatVec (TVecL const &vecL, TVecR const &vecR)
 
template<typename TVec >
ALPAKA_NO_HOST_ACC_WARNING constexpr ALPAKA_FN_HOST_ACC auto alpaka::reverseVec (TVec const &vec)
 
template<typename TSubDim , typename TVec >
ALPAKA_NO_HOST_ACC_WARNING constexpr ALPAKA_FN_HOST_ACC auto alpaka::subVecBegin (TVec const &vec)
 
template<typename TSubDim , typename TVec >
ALPAKA_NO_HOST_ACC_WARNING constexpr ALPAKA_FN_HOST_ACC auto alpaka::subVecEnd (TVec const &vec)
 
template<typename TIndexSequence , typename TVec >
ALPAKA_NO_HOST_ACC_WARNING constexpr ALPAKA_FN_HOST_ACC auto alpaka::subVecFromIndices (TVec const &vec)
 Builds a new vector by selecting the elements of the source vector in the given order. Repeating and swizzling elements is allowed. More...