| 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 |
#ifndef KOKKOSBATCHED_SET_DECL_HPP |
| 17 |
#define KOKKOSBATCHED_SET_DECL_HPP |
| 18 |
|
| 19 |
/// \author Kyungjoo Kim ([email protected]) |
| 20 |
|
| 21 |
#include "impl/Kokkos_Error.hpp" |
| 22 |
|
| 23 |
namespace KokkosBatched { |
| 24 |
/// |
| 25 |
/// Serial Set |
| 26 |
/// |
| 27 |
|
| 28 |
struct [[deprecated]] SerialSet { |
| 29 |
template <typename ScalarType, typename AViewType> |
| 30 |
KOKKOS_INLINE_FUNCTION static int invoke(const ScalarType alpha, const AViewType &A) { |
| 31 |
Kokkos::abort( |
| 32 |
"KokkosBatched::SerialSet is deprecated: use KokkosBlas::SerialSet " |
| 33 |
"instead"); |
| 34 |
return 0; |
| 35 |
} // namespace KokkosBatched |
| 36 |
}; |
| 37 |
|
| 38 |
/// |
| 39 |
/// Team Set |
| 40 |
/// |
| 41 |
|
| 42 |
template <typename MemberType> |
| 43 |
struct [[deprecated]] TeamSet { |
| 44 |
template <typename ScalarType, typename AViewType> |
| 45 |
KOKKOS_INLINE_FUNCTION static int invoke(const MemberType &member, const ScalarType alpha, const AViewType &A) { |
| 46 |
Kokkos::abort( |
| 47 |
"KokkosBatched::TeamSet is deprecated: use KokkosBlas::TeamSet " |
| 48 |
"instead"); |
| 49 |
return 0; |
| 50 |
} |
| 51 |
}; |
| 52 |
|
| 53 |
/// |
| 54 |
/// TeamVector Set |
| 55 |
/// |
| 56 |
|
| 57 |
template <typename MemberType> |
| 58 |
struct [[deprecated]] TeamVectorSet { |
| 59 |
template <typename ScalarType, typename AViewType> |
| 60 |
KOKKOS_INLINE_FUNCTION static int invoke(const MemberType &member, const ScalarType alpha, const AViewType &A) { |
| 61 |
Kokkos::abort( |
| 62 |
"KokkosBatched::TeamVectorSet is deprecated: use " |
| 63 |
"KokkosBlas::TeamVectorSet instead"); |
| 64 |
return 0; |
| 65 |
} |
| 66 |
}; |
| 67 |
|
| 68 |
} // namespace KokkosBatched |
| 69 |
|
| 70 |
#endif |