Tpetra parallel linear algebra
Version of the Day
|
Declaration and definition of Tpetra::transform; declaration of helper classes for users to specialize. More...
#include "TpetraCore_config.h"
Go to the source code of this file.
Classes | |
struct | Tpetra::Details::Transform< ExecutionSpace, GlobalDataStructure > |
Specialize this class to implement Tpetra::transform 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 UnaryFunctionType > | |
void | Tpetra::transform (const char kernelLabel[], ExecutionSpace execSpace, GlobalDataStructure &input, GlobalDataStructure &output, UnaryFunctionType f) |
For each local entry input_i of input, assign f(input_i) to the corresponding local entry output_i of output, analogously to std::transform. More... | |
template<class GlobalDataStructure , class UnaryFunctionType > | |
void | Tpetra::transform (const char kernelLabel[], GlobalDataStructure &input, GlobalDataStructure &output, UnaryFunctionType f) |
Overload of transform (see above) that runs on the output object's default Kokkos execution space. More... | |
template<class ExecutionSpace , class GlobalDataStructure , class BinaryFunctionType > | |
void | Tpetra::transform (const char kernelLabel[], ExecutionSpace execSpace, GlobalDataStructure &input1, GlobalDataStructure &input2, GlobalDataStructure &output, BinaryFunctionType f) |
Binary transform on the given execution space execSpace: output_i = f(input1_i, input2_i). More... | |
Declaration and definition of Tpetra::transform; declaration of helper classes for users to specialize.
Definition in file Tpetra_transform.hpp.