| 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 |
#ifndef KOKKOSBATCHED_TRMM_DECL_HPP |
| 18 |
#define KOKKOSBATCHED_TRMM_DECL_HPP |
| 19 |
|
| 20 |
#include "KokkosBatched_Util.hpp" |
| 21 |
#include "KokkosBatched_Vector.hpp" |
| 22 |
|
| 23 |
namespace KokkosBatched { |
| 24 |
|
| 25 |
template <typename ArgSide, typename ArgUplo, typename ArgTrans, typename ArgDiag, typename ArgAlgo> |
| 26 |
struct SerialTrmm { |
| 27 |
template <typename ScalarType, typename AViewType, typename BViewType> |
| 28 |
KOKKOS_INLINE_FUNCTION static int invoke(const ScalarType alpha, const AViewType &A, const BViewType &B); |
| 29 |
}; |
| 30 |
} // namespace KokkosBatched |
| 31 |
#endif // KOKKOSBATCHED_TRMM_DECL_HPP |