Skip to content

Commit

Permalink
Fix incorrect function tested
Browse files Browse the repository at this point in the history
  • Loading branch information
Mikołaj Zuzek committed Jul 14, 2022
1 parent 979cffa commit e397f2b
Show file tree
Hide file tree
Showing 2 changed files with 20 additions and 18 deletions.
22 changes: 12 additions & 10 deletions unit_test/batched/dense/Test_Batched_TeamGemv_Complex.hpp
Original file line number Diff line number Diff line change
Expand Up @@ -5,39 +5,41 @@
TEST_F(TestCategory, batched_scalar_team_gemv_nt_dcomplex_dcomplex) {
typedef ::Test::TeamGemv::ParamTag<Trans::NoTranspose> param_tag_type;
typedef Algo::Gemv::Blocked algo_tag_type;
test_batched_gemv<TestExecSpace, Kokkos::complex<double>,
Kokkos::complex<double>, param_tag_type, algo_tag_type>();
test_batched_team_gemv<TestExecSpace, Kokkos::complex<double>,
Kokkos::complex<double>, param_tag_type,
algo_tag_type>();
}
TEST_F(TestCategory, batched_scalar_team_gemv_t_dcomplex_dcomplex) {
typedef ::Test::TeamGemv::ParamTag<Trans::Transpose> param_tag_type;
typedef Algo::Gemv::Blocked algo_tag_type;
test_batched_gemv<TestExecSpace, Kokkos::complex<double>,
Kokkos::complex<double>, param_tag_type, algo_tag_type>();
test_batched_team_gemv<TestExecSpace, Kokkos::complex<double>,
Kokkos::complex<double>, param_tag_type,
algo_tag_type>();
}
// TEST_F( TestCategory, batched_scalar_team_gemv_ct_dcomplex_dcomplex ) {
// typedef ::Test::TeamGemv::ParamTag<Trans::ConjTranspose> param_tag_type;
// typedef Algo::Gemv::Blocked algo_tag_type;
// test_batched_gemv<TestExecSpace,Kokkos::complex<double>,Kokkos::complex<double>,param_tag_type,algo_tag_type>();
// test_batched_team_gemv<TestExecSpace,Kokkos::complex<double>,Kokkos::complex<double>,param_tag_type,algo_tag_type>();
// }

/// dcomplex, double

TEST_F(TestCategory, batched_scalar_team_gemv_nt_dcomplex_double) {
typedef ::Test::TeamGemv::ParamTag<Trans::NoTranspose> param_tag_type;
typedef Algo::Gemv::Blocked algo_tag_type;
test_batched_gemv<TestExecSpace, Kokkos::complex<double>, double,
param_tag_type, algo_tag_type>();
test_batched_team_gemv<TestExecSpace, Kokkos::complex<double>, double,
param_tag_type, algo_tag_type>();
}
TEST_F(TestCategory, batched_scalar_team_gemv_t_dcomplex_double) {
typedef ::Test::TeamGemv::ParamTag<Trans::Transpose> param_tag_type;
typedef Algo::Gemv::Blocked algo_tag_type;
test_batched_gemv<TestExecSpace, Kokkos::complex<double>, double,
param_tag_type, algo_tag_type>();
test_batched_team_gemv<TestExecSpace, Kokkos::complex<double>, double,
param_tag_type, algo_tag_type>();
}
// TEST_F( TestCategory, batched_scalar_team_gemv_ct_dcomplex_double ) {
// typedef ::Test::TeamGemv::ParamTag<Trans::ConjTranspose> param_tag_type;
// typedef Algo::Gemv::Blocked algo_tag_type;
// test_batched_gemv<TestExecSpace,Kokkos::complex<double>,double,param_tag_type,algo_tag_type>();
// test_batched_team_gemv<TestExecSpace,Kokkos::complex<double>,double,param_tag_type,algo_tag_type>();
// }

#endif
16 changes: 8 additions & 8 deletions unit_test/batched/dense/Test_Batched_TeamGemv_Real.hpp
Original file line number Diff line number Diff line change
Expand Up @@ -3,28 +3,28 @@
TEST_F(TestCategory, batched_scalar_team_gemv_nt_float_float) {
typedef ::Test::TeamGemv::ParamTag<Trans::NoTranspose> param_tag_type;
typedef Algo::Gemv::Blocked algo_tag_type;
test_batched_gemv<TestExecSpace, float, float, param_tag_type,
algo_tag_type>();
test_batched_team_gemv<TestExecSpace, float, float, param_tag_type,
algo_tag_type>();
}
TEST_F(TestCategory, batched_scalar_team_gemv_t_float_float) {
typedef ::Test::TeamGemv::ParamTag<Trans::Transpose> param_tag_type;
typedef Algo::Gemv::Blocked algo_tag_type;
test_batched_gemv<TestExecSpace, float, float, param_tag_type,
algo_tag_type>();
test_batched_team_gemv<TestExecSpace, float, float, param_tag_type,
algo_tag_type>();
}
#endif

#if defined(KOKKOSKERNELS_INST_DOUBLE)
TEST_F(TestCategory, batched_scalar_team_gemv_nt_double_double) {
typedef ::Test::TeamGemv::ParamTag<Trans::NoTranspose> param_tag_type;
typedef Algo::Gemv::Blocked algo_tag_type;
test_batched_gemv<TestExecSpace, double, double, param_tag_type,
algo_tag_type>();
test_batched_team_gemv<TestExecSpace, double, double, param_tag_type,
algo_tag_type>();
}
TEST_F(TestCategory, batched_scalar_team_gemv_t_double_double) {
typedef ::Test::TeamGemv::ParamTag<Trans::Transpose> param_tag_type;
typedef Algo::Gemv::Blocked algo_tag_type;
test_batched_gemv<TestExecSpace, double, double, param_tag_type,
algo_tag_type>();
test_batched_team_gemv<TestExecSpace, double, double, param_tag_type,
algo_tag_type>();
}
#endif

0 comments on commit e397f2b

Please sign in to comment.