Tpetra Matrix/Vector Services Version of the Day
Tpetra_Map.cpp
00001 #include "Tpetra_Map.hpp"
00002 
00003 #ifdef HAVE_TPETRA_EXPLICIT_INSTANTIATION
00004 
00005 // #include "Tpetra_ExplicitInstantiationHelpers.hpp"
00006 
00007 #include <Kokkos_SerialNode.hpp>
00008 #if defined(HAVE_KOKKOS_TBB)
00009 #  include <Kokkos_TBBNode.hpp>
00010 #endif
00011 #if defined(HAVE_KOKKOS_THREADPOOL)
00012 #  include <Kokkos_TPINode.hpp>
00013 #endif
00014 #if defined(HAVE_KOKKOS_THRUST)
00015 #  include <Kokkos_ThrustGPUNode.hpp>
00016 #endif
00017 
00018 #include "Tpetra_Map_def.hpp"
00019 
00020 namespace Tpetra {
00021 
00022   // for default node
00023   template Teuchos::RCP< const Map<int,int,Kokkos::DefaultNode::DefaultNodeType> >
00024   createNonContigMap<int,int>(const Teuchos::ArrayView<const int> &elementList, const Teuchos::RCP< const Teuchos::Comm< int > > &comm);
00025   template Teuchos::RCP< const Map<int,int,Kokkos::DefaultNode::DefaultNodeType> >
00026   createContigMap<int,int>(size_t numElements, size_t numLocalElements, const Teuchos::RCP< const Teuchos::Comm< int > > &comm);
00027   template Teuchos::RCP< const Map<int,int,Kokkos::DefaultNode::DefaultNodeType> >
00028   createLocalMap<int,int>(size_t numElements, const Teuchos::RCP< const Teuchos::Comm< int > > &comm);
00029   template Teuchos::RCP< const Map<int,int,Kokkos::DefaultNode::DefaultNodeType> >
00030   createUniformContigMap<int,int>(global_size_t numElements, const Teuchos::RCP< const Teuchos::Comm< int > > &comm);
00031 
00032   TPETRA_MAP_INSTANT(int,int,Kokkos::SerialNode)
00033 #if defined(HAVE_KOKKOS_TBB)
00034   TPETRA_MAP_INSTANT(int,int,Kokkos::TBBNode)
00035 #endif
00036 #if defined(HAVE_KOKKOS_THREADPOOL)
00037     TPETRA_MAP_INSTANT(int,int,Kokkos::TPINode)
00038 #endif
00039 #if defined(HAVE_KOKKOS_THRUST)
00040     TPETRA_MAP_INSTANT(int,int,Kokkos::ThrustGPUNode)
00041 #endif
00042 
00043 } // namespace Tpetra
00044 
00045 #endif // HAVE_TPETRA_EXPLICIT_INSTANTIATION
 All Classes Namespaces Files Functions Variables Typedefs Enumerations Enumerator Friends Defines