|
RAJA
RAJA provides a collection of platform portability abstractions for C++ HPC applications.
|
Max reducer class template. More...
Max reducer class template.
Usage example:
Real_ptr data = ...;
ReduceMax<reduce_policy, Real_type> my_max(init_val);
forall<exec_policy>( ..., [=] (Index_type i) {
my_max.max(data[i]);
}
Real_type maxval = my_max.get();
*