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_KokkosViewUQPCEUnitTest_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_KokkosViewUQPCEUnitTest.hpp
"
15
16
#include "Kokkos_Core.hpp"
17
18
// Instantiate test for OpenMP device
19
using
Kokkos::OpenMP;
20
VIEW_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
}
Stokhos_KokkosViewUQPCEUnitTest.hpp
argv
char * argv[]
Definition:
Stokhos_HouseTriDiagUnitTest.cpp:252
VIEW_UQ_PCE_TESTS_DEVICE
#define VIEW_UQ_PCE_TESTS_DEVICE(DEVICE)
Definition:
Stokhos_KokkosViewUQPCEUnitTest.hpp:649
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
Generated on Fri Nov 22 2024 09:18:12 for Stokhos Package Browser (Single Doxygen Collection) by
1.8.5