29 #include "Teuchos_UnitTestHarness.hpp" 30 #include "Teuchos_UnitTestRepository.hpp" 31 #include "Teuchos_GlobalMPISession.hpp" 34 #define SACADO_DISABLE_FAD_VIEW_SPEC 38 #include "Kokkos_Core.hpp" 41 using Kokkos::Threads;
44 int
main(
int argc,
char* argv[] ) {
45 Teuchos::GlobalMPISession mpiSession(&argc, &argv);
49 Kokkos::hwloc::get_available_numa_count() *
50 Kokkos::hwloc::get_available_cores_per_numa();
51 size_t num_hyper_threads =
52 Kokkos::hwloc::get_available_threads_per_core();
53 Kokkos::Threads::initialize(num_cores * num_hyper_threads);
54 Kokkos::Threads::print_configuration(std::cout);
56 int res = Teuchos::UnitTestRepository::runUnitTestsFromMain(argc, argv);
59 Kokkos::Threads::finalize();
int main(int argc, char *argv[])
#define VIEW_FAD_TESTS_D(D)