42 #ifndef TPETRA_SERIALPLATFORM_HPP
43 #define TPETRA_SERIALPLATFORM_HPP
45 #include <Teuchos_DefaultSerialComm.hpp>
46 #include <Teuchos_Describable.hpp>
47 #include <Tpetra_ConfigDefs.hpp>
48 #include <Kokkos_DefaultNode.hpp>
91 comm_ (
rcp (new Teuchos::SerialComm<int>())),
150 typedef Kokkos::DefaultNode::DefaultNodeType
NodeType;
162 comm_ (
rcp (new Teuchos::SerialComm<int> ())),
163 node_ (Kokkos::DefaultNode::getDefaultNode ())
180 comm_ (
rcp (new Teuchos::SerialComm<int> ())),
181 node_ (node.
is_null() ? Kokkos::DefaultNode::getDefaultNode() : node)
219 #endif // TPETRA_SERIALPLATFORM_HPP
bool is_null(const boost::shared_ptr< T > &p)
TEUCHOS_DEPRECATED RCP< T > rcp(T *p, Dealloc_T dealloc, bool owns_mem)