Tpetra parallel linear algebra  Version of the Day
 All Classes Namespaces Files Functions Variables Typedefs Enumerations Enumerator Friends Macros Pages
Namespaces | Functions
Tpetra_Details_allReduceView.hpp File Reference

All-reduce a 1-D or 2-D Kokkos::View. More...

#include "Tpetra_Details_Behavior.hpp"
#include "Tpetra_Details_isInterComm.hpp"
#include "Kokkos_Core.hpp"
#include "Teuchos_CommHelpers.hpp"
#include "Tpetra_Details_temporaryViewUtils.hpp"
#include <limits>
#include <type_traits>

Go to the source code of this file.


 Namespace Tpetra contains the class and methods constituting the Tpetra library.
 Nonmember function that computes a residual Computes R = B - A * X.


template<class InputViewType , class OutputViewType >
static void Tpetra::Details::allReduceView (const OutputViewType &output, const InputViewType &input, const Teuchos::Comm< int > &comm)
 All-reduce from input Kokkos::View to output Kokkos::View. More...

Detailed Description

All-reduce a 1-D or 2-D Kokkos::View.

Definition in file Tpetra_Details_allReduceView.hpp.