12 success = test_crs_matrix_free<Scalar,Device,SparseMatOps>(
setup, out);
17 success = test_crs_matrix_free_view<Scalar,Device,SparseMatOps>(
setup, out);
20 #ifdef HAVE_STOKHOS_KOKKOSLINALG
22 success = test_crs_matrix_free_kokkos<Scalar,Device>(
setup, out);
30 success = test_crs_matrix_free<Scalar,Device,SparseMatOps>(
setup, out);
34 success = test_crs_dense_block<Scalar,Device>(
setup, out);
38 success = test_crs_flat_commuted<Scalar,Device>(
setup, out);
42 success = test_crs_flat_original<Scalar,Device>(
setup, out);
47 success = test_crs_product_tensor<Scalar,Tensor,Device>(
setup, out);
53 params.
set(
"Tile Size", 10);
54 params.
set(
"Max Tiles", 10000);
55 success = test_crs_product_tensor<Scalar,Tensor,Device>(
setup, out, params);
61 params.
set(
"Tile Size", 10);
62 success = test_crs_product_tensor<Scalar,Tensor,Device>(
setup, out, params);
67 success = test_crs_product_tensor<Scalar,Tensor,Device>(
setup, out);
72 success = test_crs_product_tensor<Scalar,Tensor,Device>(
setup, out);
77 success = test_crs_product_tensor<Scalar,Tensor,Device>(
setup, out);
82 success = test_crs_product_tensor<Scalar,Tensor,Device>(
setup, out);
86 const bool symmetric =
true;
89 success = test_linear_tensor<Scalar,Device,4>(s, out, symmetric);
93 const bool symmetric =
false;
96 success = test_linear_tensor<Scalar,Device,4>(s, out, symmetric);
100 success = test_lexo_block_tensor<Scalar,Device>(
setup, out);
108 #define UNIT_TEST_GROUP_SCALAR_DEVICE( SCALAR, DEVICE ) \
109 TEUCHOS_UNIT_TEST_TEMPLATE_2_INSTANT( Kokkos_SG_SpMv, CrsMatrixFree, SCALAR, DEVICE ) \
110 TEUCHOS_UNIT_TEST_TEMPLATE_2_INSTANT( Kokkos_SG_SpMv, CrsMatrixFreeView, SCALAR, DEVICE ) \
111 TEUCHOS_UNIT_TEST_TEMPLATE_2_INSTANT( Kokkos_SG_SpMv, CrsMatrixFreeKokkos, SCALAR, DEVICE ) \
112 TEUCHOS_UNIT_TEST_TEMPLATE_2_INSTANT( Kokkos_SG_SpMv, CrsMatrixFreeSingleCol, SCALAR, DEVICE ) \
113 TEUCHOS_UNIT_TEST_TEMPLATE_2_INSTANT( Kokkos_SG_SpMv, CrsDenseBlock, SCALAR, DEVICE ) \
114 TEUCHOS_UNIT_TEST_TEMPLATE_2_INSTANT( Kokkos_SG_SpMv, CrsFlatCommuted, SCALAR, DEVICE ) \
115 TEUCHOS_UNIT_TEST_TEMPLATE_2_INSTANT( Kokkos_SG_SpMv, CrsFlatOriginal, SCALAR, DEVICE ) \
116 TEUCHOS_UNIT_TEST_TEMPLATE_2_INSTANT( Kokkos_SG_SpMv, CrsProductTensor, SCALAR, DEVICE ) \
117 TEUCHOS_UNIT_TEST_TEMPLATE_2_INSTANT( Kokkos_SG_SpMv, TiledCrsProductTensor, SCALAR, DEVICE ) \
118 TEUCHOS_UNIT_TEST_TEMPLATE_2_INSTANT( Kokkos_SG_SpMv, SimpleTiledCrsProductTensor, SCALAR, DEVICE ) \
121 TEUCHOS_UNIT_TEST_TEMPLATE_2_INSTANT( Kokkos_SG_SpMv, FlatSparse3Tensor, SCALAR, DEVICE ) \
122 TEUCHOS_UNIT_TEST_TEMPLATE_2_INSTANT( Kokkos_SG_SpMv, FlatSparse3Tensor_kji, SCALAR, DEVICE ) \
125 TEUCHOS_UNIT_TEST_TEMPLATE_2_INSTANT( Kokkos_SG_SpMv, LexoBlockTensor, SCALAR, DEVICE )
ParameterList & set(std::string const &name, T &&value, std::string const &docString="", RCP< const ParameterEntryValidator > const &validator=null)
Sparse product tensor with replicated entries to provide subsets with a given coordinate.
Sparse product tensor with replicated entries to provide subsets with a given coordinate.
TEUCHOS_UNIT_TEST_TEMPLATE_2_DECL(Kokkos_SG_SpMv, CrsProductTensorCijk, Scalar, Device)
UnitTestSetup< int, double > setup
Sparse product tensor with replicated entries to provide subsets with a given coordinate.
Sparse product tensor using 'COO'-like storage format.