48 #include "Kokkos_Core.hpp"
56 using namespace KokkosKernelsUnitTest;
65 using Kokkos::Threads;
72 const size_t team_count =
73 Kokkos::hwloc::get_available_numa_count() *
74 Kokkos::hwloc::get_available_cores_per_numa();
75 const size_t threads_per_team =
76 Kokkos::hwloc::get_available_threads_per_core();
79 Kokkos::InitArguments init_args;
80 init_args.num_threads = team_count*threads_per_team;
81 init_args.device_id = 0;
82 Kokkos::initialize( init_args );
83 Kokkos::print_configuration( std::cout );
static int runUnitTestsFromMain(int argc, char *argv[])
UnitTestSetup< int, double > setup
#define UNIT_TEST_GROUP_SCALAR_HOST_DEVICE(SCALAR, DEVICE)
int main(int argc, char **argv)
#define UNIT_TEST_GROUP_SCALAR_DEVICE(SCALAR, DEVICE)