Tpetra parallel linear algebra
Version of the Day
|
Declaration and definition of Tpetra::for_each; declaration of helper classes for users to specialize. More...
#include "TpetraCore_config.h"
#include <type_traits>
Go to the source code of this file.
Classes | |
struct | Tpetra::Details::ForEach< ExecutionSpace, GlobalDataStructure, UserFunctionType > |
Specialize this class to implement Tpetra::for_each for specific GlobalDataStructure types. More... | |
Namespaces | |
Tpetra | |
Namespace Tpetra contains the class and methods constituting the Tpetra library. | |
Tpetra::Details | |
Nonmember function that computes a residual Computes R = B - A * X. | |
Functions | |
template<class ExecutionSpace , class GlobalDataStructure , class UserFunctionType > | |
void | Tpetra::for_each (const char kernelLabel[], ExecutionSpace execSpace, GlobalDataStructure &X, UserFunctionType f) |
Apply a function entrywise to each local entry of a Tpetra global data structure, analogously to std::for_each. More... | |
template<class GlobalDataStructure , class UserFunctionType > | |
void | Tpetra::for_each (const char kernelLabel[], GlobalDataStructure &X, UserFunctionType f) |
Overload of for_each (see above) that runs on X's default Kokkos execution space. More... | |
Declaration and definition of Tpetra::for_each; declaration of helper classes for users to specialize.
Definition in file Tpetra_for_each.hpp.