44 success = test_crs_matrix_free<Scalar,Device,SparseMatOps>(
setup, out);
49 success = test_crs_matrix_free_view<Scalar,Device,SparseMatOps>(
setup, out);
52 #ifdef HAVE_STOKHOS_KOKKOSLINALG
54 success = test_crs_matrix_free_kokkos<Scalar,Device>(
setup, out);
62 success = test_crs_matrix_free<Scalar,Device,SparseMatOps>(
setup, out);
66 success = test_crs_dense_block<Scalar,Device>(
setup, out);
70 success = test_crs_flat_commuted<Scalar,Device>(
setup, out);
74 success = test_crs_flat_original<Scalar,Device>(
setup, out);
79 success = test_crs_product_tensor<Scalar,Tensor,Device>(
setup, out);
85 params.
set(
"Tile Size", 10);
86 params.
set(
"Max Tiles", 10000);
87 success = test_crs_product_tensor<Scalar,Tensor,Device>(
setup, out, params);
93 params.
set(
"Tile Size", 10);
94 success = test_crs_product_tensor<Scalar,Tensor,Device>(
setup, out, params);
99 success = test_crs_product_tensor<Scalar,Tensor,Device>(
setup, out);
104 success = test_crs_product_tensor<Scalar,Tensor,Device>(
setup, out);
109 success = test_crs_product_tensor<Scalar,Tensor,Device>(
setup, out);
114 success = test_crs_product_tensor<Scalar,Tensor,Device>(
setup, out);
118 const bool symmetric =
true;
121 success = test_linear_tensor<Scalar,Device,4>(s, out, symmetric);
125 const bool symmetric =
false;
128 success = test_linear_tensor<Scalar,Device,4>(s, out, symmetric);
132 success = test_lexo_block_tensor<Scalar,Device>(
setup, out);
140 #define UNIT_TEST_GROUP_SCALAR_DEVICE( SCALAR, DEVICE ) \
141 TEUCHOS_UNIT_TEST_TEMPLATE_2_INSTANT( Kokkos_SG_SpMv, CrsMatrixFree, SCALAR, DEVICE ) \
142 TEUCHOS_UNIT_TEST_TEMPLATE_2_INSTANT( Kokkos_SG_SpMv, CrsMatrixFreeView, SCALAR, DEVICE ) \
143 TEUCHOS_UNIT_TEST_TEMPLATE_2_INSTANT( Kokkos_SG_SpMv, CrsMatrixFreeKokkos, SCALAR, DEVICE ) \
144 TEUCHOS_UNIT_TEST_TEMPLATE_2_INSTANT( Kokkos_SG_SpMv, CrsMatrixFreeSingleCol, SCALAR, DEVICE ) \
145 TEUCHOS_UNIT_TEST_TEMPLATE_2_INSTANT( Kokkos_SG_SpMv, CrsDenseBlock, SCALAR, DEVICE ) \
146 TEUCHOS_UNIT_TEST_TEMPLATE_2_INSTANT( Kokkos_SG_SpMv, CrsFlatCommuted, SCALAR, DEVICE ) \
147 TEUCHOS_UNIT_TEST_TEMPLATE_2_INSTANT( Kokkos_SG_SpMv, CrsFlatOriginal, SCALAR, DEVICE ) \
148 TEUCHOS_UNIT_TEST_TEMPLATE_2_INSTANT( Kokkos_SG_SpMv, CrsProductTensor, SCALAR, DEVICE ) \
149 TEUCHOS_UNIT_TEST_TEMPLATE_2_INSTANT( Kokkos_SG_SpMv, TiledCrsProductTensor, SCALAR, DEVICE ) \
150 TEUCHOS_UNIT_TEST_TEMPLATE_2_INSTANT( Kokkos_SG_SpMv, SimpleTiledCrsProductTensor, SCALAR, DEVICE ) \
153 TEUCHOS_UNIT_TEST_TEMPLATE_2_INSTANT( Kokkos_SG_SpMv, FlatSparse3Tensor, SCALAR, DEVICE ) \
154 TEUCHOS_UNIT_TEST_TEMPLATE_2_INSTANT( Kokkos_SG_SpMv, FlatSparse3Tensor_kji, SCALAR, DEVICE ) \
157 TEUCHOS_UNIT_TEST_TEMPLATE_2_INSTANT( Kokkos_SG_SpMv, LexoBlockTensor, SCALAR, DEVICE )
ParameterList & set(std::string const &name, T const &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.