16 #include "Kokkos_Core.hpp"
24 using namespace KokkosKernelsUnitTest;
33 using Kokkos::Threads;
40 const size_t team_count =
41 Kokkos::hwloc::get_available_numa_count() *
42 Kokkos::hwloc::get_available_cores_per_numa();
43 const size_t threads_per_team =
44 Kokkos::hwloc::get_available_threads_per_core();
47 Kokkos::InitializationSettings init_args;
48 init_args.set_num_threads(team_count*threads_per_team);
49 init_args.set_device_id(0);
50 Kokkos::initialize( init_args );
51 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)