Debian Codegraph @

packages/kokkos-kernels/batched/dense/unit_test/Test_Batched_TeamVectorGemm_Complex.hpp

raw
1 //@HEADER
2 // ************************************************************************
3 //
4 // Kokkos v. 4.0
5 // Copyright (2022) National Technology & Engineering
6 // Solutions of Sandia, LLC (NTESS).
7 //
8 // Under the terms of Contract DE-NA0003525 with NTESS,
9 // the U.S. Government retains certain rights in this software.
10 //
11 // Part of Kokkos, under the Apache License v2.0 with LLVM Exceptions.
12 // See https://kokkos.org/LICENSE for license information.
13 // SPDX-License-Identifier: Apache-2.0 WITH LLVM-exception
14 //
15 //@HEADER
16 #if defined(KOKKOSKERNELS_INST_COMPLEX_FLOAT)
17 TEST_F(TestCategory, batched_scalar_team_vector_gemm_nt_nt_scomplex_scomplex) {
18 typedef ::Test::TeamVectorGemm::ParamTag<Trans::NoTranspose, Trans::NoTranspose> param_tag_type;
19
20 // test_batched_teamvectorgemm<TestDevice,Kokkos::complex<float>,Kokkos::complex<float>,param_tag_type,Algo::Gemm::Blocked>();
21 test_batched_teamvectorgemm<TestDevice, Kokkos::complex<float>, Kokkos::complex<float>, param_tag_type,
22 Algo::Gemm::Unblocked>();
23 }
24 TEST_F(TestCategory, batched_scalar_team_vector_gemm_t_nt_scomplex_scomplex) {
25 typedef ::Test::TeamVectorGemm::ParamTag<Trans::Transpose, Trans::NoTranspose> param_tag_type;
26
27 // test_batched_teamvectorgemm<TestDevice,Kokkos::complex<float>,Kokkos::complex<float>,param_tag_type,Algo::Gemm::Blocked>();
28 test_batched_teamvectorgemm<TestDevice, Kokkos::complex<float>, Kokkos::complex<float>, param_tag_type,
29 Algo::Gemm::Unblocked>();
30 }
31 TEST_F(TestCategory, batched_scalar_team_vector_gemm_nt_t_scomplex_scomplex) {
32 typedef ::Test::TeamVectorGemm::ParamTag<Trans::NoTranspose, Trans::Transpose> param_tag_type;
33
34 // test_batched_teamvectorgemm<TestDevice,Kokkos::complex<float>,Kokkos::complex<float>,param_tag_type,Algo::Gemm::Blocked>();
35 test_batched_teamvectorgemm<TestDevice, Kokkos::complex<float>, Kokkos::complex<float>, param_tag_type,
36 Algo::Gemm::Unblocked>();
37 }
38 TEST_F(TestCategory, batched_scalar_team_vector_gemm_t_t_scomplex_scomplex) {
39 typedef ::Test::TeamVectorGemm::ParamTag<Trans::Transpose, Trans::Transpose> param_tag_type;
40
41 // test_batched_teamvectorgemm<TestDevice,Kokkos::complex<float>,Kokkos::complex<float>,param_tag_type,Algo::Gemm::Blocked>();
42 test_batched_teamvectorgemm<TestDevice, Kokkos::complex<float>, Kokkos::complex<float>, param_tag_type,
43 Algo::Gemm::Unblocked>();
44 }
45 #endif
46
47 #if defined(KOKKOSKERNELS_INST_COMPLEX_DOUBLE)
48 TEST_F(TestCategory, batched_scalar_team_vector_gemm_nt_nt_dcomplex_dcomplex) {
49 typedef ::Test::TeamVectorGemm::ParamTag<Trans::NoTranspose, Trans::NoTranspose> param_tag_type;
50
51 // test_batched_teamvectorgemm<TestDevice,Kokkos::complex<double>,Kokkos::complex<double>,param_tag_type,Algo::Gemm::Blocked>();
52 test_batched_teamvectorgemm<TestDevice, Kokkos::complex<double>, Kokkos::complex<double>, param_tag_type,
53 Algo::Gemm::Unblocked>();
54 }
55 TEST_F(TestCategory, batched_scalar_team_vector_gemm_t_nt_dcomplex_dcomplex) {
56 typedef ::Test::TeamVectorGemm::ParamTag<Trans::Transpose, Trans::NoTranspose> param_tag_type;
57
58 // test_batched_teamvectorgemm<TestDevice,Kokkos::complex<double>,Kokkos::complex<double>,param_tag_type,Algo::Gemm::Blocked>();
59 test_batched_teamvectorgemm<TestDevice, Kokkos::complex<double>, Kokkos::complex<double>, param_tag_type,
60 Algo::Gemm::Unblocked>();
61 }
62 TEST_F(TestCategory, batched_scalar_team_vector_gemm_nt_t_dcomplex_dcomplex) {
63 typedef ::Test::TeamVectorGemm::ParamTag<Trans::NoTranspose, Trans::Transpose> param_tag_type;
64
65 // test_batched_teamvectorgemm<TestDevice,Kokkos::complex<double>,Kokkos::complex<double>,param_tag_type,Algo::Gemm::Blocked>();
66 test_batched_teamvectorgemm<TestDevice, Kokkos::complex<double>, Kokkos::complex<double>, param_tag_type,
67 Algo::Gemm::Unblocked>();
68 }
69 TEST_F(TestCategory, batched_scalar_team_vector_gemm_t_t_dcomplex_dcomplex) {
70 typedef ::Test::TeamVectorGemm::ParamTag<Trans::Transpose, Trans::Transpose> param_tag_type;
71
72 // test_batched_teamvectorgemm<TestDevice,Kokkos::complex<double>,Kokkos::complex<double>,param_tag_type,Algo::Gemm::Blocked>();
73 test_batched_teamvectorgemm<TestDevice, Kokkos::complex<double>, Kokkos::complex<double>, param_tag_type,
74 Algo::Gemm::Unblocked>();
75 }
76 #endif