|
RAJA
RAJA provides a collection of platform portability abstractions for C++ HPC applications.
|
Min-loc reducer class template. More...
Min-loc reducer class template.
Usage example:
Real_ptr data = ...;
ReduceMinLoc<reduce_policy, Real_type> my_min(init_val, -1);
forall<exec_policy>( ..., [=] (Index_type i) {
my_min.minloc(data[i], i);
}
Real_type minval = my_min.get();
Index_type minloc = my_min.getLoc();
*