Sacado Package Browser (Single Doxygen Collection)  Version of the Day
 All Classes Namespaces Files Functions Variables Typedefs Enumerations Enumerator Friends Macros Groups Pages
Fad_KokkosAtomicTests_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 
13 
14 // Disable view specializations (changes atomic argument from ViewFadPtr to
15 // Fad*)
16 #define SACADO_DISABLE_FAD_VIEW_SPEC
17 
18 #define SACADO_TEST_DFAD 1
20 
21 // Instantiate tests for Serial device
22 using Kokkos::Serial;
23 VIEW_FAD_TESTS_D( Serial )
24 
25 int main( int argc, char* argv[] ) {
26  Teuchos::GlobalMPISession mpiSession(&argc, &argv);
27 
28  // Initialize serial
29  Kokkos::initialize(argc,argv);
30 
32 
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)