Debian Codegraph @

packages/kokkos-kernels/batched/dense/unit_test/Test_Batched_SerialPttrs_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
17 #if defined(KOKKOSKERNELS_INST_COMPLEX_FLOAT)
18 TEST_F(TestCategory, test_batched_pttrs_l_fcomplex) {
19 using algo_tag_type = typename Algo::Pttrs::Unblocked;
20 using param_tag_type = ::Test::Pttrs::ParamTag<Uplo::Lower>;
21
22 test_batched_pttrs<TestDevice, Kokkos::complex<float>, param_tag_type, algo_tag_type>();
23 }
24 TEST_F(TestCategory, test_batched_pttrs_u_fcomplex) {
25 using algo_tag_type = typename Algo::Pttrs::Unblocked;
26 using param_tag_type = ::Test::Pttrs::ParamTag<Uplo::Upper>;
27 test_batched_pttrs<TestDevice, Kokkos::complex<float>, param_tag_type, algo_tag_type>();
28 }
29 #endif
30
31 #if defined(KOKKOSKERNELS_INST_COMPLEX_DOUBLE)
32 TEST_F(TestCategory, test_batched_pttrs_l_dcomplex) {
33 using algo_tag_type = typename Algo::Pttrs::Unblocked;
34 using param_tag_type = ::Test::Pttrs::ParamTag<Uplo::Lower>;
35
36 test_batched_pttrs<TestDevice, Kokkos::complex<double>, param_tag_type, algo_tag_type>();
37 }
38 TEST_F(TestCategory, test_batched_pttrs_u_dcomplex) {
39 using algo_tag_type = typename Algo::Pttrs::Unblocked;
40 using param_tag_type = ::Test::Pttrs::ParamTag<Uplo::Upper>;
41 test_batched_pttrs<TestDevice, Kokkos::complex<double>, param_tag_type, algo_tag_type>();
42 }
43 #endif