RAJA
RAJA provides a collection of platform portability abstractions for C++ HPC applications.
RAJA::ReduceBitAnd< REDUCE_POLICY_T, T > Class Template Reference

Bitwise AND reducer class template. More...

Detailed Description

template<typename REDUCE_POLICY_T, typename T>
class RAJA::ReduceBitAnd< REDUCE_POLICY_T, T >

Bitwise AND reducer class template.

Usage example:

  Real_ptr data = ...;
  ReduceBitAnd<reduce_policy, Real_type> my_bits(init_val);

  forall<exec_policy>( ..., [=] (Index_type i) {
     my_bits &= data[i];
  }

  Real_type finbits = my_bits.get();

* 

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