Stokhos Package Browser (Single Doxygen Collection)  Version of the Day
 All Classes Namespaces Files Functions Variables Typedefs Enumerations Enumerator Friends Macros Groups Pages
Stokhos_KokkosCrsMatrixUQPCEUnitTest_Cuda.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 
13 
15 
16 #include "Kokkos_Core.hpp"
17 
18 // Instantiate test for Cuda device
19 using Kokkos::Cuda;
21 
22 int main( int argc, char* argv[] ) {
23  Teuchos::GlobalMPISession mpiSession(&argc, &argv);
24 
25  // Initialize Cuda
26  Kokkos::InitializationSettings init_args;
27  init_args.set_device_id(0);
28  Kokkos::initialize( init_args );
29  Kokkos::print_configuration(std::cout);
30 
31  // Run tests
33 
34  // Finish up
35  Kokkos::finalize();
36 
37  return ret;
38 }
static int runUnitTestsFromMain(int argc, char *argv[])
int main(int argc, char **argv)
#define CRSMATRIX_UQ_PCE_TESTS_DEVICE(DEVICE)