|
Tpetra Matrix/Vector Services
Version of the Day
|
SerialPlatform specialization for Kokkos::DefaultNode::DefaultNodeType. More...
#include <Tpetra_SerialPlatform.hpp>

Public Types | |
Typedefs | |
| typedef Kokkos::DefaultNode::DefaultNodeType | 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 (const RCP< Kokkos::DefaultNode::DefaultNodeType > &node) | |
| Constructor that accepts a Kokkos Node. More... | |
| virtual | ~SerialPlatform () |
| Destructor (virtual for memory safety of derived classes). More... | |
Methods to access the communicator and Kokkos Node. | |
| RCP< const Teuchos::Comm< int > > | getComm () const |
| The Teuchos::Comm instance with which this object was created. More... | |
| RCP< Kokkos::DefaultNode::DefaultNodeType > | getNode () const |
| The Kokkos Node instance for this platform to use. More... | |
Protected Attributes | |
| RCP< const Teuchos::SerialComm< int > > | comm_ |
| Teuchos::Comm object instantiated for the platform. More... | |
| RCP< Kokkos::DefaultNode::DefaultNodeType > | node_ |
| Node object instantiated for the platform. More... | |
SerialPlatform specialization for Kokkos::DefaultNode::DefaultNodeType.
Definition at line 143 of file Tpetra_SerialPlatform.hpp.
| typedef Kokkos::DefaultNode::DefaultNodeType Tpetra::SerialPlatform< Kokkos::DefaultNode::DefaultNodeType >::NodeType |
Kokkos Node type; the template parameter of this class.
Definition at line 150 of file Tpetra_SerialPlatform.hpp.
|
inline |
Default constructor: uses Kokkos default node.
The specialization of SerialPlatform for the default Node type includes a default constructor. It instantiates a default Node instance using Kokkos::DefaultNode::getDefaultNode().
Definition at line 161 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.
This specialization of SerialPlatform for the default node type will instantiate a default Node if node.is_null().
| node | [in/out] The Kokkos Node instance. |
Definition at line 179 of file Tpetra_SerialPlatform.hpp.
|
inlinevirtual |
Destructor (virtual for memory safety of derived classes).
Definition at line 185 of file Tpetra_SerialPlatform.hpp.
|
inline |
The Teuchos::Comm instance with which this object was created.
Definition at line 192 of file Tpetra_SerialPlatform.hpp.
|
inline |
The Kokkos Node instance for this platform to use.
Definition at line 197 of file Tpetra_SerialPlatform.hpp.
|
protected |
Teuchos::Comm object instantiated for the platform.
Definition at line 211 of file Tpetra_SerialPlatform.hpp.
|
protected |
Node object instantiated for the platform.
Definition at line 214 of file Tpetra_SerialPlatform.hpp.
1.8.11