|
RAJA
RAJA provides a collection of platform portability abstractions for C++ HPC applications.
|
Bitwise OR reducer class template. More...
#include <reduce.hpp>
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 BaseReduceBitOr & | operator|= (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 ©) |
| compiler-generated copy constructor More... | |
| RAJA_SUPPRESS_HD_WARN RAJA_HOST_DEVICE RAJA_INLINE | BaseReduce (BaseReduce &©) |
| compiler-generated move constructor More... | |
| RAJA_SUPPRESS_HD_WARN RAJA_HOST_DEVICE void | reset (T val, T identity_=Reduce::identity()) |
| BaseReduce & | operator= (const BaseReduce &)=delete |
| prohibit compiler-generated copy assignment More... | |
| BaseReduce & | operator= (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... | |
| T | get () const |
| Get the calculated reduced value. More... | |
Bitwise OR reducer class template.
| using RAJA::reduce::detail::BaseReduceBitOr< T, Combiner >::Base = BaseReduce<T, RAJA::reduce::or_bit, Combiner> |
|
inline |
reducer function; updates the current instance's state