29 #include "Teuchos_UnitTestHarness.hpp" 30 #include "Teuchos_UnitTestRepository.hpp" 31 #include "Teuchos_GlobalMPISession.hpp" 34 #define SACADO_DISABLE_FAD_VIEW_SPEC 36 #define SACADO_TEST_DFAD 1 40 using Kokkos::Threads;
43 int
main(
int argc,
char* argv[] ) {
44 Teuchos::GlobalMPISession mpiSession(&argc, &argv);
48 Kokkos::hwloc::get_available_numa_count() *
49 Kokkos::hwloc::get_available_cores_per_numa();
50 size_t num_hyper_threads =
51 Kokkos::hwloc::get_available_threads_per_core();
53 Kokkos::InitArguments init_args;
54 init_args.num_threads = num_cores*num_hyper_threads;
55 Kokkos::initialize( init_args );
56 Kokkos::print_configuration(std::cout);
58 int res = Teuchos::UnitTestRepository::runUnitTestsFromMain(argc, argv);
int main(int argc, char *argv[])
#define VIEW_FAD_TESTS_D(D)