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

Collaboration diagram for cl::sycl::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 cl::sycl::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 215 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< IsOnesIdentityOp< AccumulatorT, BinaryOperation >::value > >::value = static_cast<AccumulatorT>(-1LL)
staticconstexpr

Definition at line 218 of file known_identity.hpp.


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