DPC++ Runtime
Runtime libraries for oneAPI DPC++
sycl::_V1::detail::ReducerTraits< reducer< T, BinaryOperation, Dims, Extent, IdentityContainerT, View, Subst > > Struct Template Reference

#include <sycl/reduction.hpp>

Collaboration diagram for sycl::_V1::detail::ReducerTraits< reducer< T, BinaryOperation, Dims, Extent, IdentityContainerT, View, Subst > >:

Public Types

using type = T
 
using op = BinaryOperation
 
using element_type = ReducerElement< T, BinaryOperation, !has_identity >
 

Static Public Attributes

static constexpr int dims = Dims
 
static constexpr size_t extent = Extent
 
static constexpr bool has_identity = IdentityContainerT::has_identity
 

Detailed Description

template<typename T, class BinaryOperation, int Dims, std::size_t Extent, typename IdentityContainerT, bool View, typename Subst>
struct sycl::_V1::detail::ReducerTraits< reducer< T, BinaryOperation, Dims, Extent, IdentityContainerT, View, Subst > >

Definition at line 165 of file reduction.hpp.

Member Typedef Documentation

◆ element_type

template<typename T , class BinaryOperation , int Dims, std::size_t Extent, typename IdentityContainerT , bool View, typename Subst >
using sycl::_V1::detail::ReducerTraits< reducer< T, BinaryOperation, Dims, Extent, IdentityContainerT, View, Subst > >::element_type = ReducerElement<T, BinaryOperation, !has_identity>

Definition at line 172 of file reduction.hpp.

◆ op

template<typename T , class BinaryOperation , int Dims, std::size_t Extent, typename IdentityContainerT , bool View, typename Subst >
using sycl::_V1::detail::ReducerTraits< reducer< T, BinaryOperation, Dims, Extent, IdentityContainerT, View, Subst > >::op = BinaryOperation

Definition at line 168 of file reduction.hpp.

◆ type

template<typename T , class BinaryOperation , int Dims, std::size_t Extent, typename IdentityContainerT , bool View, typename Subst >
using sycl::_V1::detail::ReducerTraits< reducer< T, BinaryOperation, Dims, Extent, IdentityContainerT, View, Subst > >::type = T

Definition at line 167 of file reduction.hpp.

Member Data Documentation

◆ dims

template<typename T , class BinaryOperation , int Dims, std::size_t Extent, typename IdentityContainerT , bool View, typename Subst >
constexpr int sycl::_V1::detail::ReducerTraits< reducer< T, BinaryOperation, Dims, Extent, IdentityContainerT, View, Subst > >::dims = Dims
staticconstexpr

Definition at line 169 of file reduction.hpp.

◆ extent

template<typename T , class BinaryOperation , int Dims, std::size_t Extent, typename IdentityContainerT , bool View, typename Subst >
constexpr size_t sycl::_V1::detail::ReducerTraits< reducer< T, BinaryOperation, Dims, Extent, IdentityContainerT, View, Subst > >::extent = Extent
staticconstexpr

Definition at line 170 of file reduction.hpp.

◆ has_identity

template<typename T , class BinaryOperation , int Dims, std::size_t Extent, typename IdentityContainerT , bool View, typename Subst >
constexpr bool sycl::_V1::detail::ReducerTraits< reducer< T, BinaryOperation, Dims, Extent, IdentityContainerT, View, Subst > >::has_identity = IdentityContainerT::has_identity
staticconstexpr

Definition at line 171 of file reduction.hpp.


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