|
Tpetra parallel linear algebra
Version of the Day
|
SerialPlatform specialization for the default Node type. More...
#include <Tpetra_SerialPlatform.hpp>
Inherits Describable.
Public Types | |
Typedefs | |
| typedef Tpetra::Details::DefaultTypes::node_type | NodeType |
| Kokkos Node type; the template parameter of this class. More... | |
Public Member Functions | |
Constructors and destructor | |
| SerialPlatform () | |
| Default constructor: uses Kokkos default node. More... | |
| SerialPlatform (int *argc, char ***argv) | |
| Constructor that accepts the same arguments as Tpetra::initialize(). More... | |
| SerialPlatform (const Teuchos::RCP< NodeType > &) | |
| Constructor that accepts a Kokkos Node. More... | |
| SerialPlatform (int *argc, char ***argv, const Teuchos::RCP< NodeType > &) | |
| Constructor that accepts the same arguments as Tpetra::initialize(), plus a Kokkos Node. More... | |
| virtual | ~SerialPlatform () |
| Destructor (virtual for memory safety of derived classes). More... | |
Methods to access the communicator and Kokkos Node. | |
| Teuchos::RCP< const Teuchos::Comm< int > > | comm_ |
| Teuchos::Comm object instantiated for the platform. More... | |
| Teuchos::RCP< const Teuchos::Comm< int > > | getComm () const |
| The Teuchos::Comm instance with which this object was created. More... | |
| Teuchos::RCP< Tpetra::Details::DefaultTypes::node_type > | getNode () const |
| The Kokkos Node instance. More... | |
SerialPlatform specialization for the default Node type.
Definition at line 157 of file Tpetra_SerialPlatform.hpp.
| typedef Tpetra::Details::DefaultTypes::node_type Tpetra::SerialPlatform< Tpetra::Details::DefaultTypes::node_type >::NodeType |
Kokkos Node type; the template parameter of this class.
Definition at line 164 of file Tpetra_SerialPlatform.hpp.
Default constructor: uses Kokkos default node.
The specialization of SerialPlatform for the default Node type includes a default constructor.
Definition at line 174 of file Tpetra_SerialPlatform.hpp.
|
inlineexplicit |
Constructor that accepts the same arguments as Tpetra::initialize().
| argc | [in/out] First argument of Tpetra::initialize(). |
| argv | [in/out] Second argument of Tpetra::initialize(). |
Definition at line 183 of file Tpetra_SerialPlatform.hpp.
|
inlineexplicit |
Constructor that accepts a Kokkos Node.
This version of the constructor is declared "explicit" to forbid silent type conversions from the Node instance to a SerialPlatform. (A single-argument constructor that is not declared "explicit" defines a type conversion method from the input type to the constructor's class's type.) The "explicit" declaration does not affect typical use of this constructor.
Node will be deprecated and removed in favor of Kokkos::Device, so the Node can and should always be Teuchos::null.
Definition at line 202 of file Tpetra_SerialPlatform.hpp.
|
inlineexplicit |
Constructor that accepts the same arguments as Tpetra::initialize(), plus a Kokkos Node.
| argc | [in/out] First argument of Tpetra::initialize(). |
| argv | [in/out] Second argument of Tpetra::initialize(). |
| node | [in/out] The Kokkos Node instance. |
Node will be deprecated and removed in favor of Kokkos::Device, so the Node can and should always be Teuchos::null.
Definition at line 217 of file Tpetra_SerialPlatform.hpp.
|
inlinevirtual |
Destructor (virtual for memory safety of derived classes).
Definition at line 226 of file Tpetra_SerialPlatform.hpp.
|
inline |
The Teuchos::Comm instance with which this object was created.
Definition at line 233 of file Tpetra_SerialPlatform.hpp.
|
inline |
The Kokkos Node instance.
Node will be deprecated and removed in favor of Kokkos::Device, so the Node can and should always be Teuchos::null.
Definition at line 243 of file Tpetra_SerialPlatform.hpp.
|
protected |
Teuchos::Comm object instantiated for the platform.
Definition at line 258 of file Tpetra_SerialPlatform.hpp.
1.8.16