Skip to content

Commit

Permalink
fix code QR
Browse files Browse the repository at this point in the history
Signed-off-by: Yuuichi Asahi <[email protected]>
  • Loading branch information
Yuuichi Asahi committed Dec 6, 2024
1 parent 392745c commit f4296cd
Show file tree
Hide file tree
Showing 2 changed files with 12 additions and 14 deletions.
2 changes: 0 additions & 2 deletions batched/dense/unit_test/Test_Batched_SerialTrsv.hpp
Original file line number Diff line number Diff line change
Expand Up @@ -194,7 +194,6 @@ void impl_test_batched_trsv_analytical(const std::size_t N) {
using View2DType = Kokkos::View<ScalarType **, LayoutType, DeviceType>;
using StridedView2DType = Kokkos::View<ScalarType **, Kokkos::LayoutStride, DeviceType>;
using View3DType = Kokkos::View<ScalarType ***, LayoutType, DeviceType>;
using PivView2DType = Kokkos::View<int **, LayoutType, DeviceType>;

constexpr std::size_t BlkSize = 3, incx = 2;
View3DType A("A", N, BlkSize, BlkSize);
Expand Down Expand Up @@ -301,7 +300,6 @@ void impl_test_batched_trsv(const std::size_t N, const std::size_t BlkSize) {
using View2DType = Kokkos::View<ScalarType **, LayoutType, DeviceType>;
using StridedView2DType = Kokkos::View<ScalarType **, Kokkos::LayoutStride, DeviceType>;
using View3DType = Kokkos::View<ScalarType ***, LayoutType, DeviceType>;
using PivView2DType = Kokkos::View<int **, LayoutType, DeviceType>;

constexpr std::size_t incx = 2;
View3DType A("A", N, BlkSize, BlkSize), AT("AT", N, BlkSize, BlkSize);
Expand Down
24 changes: 12 additions & 12 deletions batched/dense/unit_test/Test_Batched_SerialTrsv_Complex.hpp
Original file line number Diff line number Diff line change
Expand Up @@ -80,63 +80,63 @@ TEST_F(TestCategory, batched_scalar_serial_trsv_u_c_n_fcomplex_fcomplex) {

#if defined(KOKKOSKERNELS_INST_COMPLEX_DOUBLE)
TEST_F(TestCategory, batched_scalar_serial_trsv_l_nt_u_dcomplex_dcomplex) {
using param_tag_type = ::Test::Trsv::ParamTag<Uplo::Lower, Trans::NoTranspose, Diag::Unit> param_tag_type;
using param_tag_type = ::Test::Trsv::ParamTag<Uplo::Lower, Trans::NoTranspose, Diag::Unit>;
using algo_tag_type = Algo::Trsv::Unblocked;
test_batched_trsv<TestDevice, Kokkos::complex<double>, Kokkos::complex<double>, param_tag_type, algo_tag_type>();
}
TEST_F(TestCategory, batched_scalar_serial_trsv_l_nt_n_dcomplex_dcomplex) {
using param_tag_type = ::Test::Trsv::ParamTag<Uplo::Lower, Trans::NoTranspose, Diag::NonUnit> param_tag_type;
using param_tag_type = ::Test::Trsv::ParamTag<Uplo::Lower, Trans::NoTranspose, Diag::NonUnit>;
using algo_tag_type = Algo::Trsv::Unblocked;
test_batched_trsv<TestDevice, Kokkos::complex<double>, Kokkos::complex<double>, param_tag_type, algo_tag_type>();
}
TEST_F(TestCategory, batched_scalar_serial_trsv_l_t_u_dcomplex_dcomplex) {
using param_tag_type = ::Test::Trsv::ParamTag<Uplo::Lower, Trans::Transpose, Diag::Unit> param_tag_type;
using param_tag_type = ::Test::Trsv::ParamTag<Uplo::Lower, Trans::Transpose, Diag::Unit>;
using algo_tag_type = Algo::Trsv::Unblocked;
test_batched_trsv<TestDevice, Kokkos::complex<double>, Kokkos::complex<double>, param_tag_type, algo_tag_type>();
}
TEST_F(TestCategory, batched_scalar_serial_trsv_l_t_n_dcomplex_dcomplex) {
using param_tag_type = ::Test::Trsv::ParamTag<Uplo::Lower, Trans::Transpose, Diag::NonUnit> param_tag_type;
using param_tag_type = ::Test::Trsv::ParamTag<Uplo::Lower, Trans::Transpose, Diag::NonUnit>;
using algo_tag_type = Algo::Trsv::Unblocked;
test_batched_trsv<TestDevice, Kokkos::complex<double>, Kokkos::complex<double>, param_tag_type, algo_tag_type>();
}
TEST_F(TestCategory, batched_scalar_serial_trsv_l_c_u_dcomplex_dcomplex) {
using param_tag_type = ::Test::Trsv::ParamTag<Uplo::Lower, Trans::ConjTranspose, Diag::Unit> param_tag_type;
using param_tag_type = ::Test::Trsv::ParamTag<Uplo::Lower, Trans::ConjTranspose, Diag::Unit>;
using algo_tag_type = Algo::Trsv::Unblocked;
test_batched_trsv<TestDevice, Kokkos::complex<double>, Kokkos::complex<double>, param_tag_type, algo_tag_type>();
}
TEST_F(TestCategory, batched_scalar_serial_trsv_l_c_n_dcomplex_dcomplex) {
using param_tag_type = ::Test::Trsv::ParamTag<Uplo::Lower, Trans::ConjTranspose, Diag::NonUnit> param_tag_type;
using param_tag_type = ::Test::Trsv::ParamTag<Uplo::Lower, Trans::ConjTranspose, Diag::NonUnit>;
using algo_tag_type = Algo::Trsv::Unblocked;
test_batched_trsv<TestDevice, Kokkos::complex<double>, Kokkos::complex<double>, param_tag_type, algo_tag_type>();
}

TEST_F(TestCategory, batched_scalar_serial_trsv_u_nt_u_dcomplex_dcomplex) {
using param_tag_type = ::Test::Trsv::ParamTag<Uplo::Upper, Trans::NoTranspose, Diag::Unit> param_tag_type;
using param_tag_type = ::Test::Trsv::ParamTag<Uplo::Upper, Trans::NoTranspose, Diag::Unit>;
using algo_tag_type = Algo::Trsv::Unblocked;
test_batched_trsv<TestDevice, Kokkos::complex<double>, Kokkos::complex<double>, param_tag_type, algo_tag_type>();
}
TEST_F(TestCategory, batched_scalar_serial_trsv_u_nt_n_dcomplex_dcomplex) {
using param_tag_type = ::Test::Trsv::ParamTag<Uplo::Upper, Trans::NoTranspose, Diag::NonUnit> param_tag_type;
using param_tag_type = ::Test::Trsv::ParamTag<Uplo::Upper, Trans::NoTranspose, Diag::NonUnit>;
using algo_tag_type = Algo::Trsv::Unblocked;
test_batched_trsv<TestDevice, Kokkos::complex<double>, Kokkos::complex<double>, param_tag_type, algo_tag_type>();
}
TEST_F(TestCategory, batched_scalar_serial_trsv_u_t_u_dcomplex_dcomplex) {
using param_tag_type = ::Test::Trsv::ParamTag<Uplo::Upper, Trans::Transpose, Diag::Unit> param_tag_type;
using param_tag_type = ::Test::Trsv::ParamTag<Uplo::Upper, Trans::Transpose, Diag::Unit>;
using algo_tag_type = Algo::Trsv::Unblocked;
test_batched_trsv<TestDevice, Kokkos::complex<double>, Kokkos::complex<double>, param_tag_type, algo_tag_type>();
}
TEST_F(TestCategory, batched_scalar_serial_trsv_u_t_n_dcomplex_dcomplex) {
using param_tag_type = ::Test::Trsv::ParamTag<Uplo::Upper, Trans::Transpose, Diag::NonUnit> param_tag_type;
using param_tag_type = ::Test::Trsv::ParamTag<Uplo::Upper, Trans::Transpose, Diag::NonUnit>;
using algo_tag_type = Algo::Trsv::Unblocked;
test_batched_trsv<TestDevice, Kokkos::complex<double>, Kokkos::complex<double>, param_tag_type, algo_tag_type>();
}
TEST_F(TestCategory, batched_scalar_serial_trsv_u_c_u_dcomplex_dcomplex) {
using param_tag_type = ::Test::Trsv::ParamTag<Uplo::Upper, Trans::ConjTranspose, Diag::Unit> param_tag_type;
using param_tag_type = ::Test::Trsv::ParamTag<Uplo::Upper, Trans::ConjTranspose, Diag::Unit>;
using algo_tag_type = Algo::Trsv::Unblocked;
test_batched_trsv<TestDevice, Kokkos::complex<double>, Kokkos::complex<double>, param_tag_type, algo_tag_type>();
}
TEST_F(TestCategory, batched_scalar_serial_trsv_u_c_n_dcomplex_dcomplex) {
using param_tag_type = ::Test::Trsv::ParamTag<Uplo::Upper, Trans::ConjTranspose, Diag::NonUnit> param_tag_type;
using param_tag_type = ::Test::Trsv::ParamTag<Uplo::Upper, Trans::ConjTranspose, Diag::NonUnit>;
using algo_tag_type = Algo::Trsv::Unblocked;
test_batched_trsv<TestDevice, Kokkos::complex<double>, Kokkos::complex<double>, param_tag_type, algo_tag_type>();
}
Expand Down

0 comments on commit f4296cd

Please sign in to comment.