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

Returns bit image consisting of all ones as identity for AND operations. More...

#include <sycl/known_identity.hpp>

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

Static Public Attributes

static constexpr AccumulatorT value = static_cast<AccumulatorT>(-1LL)
 

Detailed Description

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

Returns bit image consisting of all ones as identity for AND operations.

Definition at line 236 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< IsOnesIdentityOp< AccumulatorT, BinaryOperation >::value > >::value = static_cast<AccumulatorT>(-1LL)
staticconstexpr

Definition at line 239 of file known_identity.hpp.


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