|
Tpetra Matrix/Vector Services Version of the Day
|
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 createContigMap<int,int>(size_t numElements, size_t numLocalElements, const Teuchos::RCP< const Teuchos::Comm< int > > &comm); 00025 template Teuchos::RCP< const Map<int,int,Kokkos::DefaultNode::DefaultNodeType> > 00026 createLocalMap<int,int>(size_t numElements, const Teuchos::RCP< const Teuchos::Comm< int > > &comm); 00027 template Teuchos::RCP< const Map<int,int,Kokkos::DefaultNode::DefaultNodeType> > 00028 createUniformContigMap<int,int>(global_size_t numElements, const Teuchos::RCP< const Teuchos::Comm< int > > &comm); 00029 00030 TPETRA_MAP_INSTANT(int,int,Kokkos::SerialNode) 00031 #if defined(HAVE_KOKKOS_TBB) 00032 TPETRA_MAP_INSTANT(int,int,Kokkos::TBBNode) 00033 #endif 00034 #if defined(HAVE_KOKKOS_THREADPOOL) 00035 TPETRA_MAP_INSTANT(int,int,Kokkos::TPINode) 00036 #endif 00037 #if defined(HAVE_KOKKOS_THRUST) 00038 TPETRA_MAP_INSTANT(int,int,Kokkos::ThrustGPUNode) 00039 #endif 00040 00041 } // namespace Tpetra 00042 00043 #endif // HAVE_TPETRA_EXPLICIT_INSTANTIATION
1.7.4