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

Returns true as identity for LOGICAL AND operations. More...

#include <sycl/known_identity.hpp>

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

Static Public Attributes

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

Detailed Description

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

Returns true as identity for LOGICAL AND operations.

Definition at line 370 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< IsTrueIdentityOp< AccumulatorT, BinaryOperation >::value > >::value = static_cast<AccumulatorT>(true)
staticconstexpr

Definition at line 373 of file known_identity.hpp.


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