Sacado Package Browser (Single Doxygen Collection)
Version of the Day
Main Page
Related Pages
Namespaces
Classes
Files
File List
File Members
All
Classes
Namespaces
Files
Functions
Variables
Typedefs
Enumerations
Enumerator
Friends
Macros
Groups
Pages
test
UnitTests
Fad_KokkosTests_NoViewSpec_Serial.cpp
Go to the documentation of this file.
1
// @HEADER
2
// *****************************************************************************
3
// Sacado Package
4
//
5
// Copyright 2006 NTESS and the Sacado contributors.
6
// SPDX-License-Identifier: LGPL-2.1-or-later
7
// *****************************************************************************
8
// @HEADER
9
10
#include "
Teuchos_UnitTestHarness.hpp
"
11
#include "
Teuchos_UnitTestRepository.hpp
"
12
#include "
Teuchos_GlobalMPISession.hpp
"
13
14
// Disable view specializations
15
#define SACADO_DISABLE_FAD_VIEW_SPEC
16
17
#define SACADO_TEST_DFAD 1
18
#include "
Fad_KokkosTests.hpp
"
19
20
// Instantiate tests for Serial device
21
using
Kokkos::Serial;
22
VIEW_FAD_TESTS_D
( Serial )
23
24
int
main
(
int
argc,
char
* argv[] ) {
25
Teuchos::GlobalMPISession
mpiSession(&argc, &argv);
26
27
// Initialize serial
28
Kokkos::initialize(argc,argv);
29
30
int
res =
Teuchos::UnitTestRepository::runUnitTestsFromMain
(argc, argv);
31
32
// Finalize serial
33
Kokkos::finalize();
34
35
return
res;
36
}
Teuchos::GlobalMPISession
Teuchos_UnitTestRepository.hpp
Fad_KokkosTests.hpp
Teuchos::UnitTestRepository::runUnitTestsFromMain
static int runUnitTestsFromMain(int argc, char *argv[])
main
int main()
Definition:
ad_example.cpp:171
Teuchos_UnitTestHarness.hpp
Teuchos_GlobalMPISession.hpp
VIEW_FAD_TESTS_D
#define VIEW_FAD_TESTS_D(D)
Definition:
Fad_Fad_KokkosTests.hpp:347
Generated on Thu Nov 21 2024 09:23:56 for Sacado Package Browser (Single Doxygen Collection) by
1.8.5