DPC++ Runtime
Runtime libraries for oneAPI DPC++
sycl::_V1::detail::known_identity_impl< BinaryOperation, AccumulatorT, std::enable_if_t< IsZeroIdentityOp< AccumulatorT, BinaryOperation >::value > > Struct Template Reference

Returns zero as identity for ADD, OR, XOR operations. More...

#include <sycl/known_identity.hpp>

Collaboration diagram for sycl::_V1::detail::known_identity_impl< BinaryOperation, AccumulatorT, std::enable_if_t< IsZeroIdentityOp< AccumulatorT, BinaryOperation >::value > >:

Static Public Attributes

static constexpr AccumulatorT value = static_cast<AccumulatorT>(0)
 

Detailed Description

template<typename BinaryOperation, typename AccumulatorT>
struct sycl::_V1::detail::known_identity_impl< BinaryOperation, AccumulatorT, std::enable_if_t< IsZeroIdentityOp< AccumulatorT, BinaryOperation >::value > >

Returns zero as identity for ADD, OR, XOR operations.

Definition at line 147 of file known_identity.hpp.

Member Data Documentation

◆ value

template<typename BinaryOperation , typename AccumulatorT >
constexpr AccumulatorT sycl::_V1::detail::known_identity_impl< BinaryOperation, AccumulatorT, std::enable_if_t< IsZeroIdentityOp< AccumulatorT, BinaryOperation >::value > >::value = static_cast<AccumulatorT>(0)
staticconstexpr

Definition at line 150 of file known_identity.hpp.


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