Debian Codegraph @

packages/kokkos-kernels/batched/dense/unit_test/Test_Batched_SerialTrsv_Real.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_FLOAT)
18 TEST_F(TestCategory, batched_scalar_serial_trsv_l_nt_u_float_float) {
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, float, float, param_tag_type, algo_tag_type>();
22 }
23 TEST_F(TestCategory, batched_scalar_serial_trsv_l_nt_n_float_float) {
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, float, float, param_tag_type, algo_tag_type>();
27 }
28 TEST_F(TestCategory, batched_scalar_serial_trsv_u_nt_u_float_float) {
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, float, float, param_tag_type, algo_tag_type>();
32 }
33 TEST_F(TestCategory, batched_scalar_serial_trsv_u_nt_n_float_float) {
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, float, float, param_tag_type, algo_tag_type>();
37 }
38 #endif
39
40 #if defined(KOKKOSKERNELS_INST_DOUBLE)
41 TEST_F(TestCategory, batched_scalar_serial_trsv_l_nt_u_double_double) {
42 typedef ::Test::Trsv::ParamTag<Uplo::Lower, Trans::NoTranspose, Diag::Unit> param_tag_type;
43 typedef Algo::Trsv::Blocked algo_tag_type;
44 test_batched_trsv<TestDevice, double, double, param_tag_type, algo_tag_type>();
45 }
46 TEST_F(TestCategory, batched_scalar_serial_trsv_l_nt_n_double_double) {
47 typedef ::Test::Trsv::ParamTag<Uplo::Lower, Trans::NoTranspose, Diag::NonUnit> param_tag_type;
48 typedef Algo::Trsv::Blocked algo_tag_type;
49 test_batched_trsv<TestDevice, double, double, param_tag_type, algo_tag_type>();
50 }
51 TEST_F(TestCategory, batched_scalar_serial_trsv_u_nt_u_double_double) {
52 typedef ::Test::Trsv::ParamTag<Uplo::Upper, Trans::NoTranspose, Diag::Unit> param_tag_type;
53 typedef Algo::Trsv::Blocked algo_tag_type;
54 test_batched_trsv<TestDevice, double, double, param_tag_type, algo_tag_type>();
55 }
56 TEST_F(TestCategory, batched_scalar_serial_trsv_u_nt_n_double_double) {
57 typedef ::Test::Trsv::ParamTag<Uplo::Upper, Trans::NoTranspose, Diag::NonUnit> param_tag_type;
58 typedef Algo::Trsv::Blocked algo_tag_type;
59 test_batched_trsv<TestDevice, double, double, param_tag_type, algo_tag_type>();
60 }
61 #endif