Stokhos Package Browser (Single Doxygen Collection)  Version of the Day
 All Classes Namespaces Files Functions Variables Typedefs Enumerations Enumerator Friends Macros Groups Pages
Stokhos_TpetraCrsMatrixUQPCEUnitTest_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 
27  // Initialize Kokkos
28  Kokkos::initialize(argc, argv);
29 
30  // Run tests
33 
34  // Finish up
35  Kokkos::finalize();
36 
37  return ret;
38 }
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)
#define CRSMATRIX_UQ_PCE_TESTS_N(N)