| 1 |
Fromscip-debian debian hipblas 6.4.4-1 hipblas/patches/`0007-Fix-double-def-in-hipblas_arguments.patch`#From.: Christian Bayle <[email protected]scip-debian . . . identity/`[email protected]`.> |
| 2 |
Datescip-debian debian hipblas 6.4.4-1 hipblas/patches/`0007-Fix-double-def-in-hipblas_arguments.patch`#Date.: Fri, 3 Oct 2025 20:12:13 +0200 |
| 3 |
Subjectscip-debian debian hipblas 6.4.4-1 hipblas/patches/`0007-Fix-double-def-in-hipblas_arguments.patch`#Subject.: Fix double def in hipblas_arguments |
| 4 |
|
| 5 |
Forwarded: not-needed |
| 6 |
--- |
| 7 |
clients/include/hipblas_arguments.hpp | 16 ++++++++-------- |
| 8 |
1 file changed, 8 insertions(+), 8 deletions(-) |
| 9 |
|
| 10 |
diff --git a/clients/include/hipblas_arguments.hppscip-debian debian hipblas 6.4.4-1 hipblas/upstream/`clients/include/hipblas_arguments.hpp`: b/clients/include/hipblas_arguments.hppscip-debian debian hipblas 6.4.4-1 hipblas/upstream/`clients/include/hipblas_arguments.hpp`: |
| 11 |
index 06cf205..00fdb03 100644 |
| 12 |
--- a/clients/include/hipblas_arguments.hpp |
| 13 |
+++ b/clients/include/hipblas_arguments.hpp |
| 14 |
@@ -361,7 +361,7 @@ namespace ArgumentsHelper |
| 15 |
// clang-format off |
| 16 |
#define APPLY(NAME) \ |
| 17 |
template <> \ |
| 18 |
|
| 19 |
+ HIPBLAS_CLANG_STATIC inline constexpr auto \ |
| 20 |
apply<e_##NAME == e_alpha ? hipblas_argument(-1) \ |
| 21 |
: e_##NAME == e_beta ? hipblas_argument(-2) \ |
| 22 |
: e_##NAME == e_a_type ? hipblas_argument(-3) \ |
| 23 |
@@ -377,45 +377,45 @@ namespace ArgumentsHelper |
| 24 |
|
| 25 |
// Specialization for e_alpha |
| 26 |
template <> |
| 27 |
|
| 28 |
+ HIPBLAS_CLANG_STATIC inline constexpr auto apply<e_alpha> = |
| 29 |
[](auto&& func, const Arguments& arg, auto T) { |
| 30 |
func("alpha", arg.get_alpha<decltype(T)>()); |
| 31 |
}; |
| 32 |
|
| 33 |
// Specialization for e_beta |
| 34 |
template <> |
| 35 |
|
| 36 |
+ HIPBLAS_CLANG_STATIC inline constexpr auto apply<e_beta> = |
| 37 |
[](auto&& func, const Arguments& arg, auto T) { |
| 38 |
func("beta", arg.get_beta<decltype(T)>()); |
| 39 |
}; |
| 40 |
|
| 41 |
// Specialization for datatypes |
| 42 |
template <> |
| 43 |
|
| 44 |
+ HIPBLAS_CLANG_STATIC inline constexpr auto apply<e_a_type> = |
| 45 |
[](auto&& func, const Arguments& arg, auto T) { |
| 46 |
func("a_type", hipblas_datatype2string(arg.a_type)); |
| 47 |
}; |
| 48 |
|
| 49 |
template <> |
| 50 |
|
| 51 |
+ HIPBLAS_CLANG_STATIC inline constexpr auto apply<e_b_type> = |
| 52 |
[](auto&& func, const Arguments& arg, auto T) { |
| 53 |
func("b_type", hipblas_datatype2string(arg.b_type)); |
| 54 |
}; |
| 55 |
|
| 56 |
template <> |
| 57 |
|
| 58 |
+ HIPBLAS_CLANG_STATIC inline constexpr auto apply<e_c_type> = |
| 59 |
[](auto&& func, const Arguments& arg, auto T) { |
| 60 |
func("c_type", hipblas_datatype2string(arg.c_type)); |
| 61 |
}; |
| 62 |
|
| 63 |
template <> |
| 64 |
|
| 65 |
+ HIPBLAS_CLANG_STATIC inline constexpr auto apply<e_d_type> = |
| 66 |
[](auto&& func, const Arguments& arg, auto T) { |
| 67 |
func("d_type", hipblas_datatype2string(arg.d_type)); |
| 68 |
}; |
| 69 |
|
| 70 |
template <> |
| 71 |
|
| 72 |
+ HIPBLAS_CLANG_STATIC inline constexpr auto apply<e_compute_type> = |
| 73 |
[](auto&& func, const Arguments& arg, auto T) { |
| 74 |
func("compute_type", hipblas_datatype2string(arg.compute_type)); |
| 75 |
}; |