35 #include "Kokkos_Core.hpp" 
   51 using namespace KokkosKernelsUnitTest;
 
   64 #ifdef KOKKOS_ENABLE_OPENMP 
   65 #define TILED_CRS_TEST(SCALAR, DEVICE) 
   67 #define TILED_CRS_TEST(SCALAR, DEVICE)                                         \ 
   68 TEUCHOS_UNIT_TEST_TEMPLATE_2_INSTANT( Kokkos_SG_SpMv, TiledCrsProductTensor, SCALAR, DEVICE ) 
   71 #define UNIT_TEST_GROUP_SCALAR_CUDA( SCALAR ) \ 
   72   TEUCHOS_UNIT_TEST_TEMPLATE_2_INSTANT( Kokkos_SG_SpMv, CrsMatrixFree, SCALAR, Cuda ) \ 
   73   TEUCHOS_UNIT_TEST_TEMPLATE_2_INSTANT( Kokkos_SG_SpMv, CrsMatrixFreeView, SCALAR, Cuda ) \ 
   74   TEUCHOS_UNIT_TEST_TEMPLATE_2_INSTANT( Kokkos_SG_SpMv, CrsMatrixFreeKokkos, SCALAR, Cuda ) \ 
   75   TEUCHOS_UNIT_TEST_TEMPLATE_2_INSTANT( Kokkos_SG_SpMv, CrsMatrixFreeSingleCol, SCALAR, Cuda ) \ 
   76   TEUCHOS_UNIT_TEST_TEMPLATE_2_INSTANT( Kokkos_SG_SpMv, CrsDenseBlock, SCALAR, Cuda ) \ 
   77   TEUCHOS_UNIT_TEST_TEMPLATE_2_INSTANT( Kokkos_SG_SpMv, CrsFlatCommuted, SCALAR, Cuda ) \ 
   78   TEUCHOS_UNIT_TEST_TEMPLATE_2_INSTANT( Kokkos_SG_SpMv, CrsFlatOriginal, SCALAR, Cuda ) \ 
   79   TEUCHOS_UNIT_TEST_TEMPLATE_2_INSTANT( Kokkos_SG_SpMv, CrsProductTensor, SCALAR, Cuda ) \ 
   80   TILED_CRS_TEST(SCALAR, Cuda )                                         \ 
   81   TEUCHOS_UNIT_TEST_TEMPLATE_2_INSTANT( Kokkos_SG_SpMv, CooProductTensorPacked, SCALAR, Cuda ) \ 
   82   TEUCHOS_UNIT_TEST_TEMPLATE_2_INSTANT( Kokkos_SG_SpMv, CooProductTensorUnpacked, SCALAR, Cuda ) \ 
   83   TEUCHOS_UNIT_TEST_TEMPLATE_2_INSTANT( Kokkos_SG_SpMv, LinearTensorSymmetric, SCALAR, Cuda ) \ 
   84   TEUCHOS_UNIT_TEST_TEMPLATE_2_INSTANT( Kokkos_SG_SpMv, LinearTensorAsymmetric, SCALAR, Cuda ) 
   95   Kokkos::InitArguments init_args;
 
   96   init_args.device_id = 0;
 
   97   Kokkos::initialize( init_args );
 
   98   Kokkos::print_configuration( std::cout );
 
#define UNIT_TEST_GROUP_SCALAR_CUDA(SCALAR)
 
static int runUnitTestsFromMain(int argc, char *argv[])
 
UnitTestSetup< int, double > setup
 
int main(int argc, char **argv)