Skip to content

Commit

Permalink
clang-format-9
Browse files Browse the repository at this point in the history
  • Loading branch information
Rbiessy committed Aug 27, 2024
1 parent 5f8e183 commit 6a533df
Showing 1 changed file with 14 additions and 16 deletions.
30 changes: 14 additions & 16 deletions tests/unit_tests/sparse_blas/include/test_spmv.hpp
Original file line number Diff line number Diff line change
Expand Up @@ -153,34 +153,32 @@ void test_helper_with_format_with_transpose(
no_reset_data, no_scalars_on_device),
num_passed, num_skipped);
// Lower symmetric
oneapi::mkl::sparse::matrix_view symmetric_view(
oneapi::mkl::sparse::matrix_descr::symmetric);
oneapi::mkl::sparse::matrix_view symmetric_view(oneapi::mkl::sparse::matrix_descr::symmetric);
EXPECT_TRUE_OR_FUTURE_SKIP(
test_functor_i32(dev, format, nrows_A, ncols_A, density_A_matrix, index_zero,
transpose_val, fp_one, fp_zero, default_alg, symmetric_view,
no_properties, no_reset_data, no_scalars_on_device),
test_functor_i32(dev, format, nrows_A, ncols_A, density_A_matrix, index_zero, transpose_val,
fp_one, fp_zero, default_alg, symmetric_view, no_properties, no_reset_data,
no_scalars_on_device),
num_passed, num_skipped);
// Upper symmetric
symmetric_view.uplo_view = oneapi::mkl::uplo::upper;
EXPECT_TRUE_OR_FUTURE_SKIP(
test_functor_i32(dev, format, nrows_A, ncols_A, density_A_matrix, index_zero,
transpose_val, fp_one, fp_zero, default_alg, symmetric_view,
no_properties, no_reset_data, no_scalars_on_device),
test_functor_i32(dev, format, nrows_A, ncols_A, density_A_matrix, index_zero, transpose_val,
fp_one, fp_zero, default_alg, symmetric_view, no_properties, no_reset_data,
no_scalars_on_device),
num_passed, num_skipped);
// Lower hermitian
oneapi::mkl::sparse::matrix_view hermitian_view(
oneapi::mkl::sparse::matrix_descr::hermitian);
oneapi::mkl::sparse::matrix_view hermitian_view(oneapi::mkl::sparse::matrix_descr::hermitian);
EXPECT_TRUE_OR_FUTURE_SKIP(
test_functor_i32(dev, format, nrows_A, ncols_A, density_A_matrix, index_zero,
transpose_val, fp_one, fp_zero, default_alg, hermitian_view,
no_properties, no_reset_data, no_scalars_on_device),
test_functor_i32(dev, format, nrows_A, ncols_A, density_A_matrix, index_zero, transpose_val,
fp_one, fp_zero, default_alg, hermitian_view, no_properties, no_reset_data,
no_scalars_on_device),
num_passed, num_skipped);
// Upper hermitian
hermitian_view.uplo_view = oneapi::mkl::uplo::upper;
EXPECT_TRUE_OR_FUTURE_SKIP(
test_functor_i32(dev, format, nrows_A, ncols_A, density_A_matrix, index_zero,
transpose_val, fp_one, fp_zero, default_alg, hermitian_view,
no_properties, no_reset_data, no_scalars_on_device),
test_functor_i32(dev, format, nrows_A, ncols_A, density_A_matrix, index_zero, transpose_val,
fp_one, fp_zero, default_alg, hermitian_view, no_properties, no_reset_data,
no_scalars_on_device),
num_passed, num_skipped);
// Test other algorithms
for (auto alg : non_default_algorithms) {
Expand Down

0 comments on commit 6a533df

Please sign in to comment.