alpaka
Abstraction Library for Parallel Kernel Acceleration
UniformElements.hpp File Reference
#include "alpaka/acc/Traits.hpp"
#include "alpaka/core/Utility.hpp"
#include "alpaka/exec/ElementIndex.hpp"
#include "alpaka/idx/Accessors.hpp"
#include <algorithm>
#include <ciso646>
#include <cstddef>
#include <type_traits>

Go to the source code of this file.

Classes

class  alpaka::detail::UniformElementsAlong< TAcc, Dim, typename >
 
class  alpaka::detail::UniformElementsAlong< TAcc, Dim, typename >::const_iterator
 
class  alpaka::detail::UniformElementsND< TAcc, typename >
 
struct  alpaka::detail::UniformElementsND< TAcc, typename >::at_end_t
 
class  alpaka::detail::UniformElementsND< TAcc, typename >::const_iterator
 
class  alpaka::detail::UniformGroupElementsAlong< TAcc, Dim, typename >
 
class  alpaka::detail::UniformGroupElementsAlong< TAcc, Dim, typename >::const_iterator
 
class  alpaka::detail::UniformGroupsAlong< TAcc, Dim, typename >
 
class  alpaka::detail::UniformGroupsAlong< TAcc, Dim, typename >::const_iterator
 

Namespaces

 alpaka
 The alpaka accelerator library.
 
 alpaka::detail
 

Functions

template<typename TAcc , typename... TArgs, typename = std::enable_if_t<alpaka::isAccelerator<TAcc> and alpaka::Dim<TAcc>::value == 1>>
ALPAKA_FN_ACC auto alpaka::uniformElements (TAcc const &acc, TArgs... args)
 
template<std::size_t Dim, typename TAcc , typename... TArgs, typename = std::enable_if_t<alpaka::isAccelerator<TAcc> and alpaka::Dim<TAcc>::value >= Dim>
ALPAKA_FN_ACC auto alpaka::uniformElementsAlong (TAcc const &acc, TArgs... args)
 
template<typename TAcc , typename... TArgs, typename = std::enable_if_t<alpaka::isAccelerator<TAcc> and (alpaka::Dim<TAcc>::value > 0)>>
ALPAKA_FN_ACC auto alpaka::uniformElementsAlongX (TAcc const &acc, TArgs... args)
 
template<typename TAcc , typename... TArgs, typename = std::enable_if_t<alpaka::isAccelerator<TAcc> and (alpaka::Dim<TAcc>::value > 1)>>
ALPAKA_FN_ACC auto alpaka::uniformElementsAlongY (TAcc const &acc, TArgs... args)
 
template<typename TAcc , typename... TArgs, typename = std::enable_if_t<alpaka::isAccelerator<TAcc> and (alpaka::Dim<TAcc>::value > 2)>>
ALPAKA_FN_ACC auto alpaka::uniformElementsAlongZ (TAcc const &acc, TArgs... args)
 
template<typename TAcc , typename = std::enable_if_t<alpaka::isAccelerator<TAcc> and (alpaka::Dim<TAcc>::value > 0)>>
ALPAKA_FN_ACC auto alpaka::uniformElementsND (TAcc const &acc)
 
template<typename TAcc , typename = std::enable_if_t<alpaka::isAccelerator<TAcc> and (alpaka::Dim<TAcc>::value > 0)>>
ALPAKA_FN_ACC auto alpaka::uniformElementsND (TAcc const &acc, alpaka::Vec< alpaka::Dim< TAcc >, alpaka::Idx< TAcc >> extent)
 
template<typename TAcc , typename... TArgs, typename = std::enable_if_t<alpaka::isAccelerator<TAcc> and alpaka::Dim<TAcc>::value == 1>>
ALPAKA_FN_ACC auto alpaka::uniformGroupElements (TAcc const &acc, TArgs... args)
 
template<std::size_t Dim, typename TAcc , typename... TArgs, typename = std::enable_if_t<alpaka::isAccelerator<TAcc> and alpaka::Dim<TAcc>::value >= Dim>
ALPAKA_FN_ACC auto alpaka::uniformGroupElementsAlong (TAcc const &acc, TArgs... args)
 
template<typename TAcc , typename... TArgs, typename = std::enable_if_t<alpaka::isAccelerator<TAcc> and (alpaka::Dim<TAcc>::value > 0)>>
ALPAKA_FN_ACC auto alpaka::uniformGroupElementsAlongX (TAcc const &acc, TArgs... args)
 
template<typename TAcc , typename... TArgs, typename = std::enable_if_t<alpaka::isAccelerator<TAcc> and (alpaka::Dim<TAcc>::value > 1)>>
ALPAKA_FN_ACC auto alpaka::uniformGroupElementsAlongY (TAcc const &acc, TArgs... args)
 
template<typename TAcc , typename... TArgs, typename = std::enable_if_t<alpaka::isAccelerator<TAcc> and (alpaka::Dim<TAcc>::value > 2)>>
ALPAKA_FN_ACC auto alpaka::uniformGroupElementsAlongZ (TAcc const &acc, TArgs... args)
 
template<typename TAcc , typename... TArgs, typename = std::enable_if_t<alpaka::isAccelerator<TAcc> and alpaka::Dim<TAcc>::value == 1>>
ALPAKA_FN_ACC auto alpaka::uniformGroups (TAcc const &acc, TArgs... args)
 
template<std::size_t Dim, typename TAcc , typename... TArgs, typename = std::enable_if_t<alpaka::isAccelerator<TAcc> and alpaka::Dim<TAcc>::value >= Dim>
ALPAKA_FN_ACC auto alpaka::uniformGroupsAlong (TAcc const &acc, TArgs... args)
 
template<typename TAcc , typename... TArgs, typename = std::enable_if_t<alpaka::isAccelerator<TAcc> and (alpaka::Dim<TAcc>::value > 0)>>
ALPAKA_FN_ACC auto alpaka::uniformGroupsAlongX (TAcc const &acc, TArgs... args)
 
template<typename TAcc , typename... TArgs, typename = std::enable_if_t<alpaka::isAccelerator<TAcc> and (alpaka::Dim<TAcc>::value > 1)>>
ALPAKA_FN_ACC auto alpaka::uniformGroupsAlongY (TAcc const &acc, TArgs... args)
 
template<typename TAcc , typename... TArgs, typename = std::enable_if_t<alpaka::isAccelerator<TAcc> and (alpaka::Dim<TAcc>::value > 2)>>
ALPAKA_FN_ACC auto alpaka::uniformGroupsAlongZ (TAcc const &acc, TArgs... args)