Stokhos Package Browser (Single Doxygen Collection)  Version of the Day
 All Classes Namespaces Files Functions Variables Typedefs Enumerations Enumerator Friends Macros Groups Pages
Stokhos_TpetraCrsMatrixMPVectorUnitTest_Serial.cpp
Go to the documentation of this file.
1 // @HEADER
2 // *****************************************************************************
3 // Stokhos Package
4 //
5 // Copyright 2009 NTESS and the Stokhos contributors.
6 // SPDX-License-Identifier: BSD-3-Clause
7 // *****************************************************************************
8 // @HEADER
9 
13 
15 
16 #include "Kokkos_Core.hpp"
17 #include <Tpetra_KokkosCompat_ClassicNodeAPI_Wrapper.hpp>
18 
19 // Instantiate tests for serial node
20 typedef Tpetra::KokkosCompat::KokkosDeviceWrapperNode<Kokkos::Serial> SerialWrapperNode;
22 
23 int main( int argc, char* argv[] ) {
24  Teuchos::GlobalMPISession mpiSession(&argc, &argv);
25 
27 
28  // Initialize serial
29  Kokkos::initialize();
30 
31  // Run tests
34 
35  // Finish up
36  Kokkos::finalize();
37 
38  return ret;
39 }
#define CRSMATRIX_MP_VECTOR_TESTS_N(N)
static int runUnitTestsFromMain(int argc, char *argv[])
static void setGloballyReduceTestResult(const bool globallyReduceUnitTestResult)
Tpetra::KokkosCompat::KokkosDeviceWrapperNode< Kokkos::Serial > SerialWrapperNode
int main(int argc, char **argv)
unsigned global_sacado_mp_vector_size