14 #include "Kokkos_Core.hpp"
16 template <
typename Storage>
17 void mainHost(
int nGrid,
int nIter, KokkosSparse::DeviceConfig dev_config) {
19 const int entry_min = 8;
20 const int entry_max = 48;
21 const int entry_step = 8;
23 const int entry_min = 4;
24 const int entry_max = 32;
25 const int entry_step = 4;
28 performance_test_driver<Storage,entry_min,entry_max,entry_step>(
29 nGrid,nIter,dev_config);
32 #ifdef KOKKOS_ENABLE_THREADS
33 template void mainHost< Stokhos::StaticFixedStorage<int,double,1,Kokkos::Threads> >(
int nGrid,
int nIter, KokkosSparse::DeviceConfig dev_config);
36 #ifdef KOKKOS_ENABLE_OPENMP
37 template void mainHost< Stokhos::StaticFixedStorage<int,double,1,Kokkos::OpenMP> >(
int nGrid,
int nIter, KokkosSparse::DeviceConfig dev_config);
void mainHost(const Teuchos::RCP< const Teuchos::Comm< int > > &comm, const int use_print, const int use_trials, const int use_nodes[], const bool check, Kokkos::Example::FENL::DeviceConfig dev_config)