42 #include "Teuchos_UnitTestHarness.hpp" 43 #include "Teuchos_UnitTestRepository.hpp" 44 #include "Teuchos_GlobalMPISession.hpp" 48 #include "Kokkos_Core.hpp" 49 #include "KokkosCompat_ClassicNodeAPI_Wrapper.hpp" 56 Teuchos::GlobalMPISession mpiSession(&argc, &
argv);
61 Kokkos::HostSpace::execution_space::initialize();
62 Kokkos::Cuda::initialize(Kokkos::Cuda::SelectDevice(0));
63 Kokkos::Cuda::print_configuration(std::cout);
66 Teuchos::UnitTestRepository::setGloballyReduceTestResult(
true);
67 int ret = Teuchos::UnitTestRepository::runUnitTestsFromMain(argc,
argv);
70 Kokkos::HostSpace::execution_space::finalize();
71 Kokkos::Cuda::finalize();
int main(int argc, char *argv[])
#define CRSMATRIX_MP_VECTOR_TESTS_N(N)
Kokkos::Compat::KokkosDeviceWrapperNode< Kokkos::Cuda > CudaWrapperNode
const unsigned VectorSize
unsigned global_sacado_mp_vector_size