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