Anasazi  Version of the Day
AnasaziTpetraAdapter.cpp
2 
3 #ifdef HAVE_ANASAZI_TPETRA_TIMERS
4 
5 #include <Kokkos_SerialNode.hpp>
10 template <> Teuchos::RCP<Teuchos::Time> Anasazi::MultiVecTraits<std::complex<float>, Tpetra::MultiVector<std::complex<float>, int, int, Kokkos::SerialNode > >::mvTransMvTimer_ = Teuchos::null;
11 template <> Teuchos::RCP<Teuchos::Time> Anasazi::MultiVecTraits<std::complex<float>, Tpetra::MultiVector<std::complex<float>, int, int, Kokkos::SerialNode > >::mvTimesMatAddMvTimer_ = Teuchos::null;
12 template <> Teuchos::RCP<Teuchos::Time> Anasazi::MultiVecTraits<std::complex<double>, Tpetra::MultiVector<std::complex<double>, int, int, Kokkos::SerialNode > >::mvTransMvTimer_ = Teuchos::null;
13 template <> Teuchos::RCP<Teuchos::Time> Anasazi::MultiVecTraits<std::complex<double>, Tpetra::MultiVector<std::complex<double>, int, int, Kokkos::SerialNode > >::mvTimesMatAddMvTimer_ = Teuchos::null;
14 
15 #ifdef HAVE_KOKKOSCLASSIC_TBB
16 #include <Kokkos_TBBNode.hpp>
21 template <> Teuchos::RCP<Teuchos::Time> Anasazi::MultiVecTraits<std::complex<float>, Tpetra::MultiVector<std::complex<float>, int, int, Kokkos::TBBNode > >::mvTimesMatAddMvTimer_ = Teuchos::null;
22 template <> Teuchos::RCP<Teuchos::Time> Anasazi::MultiVecTraits<std::complex<float>, Tpetra::MultiVector<std::complex<float>, int, int, Kokkos::TBBNode > >::mvTransMvTimer_ = Teuchos::null;
23 template <> Teuchos::RCP<Teuchos::Time> Anasazi::MultiVecTraits<std::complex<double>, Tpetra::MultiVector<std::complex<double>, int, int, Kokkos::TBBNode > >::mvTimesMatAddMvTimer_ = Teuchos::null;
24 template <> Teuchos::RCP<Teuchos::Time> Anasazi::MultiVecTraits<std::complex<double>, Tpetra::MultiVector<std::complex<double>, int, int, Kokkos::TBBNode > >::mvTransMvTimer_ = Teuchos::null;
25 #endif
26 
27 #ifdef HAVE_KOKKOSCLASSIC_THREADPOOL
28 #include <Kokkos_TPINode.hpp>
33 template <> Teuchos::RCP<Teuchos::Time> Anasazi::MultiVecTraits<std::complex<float>, Tpetra::MultiVector<std::complex<float>, int, int, Kokkos::TPINode > >::mvTransMvTimer_ = Teuchos::null;
34 template <> Teuchos::RCP<Teuchos::Time> Anasazi::MultiVecTraits<std::complex<float>, Tpetra::MultiVector<std::complex<float>, int, int, Kokkos::TPINode > >::mvTimesMatAddMvTimer_ = Teuchos::null;
35 template <> Teuchos::RCP<Teuchos::Time> Anasazi::MultiVecTraits<std::complex<double>, Tpetra::MultiVector<std::complex<double>, int, int, Kokkos::TPINode > >::mvTransMvTimer_ = Teuchos::null;
36 template <> Teuchos::RCP<Teuchos::Time> Anasazi::MultiVecTraits<std::complex<double>, Tpetra::MultiVector<std::complex<double>, int, int, Kokkos::TPINode > >::mvTimesMatAddMvTimer_ = Teuchos::null;
37 #endif
38 
39 #ifdef HAVE_KOKKOSCLASSIC_THRUST
40 #include <Kokkos_ThrustGPUNode.hpp>
45 template <> Teuchos::RCP<Teuchos::Time> Anasazi::MultiVecTraits<std::complex<float>, Tpetra::MultiVector<std::complex<float>, int, int, Kokkos::ThrustGPUNode> >::mvTransMvTimer_ = Teuchos::null;
46 template <> Teuchos::RCP<Teuchos::Time> Anasazi::MultiVecTraits<std::complex<float>, Tpetra::MultiVector<std::complex<float>, int, int, Kokkos::ThrustGPUNode> >::mvTimesMatAddMvTimer_ = Teuchos::null;
47 template <> Teuchos::RCP<Teuchos::Time> Anasazi::MultiVecTraits<std::complex<double>, Tpetra::MultiVector<std::complex<double>, int, int, Kokkos::ThrustGPUNode> >::mvTransMvTimer_ = Teuchos::null;
48 template <> Teuchos::RCP<Teuchos::Time> Anasazi::MultiVecTraits<std::complex<double>, Tpetra::MultiVector<std::complex<double>, int, int, Kokkos::ThrustGPUNode> >::mvTimesMatAddMvTimer_ = Teuchos::null;
49 #endif
50 
51 #endif
Adaptor between Anasazi and Tpetra::{MultiVector,Operator}.
Traits class which defines basic operations on multivectors.