inline void invnorm2( const VectorView & x , const ValueView & r , const ValueView & r_inv ) { Kokkos::parallel_reduce( x.dimension_0() , InvNorm2< VectorView , ValueView >( x , r , r_inv ) ); }
inline void dot_neg( const VectorView & x , const VectorView & y , const ValueView & r , const ValueView & r_neg ) { Kokkos::parallel_reduce( x.dimension_0() , DotM< VectorView , ValueView >( x , y , r , r_neg ) ); }