Debian Codegraph @

packages/kokkos-kernels/batched/dense/unit_test/Test_Batched_SerialPbtrf_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, test_batched_pbtrf_l_float) {
19 using algo_tag_type = typename Algo::Pbtrf::Unblocked;
20 using param_tag_type = ::Test::Pbtrf::ParamTag<Uplo::Lower>;
21
22 test_batched_pbtrf<TestDevice, float, param_tag_type, algo_tag_type>();
23 }
24 TEST_F(TestCategory, test_batched_pbtrf_u_float) {
25 using algo_tag_type = typename Algo::Pbtrf::Unblocked;
26 using param_tag_type = ::Test::Pbtrf::ParamTag<Uplo::Upper>;
27
28 test_batched_pbtrf<TestDevice, float, param_tag_type, algo_tag_type>();
29 }
30 #endif
31
32 #if defined(KOKKOSKERNELS_INST_DOUBLE)
33 TEST_F(TestCategory, test_batched_pbtrf_l_double) {
34 using algo_tag_type = typename Algo::Pbtrf::Unblocked;
35 using param_tag_type = ::Test::Pbtrf::ParamTag<Uplo::Lower>;
36
37 test_batched_pbtrf<TestDevice, double, param_tag_type, algo_tag_type>();
38 }
39 TEST_F(TestCategory, test_batched_pbtrf_u_double) {
40 using algo_tag_type = typename Algo::Pbtrf::Unblocked;
41 using param_tag_type = ::Test::Pbtrf::ParamTag<Uplo::Upper>;
42
43 test_batched_pbtrf<TestDevice, double, param_tag_type, algo_tag_type>();
44 }
45 #endif