Sacado Package Browser (Single Doxygen Collection)  Version of the Day
 All Classes Namespaces Files Functions Variables Typedefs Enumerations Enumerator Friends Macros Groups Pages
Fad_KokkosTests_OpenMP.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 
13 
14 #define SACADO_TEST_DFAD 1
15 #include "Fad_KokkosTests.hpp"
16 
17 // Instantiate tests for OpenMP device
18 using Kokkos::OpenMP;
19 VIEW_FAD_TESTS_D( OpenMP )
20 
21 int main( int argc, char* argv[] ) {
22  Teuchos::GlobalMPISession mpiSession(&argc, &argv);
23 
24  // Initialize OpenMP
25  Kokkos::initialize();
26  Kokkos::print_configuration(std::cout);
27 
29 
30  // Finalize OpenMP
31  Kokkos::finalize();
32 
33  return res;
34 }
static int runUnitTestsFromMain(int argc, char *argv[])
int main()
Definition: ad_example.cpp:171
#define VIEW_FAD_TESTS_D(D)