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_OpenMP.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 threads node
20 typedef Tpetra::KokkosCompat::KokkosDeviceWrapperNode<Kokkos::OpenMP> OpenMPWrapperNode;
22 
23 int main( int argc, char* argv[] ) {
24  // Setup the MPI session
25  Teuchos::GlobalMPISession mpiSession(&argc, &argv);
26 
28 
29  // Initialize Kokkos
30  Kokkos::initialize(argc, argv);
31 
32  // Run tests
35 
36  // Finish up
37  Kokkos::finalize();
38 
39  return ret;
40 }
#define CRSMATRIX_MP_VECTOR_TESTS_N(N)
static int runUnitTestsFromMain(int argc, char *argv[])
static void setGloballyReduceTestResult(const bool globallyReduceUnitTestResult)
Tpetra::KokkosCompat::KokkosDeviceWrapperNode< Kokkos::OpenMP > OpenMPWrapperNode
int main(int argc, char **argv)
unsigned global_sacado_mp_vector_size