From: Christian Bayle Date: Fri, 3 Oct 2025 17:45:54 +0200 Subject: Fix double def near Forwarded: not-needed --- clients/include/near.h | 24 ++++++++++++------------ 1 file changed, 12 insertions(+), 12 deletions(-) diff --git a/clients/include/near.h b/clients/include/near.h index 38ad791..0a2b6f2 100644 --- a/clients/include/near.h +++ b/clients/include/near.h @@ -81,51 +81,51 @@ void near_check_general(int64_t M, // currently only used for half-precision comparisons in dot_ex tests template -HIPBLAS_CLANG_STATIC constexpr double error_tolerance = 0.0; +HIPBLAS_CLANG_STATIC inline constexpr double error_tolerance = 0.0; template <> -HIPBLAS_CLANG_STATIC constexpr double error_tolerance = 1 / 100.0; +HIPBLAS_CLANG_STATIC inline constexpr double error_tolerance = 1 / 100.0; // 2 ^ -14, smallest positive normal number for IEEE16 template <> -HIPBLAS_CLANG_STATIC constexpr double error_tolerance = 0.000061035; +HIPBLAS_CLANG_STATIC inline constexpr double error_tolerance = 0.000061035; template <> -HIPBLAS_CLANG_STATIC constexpr double error_tolerance = 1 / 10000.0; +HIPBLAS_CLANG_STATIC inline constexpr double error_tolerance = 1 / 10000.0; template <> -HIPBLAS_CLANG_STATIC constexpr double error_tolerance = 1 / 1000000.0; +HIPBLAS_CLANG_STATIC inline constexpr double error_tolerance = 1 / 1000000.0; // currently only used for gemm_ex template static constexpr double sum_error_tolerance_for_gfx11 = 0.0; template <> -HIPBLAS_CLANG_STATIC constexpr double +HIPBLAS_CLANG_STATIC inline constexpr double sum_error_tolerance_for_gfx11 = 1 / 10.0; template <> -HIPBLAS_CLANG_STATIC constexpr double +HIPBLAS_CLANG_STATIC inline constexpr double sum_error_tolerance_for_gfx11 = 1 / 10.0; template <> -HIPBLAS_CLANG_STATIC constexpr double +HIPBLAS_CLANG_STATIC inline constexpr double sum_error_tolerance_for_gfx11 = 1 / 100.0; template <> -HIPBLAS_CLANG_STATIC constexpr double +HIPBLAS_CLANG_STATIC inline constexpr double sum_error_tolerance_for_gfx11 = 1 / 100.0; template <> -HIPBLAS_CLANG_STATIC constexpr double +HIPBLAS_CLANG_STATIC inline constexpr double sum_error_tolerance_for_gfx11 = 1 / 100.0; template <> -HIPBLAS_CLANG_STATIC constexpr double +HIPBLAS_CLANG_STATIC inline constexpr double sum_error_tolerance_for_gfx11 = 1 / 10000.0; template <> -HIPBLAS_CLANG_STATIC constexpr double +HIPBLAS_CLANG_STATIC inline constexpr double sum_error_tolerance_for_gfx11 = 1 / 1000000.0;