RAJA
RAJA provides a collection of platform portability abstractions for C++ HPC applications.
Public Types | Public Member Functions | List of all members
RAJA::reduce::detail::BaseReduceBitOr< T, Combiner > Class Template Reference

Bitwise OR reducer class template. More...

#include <reduce.hpp>

Inheritance diagram for RAJA::reduce::detail::BaseReduceBitOr< T, Combiner >:
RAJA::reduce::detail::BaseReduce< T, RAJA::reduce::or_bit, Combiner >

Public Types

using Base = BaseReduce< T, RAJA::reduce::or_bit, Combiner >
 
- Public Types inherited from RAJA::reduce::detail::BaseReduce< T, RAJA::reduce::or_bit, Combiner >
using value_type = T
 
using reduce_type = Reduce
 

Public Member Functions

RAJA_SUPPRESS_HD_WARN RAJA_HOST_DEVICE const BaseReduceBitOroperator|= (T rhs) const
 reducer function; updates the current instance's state More...
 
- Public Member Functions inherited from RAJA::reduce::detail::BaseReduce< T, RAJA::reduce::or_bit, Combiner >
RAJA_SUPPRESS_HD_WARN RAJA_HOST_DEVICE BaseReduce ()
 
RAJA_SUPPRESS_HD_WARN RAJA_HOST_DEVICE BaseReduce (T init_val, T identity_=Reduce::identity())
 
RAJA_SUPPRESS_HD_WARN RAJA_HOST_DEVICE BaseReduce (const BaseReduce &copy)
 compiler-generated copy constructor More...
 
RAJA_SUPPRESS_HD_WARN RAJA_HOST_DEVICE RAJA_INLINE BaseReduce (BaseReduce &&copy)
 compiler-generated move constructor More...
 
RAJA_SUPPRESS_HD_WARN RAJA_HOST_DEVICE void reset (T val, T identity_=Reduce::identity())
 
BaseReduceoperator= (const BaseReduce &)=delete
 prohibit compiler-generated copy assignment More...
 
BaseReduceoperator= (BaseReduce &&)=default
 compiler-generated move assignment More...
 
RAJA_SUPPRESS_HD_WARN RAJA_HOST_DEVICE void combine (T const &other) const
 
T & local () const
 
 operator T () const
 Get the calculated reduced value. More...
 
get () const
 Get the calculated reduced value. More...
 

Detailed Description

template<typename T, template< typename, typename > class Combiner>
class RAJA::reduce::detail::BaseReduceBitOr< T, Combiner >

Bitwise OR reducer class template.

Member Typedef Documentation

◆ Base

template<typename T , template< typename, typename > class Combiner>
using RAJA::reduce::detail::BaseReduceBitOr< T, Combiner >::Base = BaseReduce<T, RAJA::reduce::or_bit, Combiner>

Member Function Documentation

◆ operator|=()

template<typename T , template< typename, typename > class Combiner>
RAJA_SUPPRESS_HD_WARN RAJA_HOST_DEVICE const BaseReduceBitOr& RAJA::reduce::detail::BaseReduceBitOr< T, Combiner >::operator|= ( rhs) const
inline

reducer function; updates the current instance's state


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