Stokhos Package Browser (Single Doxygen Collection)
Version of the Day
Main Page
Related Pages
Modules
Namespaces
Classes
Files
File List
File Members
All
Classes
Namespaces
Files
Functions
Variables
Typedefs
Enumerations
Enumerator
Friends
Macros
Groups
Pages
test
UnitTest
Stokhos_KokkosCrsMatrixUQPCEUnitTest_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
10
#include "
Teuchos_UnitTestHarness.hpp
"
11
#include "
Teuchos_UnitTestRepository.hpp
"
12
#include "
Teuchos_GlobalMPISession.hpp
"
13
14
#include "
Stokhos_KokkosCrsMatrixUQPCEUnitTest.hpp
"
15
16
#include "Kokkos_Core.hpp"
17
18
// Instantiate test for OpenMP device
19
using
Kokkos::OpenMP;
20
CRSMATRIX_UQ_PCE_TESTS_DEVICE
( OpenMP )
21
22
int
main
(
int
argc,
char
*
argv
[] ) {
23
// Setup the MPI session
24
Teuchos::GlobalMPISession
mpiSession(&argc, &argv);
25
26
// Initialize Kokkos
27
Kokkos::initialize(argc, argv);
28
29
// Run tests
30
int
ret =
Teuchos::UnitTestRepository::runUnitTestsFromMain
(argc, argv);
31
32
// Finish up
33
Kokkos::finalize();
34
35
return
ret;
36
}
argv
char * argv[]
Definition:
Stokhos_HouseTriDiagUnitTest.cpp:252
Teuchos::GlobalMPISession
Teuchos_UnitTestRepository.hpp
Teuchos::UnitTestRepository::runUnitTestsFromMain
static int runUnitTestsFromMain(int argc, char *argv[])
Teuchos_UnitTestHarness.hpp
main
int main(int argc, char **argv)
Definition:
cijk_ltb_partition.cpp:25
Teuchos_GlobalMPISession.hpp
CRSMATRIX_UQ_PCE_TESTS_DEVICE
#define CRSMATRIX_UQ_PCE_TESTS_DEVICE(DEVICE)
Definition:
Stokhos_KokkosCrsMatrixUQPCEUnitTest.hpp:1038
Stokhos_KokkosCrsMatrixUQPCEUnitTest.hpp
Generated on Fri Nov 22 2024 09:18:12 for Stokhos Package Browser (Single Doxygen Collection) by
1.8.5