Tpetra parallel linear algebra
Version of the Day
|
Lazily acquires and stores Kokkos Execution Spaces. More...
#include <Tpetra_Details_ExecutionSpacesSlot.hpp>
Public Member Functions | |
Slot () | |
Default constructor that creates instances for each possible space priority level. More... | |
template<Spaces::Priority priority = Spaces::Priority::medium> | |
Teuchos::RCP< const execution_space > | space_instance () const |
Get a specific execution space instance based on the given priority level. More... | |
Teuchos::RCP< const execution_space > | space_instance (const Spaces::Priority &priority) const |
Get a specific execution space instance based on the given priority level. More... | |
Lazily acquires and stores Kokkos Execution Spaces.
ExecSpace | the type of the execution space to be wrapped. |
Definition at line 31 of file Tpetra_Details_ExecutionSpacesSlot.hpp.
|
inline |
Default constructor that creates instances for each possible space priority level.
Definition at line 39 of file Tpetra_Details_ExecutionSpacesSlot.hpp.
|
inline |
Get a specific execution space instance based on the given priority level.
priority | the priority level of the desired execution space instance. Default value is medium. |
Definition at line 59 of file Tpetra_Details_ExecutionSpacesSlot.hpp.
|
inline |
Get a specific execution space instance based on the given priority level.
priority | the priority level of the desired execution space instance. |
Definition at line 76 of file Tpetra_Details_ExecutionSpacesSlot.hpp.