DPC++ Runtime
Runtime libraries for oneAPI DPC++
cl::sycl::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 <CL/sycl/known_identity.hpp>

Collaboration diagram for cl::sycl::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 cl::sycl::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 126 of file known_identity.hpp.

Member Data Documentation

◆ value

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

Definition at line 129 of file known_identity.hpp.


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