| 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_trsm_l_l_nt_u_float_float) { |
| 19 |
typedef ::Test::Trmm::ParamTag<Side::Left, Uplo::Lower, Trans::NoTranspose, Diag::Unit> param_tag_type; |
| 20 |
typedef Algo::Trsm::Blocked algo_tag_type; |
| 21 |
test_batched_trsm<TestDevice, float, float, param_tag_type, algo_tag_type>(); |
| 22 |
} |
| 23 |
TEST_F(TestCategory, batched_scalar_serial_trsm_l_l_nt_n_float_float) { |
| 24 |
typedef ::Test::Trmm::ParamTag<Side::Left, Uplo::Lower, Trans::NoTranspose, Diag::NonUnit> param_tag_type; |
| 25 |
typedef Algo::Trsm::Blocked algo_tag_type; |
| 26 |
test_batched_trsm<TestDevice, float, float, param_tag_type, algo_tag_type>(); |
| 27 |
} |
| 28 |
TEST_F(TestCategory, batched_scalar_serial_trsm_l_u_nt_u_float_float) { |
| 29 |
typedef ::Test::Trmm::ParamTag<Side::Left, Uplo::Upper, Trans::NoTranspose, Diag::Unit> param_tag_type; |
| 30 |
typedef Algo::Trsm::Blocked algo_tag_type; |
| 31 |
test_batched_trsm<TestDevice, float, float, param_tag_type, algo_tag_type>(); |
| 32 |
} |
| 33 |
TEST_F(TestCategory, batched_scalar_serial_trsm_l_u_nt_n_float_float) { |
| 34 |
typedef ::Test::Trmm::ParamTag<Side::Left, Uplo::Upper, Trans::NoTranspose, Diag::NonUnit> param_tag_type; |
| 35 |
typedef Algo::Trsm::Blocked algo_tag_type; |
| 36 |
test_batched_trsm<TestDevice, float, float, param_tag_type, algo_tag_type>(); |
| 37 |
} |
| 38 |
TEST_F(TestCategory, batched_scalar_serial_trsm_r_u_nt_u_float_float) { |
| 39 |
typedef ::Test::Trmm::ParamTag<Side::Right, Uplo::Upper, Trans::NoTranspose, Diag::Unit> param_tag_type; |
| 40 |
typedef Algo::Trsm::Blocked algo_tag_type; |
| 41 |
test_batched_trsm<TestDevice, float, float, param_tag_type, algo_tag_type>(); |
| 42 |
} |
| 43 |
TEST_F(TestCategory, batched_scalar_serial_trsm_r_u_nt_n_float_float) { |
| 44 |
typedef ::Test::Trmm::ParamTag<Side::Right, Uplo::Upper, Trans::NoTranspose, Diag::NonUnit> param_tag_type; |
| 45 |
typedef Algo::Trsm::Blocked algo_tag_type; |
| 46 |
test_batched_trsm<TestDevice, float, float, param_tag_type, algo_tag_type>(); |
| 47 |
} |
| 48 |
// |
| 49 |
TEST_F(TestCategory, batched_scalar_serial_trsm_l_l_t_u_float_float) { |
| 50 |
typedef ::Test::Trmm::ParamTag<Side::Left, Uplo::Lower, Trans::Transpose, Diag::Unit> param_tag_type; |
| 51 |
typedef Algo::Trsm::Blocked algo_tag_type; |
| 52 |
test_batched_trsm<TestDevice, float, float, param_tag_type, algo_tag_type>(); |
| 53 |
} |
| 54 |
TEST_F(TestCategory, batched_scalar_serial_trsm_l_l_t_n_float_float) { |
| 55 |
typedef ::Test::Trmm::ParamTag<Side::Left, Uplo::Lower, Trans::Transpose, Diag::NonUnit> param_tag_type; |
| 56 |
typedef Algo::Trsm::Blocked algo_tag_type; |
| 57 |
test_batched_trsm<TestDevice, float, float, param_tag_type, algo_tag_type>(); |
| 58 |
} |
| 59 |
TEST_F(TestCategory, batched_scalar_serial_trsm_l_u_t_u_float_float) { |
| 60 |
typedef ::Test::Trmm::ParamTag<Side::Left, Uplo::Upper, Trans::Transpose, Diag::Unit> param_tag_type; |
| 61 |
typedef Algo::Trsm::Blocked algo_tag_type; |
| 62 |
test_batched_trsm<TestDevice, float, float, param_tag_type, algo_tag_type>(); |
| 63 |
} |
| 64 |
TEST_F(TestCategory, batched_scalar_serial_trsm_l_u_t_n_float_float) { |
| 65 |
typedef ::Test::Trmm::ParamTag<Side::Left, Uplo::Upper, Trans::Transpose, Diag::NonUnit> param_tag_type; |
| 66 |
typedef Algo::Trsm::Blocked algo_tag_type; |
| 67 |
test_batched_trsm<TestDevice, float, float, param_tag_type, algo_tag_type>(); |
| 68 |
} |
| 69 |
#endif |
| 70 |
|
| 71 |
#if defined(KOKKOSKERNELS_INST_DOUBLE) |
| 72 |
TEST_F(TestCategory, batched_scalar_serial_trsm_l_l_nt_u_double_double) { |
| 73 |
typedef ::Test::Trmm::ParamTag<Side::Left, Uplo::Lower, Trans::NoTranspose, Diag::Unit> param_tag_type; |
| 74 |
typedef Algo::Trsm::Blocked algo_tag_type; |
| 75 |
test_batched_trsm<TestDevice, double, double, param_tag_type, algo_tag_type>(); |
| 76 |
} |
| 77 |
TEST_F(TestCategory, batched_scalar_serial_trsm_l_l_nt_n_double_double) { |
| 78 |
typedef ::Test::Trmm::ParamTag<Side::Left, Uplo::Lower, Trans::NoTranspose, Diag::NonUnit> param_tag_type; |
| 79 |
typedef Algo::Trsm::Blocked algo_tag_type; |
| 80 |
test_batched_trsm<TestDevice, double, double, param_tag_type, algo_tag_type>(); |
| 81 |
} |
| 82 |
TEST_F(TestCategory, batched_scalar_serial_trsm_l_u_nt_u_double_double) { |
| 83 |
typedef ::Test::Trmm::ParamTag<Side::Left, Uplo::Upper, Trans::NoTranspose, Diag::Unit> param_tag_type; |
| 84 |
typedef Algo::Trsm::Blocked algo_tag_type; |
| 85 |
test_batched_trsm<TestDevice, double, double, param_tag_type, algo_tag_type>(); |
| 86 |
} |
| 87 |
TEST_F(TestCategory, batched_scalar_serial_trsm_l_u_nt_n_double_double) { |
| 88 |
typedef ::Test::Trmm::ParamTag<Side::Left, Uplo::Upper, Trans::NoTranspose, Diag::NonUnit> param_tag_type; |
| 89 |
typedef Algo::Trsm::Blocked algo_tag_type; |
| 90 |
test_batched_trsm<TestDevice, double, double, param_tag_type, algo_tag_type>(); |
| 91 |
} |
| 92 |
TEST_F(TestCategory, batched_scalar_serial_trsm_r_u_nt_u_double_double) { |
| 93 |
typedef ::Test::Trmm::ParamTag<Side::Right, Uplo::Upper, Trans::NoTranspose, Diag::Unit> param_tag_type; |
| 94 |
typedef Algo::Trsm::Blocked algo_tag_type; |
| 95 |
test_batched_trsm<TestDevice, double, double, param_tag_type, algo_tag_type>(); |
| 96 |
} |
| 97 |
TEST_F(TestCategory, batched_scalar_serial_trsm_r_u_nt_n_double_double) { |
| 98 |
typedef ::Test::Trmm::ParamTag<Side::Right, Uplo::Upper, Trans::NoTranspose, Diag::NonUnit> param_tag_type; |
| 99 |
typedef Algo::Trsm::Blocked algo_tag_type; |
| 100 |
test_batched_trsm<TestDevice, double, double, param_tag_type, algo_tag_type>(); |
| 101 |
} |
| 102 |
// |
| 103 |
TEST_F(TestCategory, batched_scalar_serial_trsm_l_l_t_u_double_double) { |
| 104 |
typedef ::Test::Trmm::ParamTag<Side::Left, Uplo::Lower, Trans::Transpose, Diag::Unit> param_tag_type; |
| 105 |
typedef Algo::Trsm::Blocked algo_tag_type; |
| 106 |
test_batched_trsm<TestDevice, double, double, param_tag_type, algo_tag_type>(); |
| 107 |
} |
| 108 |
TEST_F(TestCategory, batched_scalar_serial_trsm_l_l_t_n_double_double) { |
| 109 |
typedef ::Test::Trmm::ParamTag<Side::Left, Uplo::Lower, Trans::Transpose, Diag::NonUnit> param_tag_type; |
| 110 |
typedef Algo::Trsm::Blocked algo_tag_type; |
| 111 |
test_batched_trsm<TestDevice, double, double, param_tag_type, algo_tag_type>(); |
| 112 |
} |
| 113 |
TEST_F(TestCategory, batched_scalar_serial_trsm_l_u_t_u_double_double) { |
| 114 |
typedef ::Test::Trmm::ParamTag<Side::Left, Uplo::Upper, Trans::Transpose, Diag::Unit> param_tag_type; |
| 115 |
typedef Algo::Trsm::Blocked algo_tag_type; |
| 116 |
test_batched_trsm<TestDevice, double, double, param_tag_type, algo_tag_type>(); |
| 117 |
} |
| 118 |
TEST_F(TestCategory, batched_scalar_serial_trsm_l_u_t_n_double_double) { |
| 119 |
typedef ::Test::Trmm::ParamTag<Side::Left, Uplo::Upper, Trans::Transpose, Diag::NonUnit> param_tag_type; |
| 120 |
typedef Algo::Trsm::Blocked algo_tag_type; |
| 121 |
test_batched_trsm<TestDevice, double, double, param_tag_type, algo_tag_type>(); |
| 122 |
} |
| 123 |
#endif |