Debian Codegraph @

packages/kokkos-kernels/batched/dense/unit_test/Test_Batched_SerialTrsv_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_DOUBLE)
18 TEST_F(TestCategory, batched_scalar_serial_trsv_l_nt_u_dcomplex_dcomplex) {
19 typedef ::Test::Trsv::ParamTag<Uplo::Lower, Trans::NoTranspose, Diag::Unit> param_tag_type;
20 typedef Algo::Trsv::Blocked algo_tag_type;
21 test_batched_trsv<TestDevice, Kokkos::complex<double>, Kokkos::complex<double>, param_tag_type, algo_tag_type>();
22 }
23 TEST_F(TestCategory, batched_scalar_serial_trsv_l_nt_n_dcomplex_dcomplex) {
24 typedef ::Test::Trsv::ParamTag<Uplo::Lower, Trans::NoTranspose, Diag::NonUnit> param_tag_type;
25 typedef Algo::Trsv::Blocked algo_tag_type;
26 test_batched_trsv<TestDevice, Kokkos::complex<double>, Kokkos::complex<double>, param_tag_type, algo_tag_type>();
27 }
28 TEST_F(TestCategory, batched_scalar_serial_trsv_u_nt_u_dcomplex_dcomplex) {
29 typedef ::Test::Trsv::ParamTag<Uplo::Upper, Trans::NoTranspose, Diag::Unit> param_tag_type;
30 typedef Algo::Trsv::Blocked algo_tag_type;
31 test_batched_trsv<TestDevice, Kokkos::complex<double>, Kokkos::complex<double>, param_tag_type, algo_tag_type>();
32 }
33 TEST_F(TestCategory, batched_scalar_serial_trsv_u_nt_n_dcomplex_dcomplex) {
34 typedef ::Test::Trsv::ParamTag<Uplo::Upper, Trans::NoTranspose, Diag::NonUnit> param_tag_type;
35 typedef Algo::Trsv::Blocked algo_tag_type;
36 test_batched_trsv<TestDevice, Kokkos::complex<double>, Kokkos::complex<double>, param_tag_type, algo_tag_type>();
37 }
38
39 TEST_F(TestCategory, batched_scalar_serial_trsv_l_nt_u_dcomplex_double) {
40 typedef ::Test::Trsv::ParamTag<Uplo::Lower, Trans::NoTranspose, Diag::Unit> param_tag_type;
41 typedef Algo::Trsv::Blocked algo_tag_type;
42 test_batched_trsv<TestDevice, Kokkos::complex<double>, double, param_tag_type, algo_tag_type>();
43 }
44 TEST_F(TestCategory, batched_scalar_serial_trsv_l_nt_n_dcomplex_double) {
45 typedef ::Test::Trsv::ParamTag<Uplo::Lower, Trans::NoTranspose, Diag::NonUnit> param_tag_type;
46 typedef Algo::Trsv::Blocked algo_tag_type;
47 test_batched_trsv<TestDevice, Kokkos::complex<double>, double, param_tag_type, algo_tag_type>();
48 }
49 TEST_F(TestCategory, batched_scalar_serial_trsv_u_nt_u_dcomplex_double) {
50 typedef ::Test::Trsv::ParamTag<Uplo::Upper, Trans::NoTranspose, Diag::Unit> param_tag_type;
51 typedef Algo::Trsv::Blocked algo_tag_type;
52 test_batched_trsv<TestDevice, Kokkos::complex<double>, double, param_tag_type, algo_tag_type>();
53 }
54 TEST_F(TestCategory, batched_scalar_serial_trsv_u_nt_n_dcomplex_double) {
55 typedef ::Test::Trsv::ParamTag<Uplo::Upper, Trans::NoTranspose, Diag::NonUnit> param_tag_type;
56 typedef Algo::Trsv::Blocked algo_tag_type;
57 test_batched_trsv<TestDevice, Kokkos::complex<double>, double, param_tag_type, algo_tag_type>();
58 }
59 #endif