Component of 'reducer' class for array reductions, representing a single element of the span (as returned by the subscript operator).
More...
|
| reducer (T &Ref, BinaryOperation BOp) |
|
reducer & | combine (const T &Partial) |
|
enable_if_t<(_Dims==0) &&IsPlus< _T, BinaryOp >::value &&is_geninteger< _T >::value, reducer< T, BinaryOperation, Dims, Extent, View, std::enable_if_t< Dims==0 &&View==true > > & > | operator++ () |
|
enable_if_t<(_Dims==0) &&IsPlus< _T, BinaryOp >::value &&is_geninteger< _T >::value, reducer< T, BinaryOperation, Dims, Extent, View, std::enable_if_t< Dims==0 &&View==true > > & > | operator++ (int) |
|
enable_if_t<(_Dims==0) &&IsPlus< _T, BinaryOp >::value, reducer< T, BinaryOperation, Dims, Extent, View, std::enable_if_t< Dims==0 &&View==true > > & > | operator+= (const _T &Partial) |
|
enable_if_t<(_Dims==0) &&IsMultiplies< _T, BinaryOp >::value, reducer< T, BinaryOperation, Dims, Extent, View, std::enable_if_t< Dims==0 &&View==true > > & > | operator*= (const _T &Partial) |
|
enable_if_t<(_Dims==0) &&IsBitOR< _T, BinaryOp >::value, reducer< T, BinaryOperation, Dims, Extent, View, std::enable_if_t< Dims==0 &&View==true > > & > | operator|= (const _T &Partial) |
|
enable_if_t<(_Dims==0) &&IsBitXOR< _T, BinaryOp >::value, reducer< T, BinaryOperation, Dims, Extent, View, std::enable_if_t< Dims==0 &&View==true > > & > | operator^= (const _T &Partial) |
|
enable_if_t<(_Dims==0) &&IsBitAND< _T, BinaryOp >::value, reducer< T, BinaryOperation, Dims, Extent, View, std::enable_if_t< Dims==0 &&View==true > > & > | operator&= (const _T &Partial) |
|
enable_if_t< BasicCheck< _T, Space, _BinaryOperation > &&(IsReduOptForFastAtomicFetch< _T, _BinaryOperation >::value||IsReduOptForAtomic64Op< _T, _BinaryOperation >::value) &&IsPlus< _T, _BinaryOperation >::value > | atomic_combine (_T *ReduVarPtr) const |
| Atomic ADD operation: *ReduVarPtr += MValue;. More...
|
|
enable_if_t< BasicCheck< _T, Space, _BinaryOperation > &&IsReduOptForFastAtomicFetch< _T, _BinaryOperation >::value &&IsBitOR< _T, _BinaryOperation >::value > | atomic_combine (_T *ReduVarPtr) const |
| Atomic BITWISE OR operation: *ReduVarPtr |= MValue;. More...
|
|
enable_if_t< BasicCheck< _T, Space, _BinaryOperation > &&IsReduOptForFastAtomicFetch< _T, _BinaryOperation >::value &&IsBitXOR< _T, _BinaryOperation >::value > | atomic_combine (_T *ReduVarPtr) const |
| Atomic BITWISE XOR operation: *ReduVarPtr ^= MValue;. More...
|
|
enable_if_t< std::is_same< remove_decoration_t< _T >, _T >::value &&IsReduOptForFastAtomicFetch< _T, _BinaryOperation >::value &&IsBitAND< _T, _BinaryOperation >::value &&(Space==access::address_space::global_space||Space==access::address_space::local_space)> | atomic_combine (_T *ReduVarPtr) const |
| Atomic BITWISE AND operation: *ReduVarPtr &= MValue;. More...
|
|
enable_if_t< BasicCheck< _T, Space, _BinaryOperation > &&(IsReduOptForFastAtomicFetch< _T, _BinaryOperation >::value||IsReduOptForAtomic64Op< _T, _BinaryOperation >::value) &&IsMinimum< _T, _BinaryOperation >::value > | atomic_combine (_T *ReduVarPtr) const |
| Atomic MIN operation: *ReduVarPtr = sycl::minimum(*ReduVarPtr, MValue);. More...
|
|
enable_if_t< BasicCheck< _T, Space, _BinaryOperation > &&(IsReduOptForFastAtomicFetch< _T, _BinaryOperation >::value||IsReduOptForAtomic64Op< _T, _BinaryOperation >::value) &&IsMaximum< _T, _BinaryOperation >::value > | atomic_combine (_T *ReduVarPtr) const |
| Atomic MAX operation: *ReduVarPtr = sycl::maximum(*ReduVarPtr, MValue);. More...
|
|
template<typename T, class BinaryOperation, int Dims, size_t Extent, bool View>
class sycl::_V1::reducer< T, BinaryOperation, Dims, Extent, View, std::enable_if_t< Dims==0 &&View==true > >
Component of 'reducer' class for array reductions, representing a single element of the span (as returned by the subscript operator).
Definition at line 461 of file reduction.hpp.