From 27ba1f1cb58de1161d6e47e4692ed78973d08229 Mon Sep 17 00:00:00 2001 From: Milos Date: Mon, 7 Oct 2024 17:05:56 +0000 Subject: [PATCH] #11239: remove static asserts and only add comments that functions are unused --- .../metal/llk_api/llk_math_common_api.h | 16 ++++++++-------- 1 file changed, 8 insertions(+), 8 deletions(-) diff --git a/tt_metal/hw/ckernels/grayskull/metal/llk_api/llk_math_common_api.h b/tt_metal/hw/ckernels/grayskull/metal/llk_api/llk_math_common_api.h index 423328c6bc8..01c319cab44 100644 --- a/tt_metal/hw/ckernels/grayskull/metal/llk_api/llk_math_common_api.h +++ b/tt_metal/hw/ckernels/grayskull/metal/llk_api/llk_math_common_api.h @@ -83,24 +83,24 @@ inline void llk_math_reconfig_data_format_srcb( } inline std::uint32_t llk_math_get_compute_special_value_flags() { - static_assert(false && "API not supported in Grayskull"); - return 0; + // API not supported in Grayskull + return 0xFFFFFFFF; } inline std::uint32_t llk_math_get_compute_special_value_flags_fpu(std::uint32_t special_value_flags_reg) { - static_assert(false && "API not supported in Grayskull"); - return 0; + // API not supported in Grayskull + return 0xFFFFFFFF; } inline std::uint32_t llk_math_get_compute_special_value_flags_sfpu(std::uint32_t special_value_flags_reg) { - static_assert(false && "API not supported in Grayskull"); - return 0; + // API not supported in Grayskull + return 0xFFFFFFFF; } inline void llk_math_clear_compute_special_value_flags() { - static_assert(false && "API not supported in Grayskull"); + // API not supported in Grayskull } inline void llk_math_store_compute_special_value_flags_to_l1(std::uint32_t l1_addr) { - static_assert(false && "API not supported in Grayskull"); + // API not supported in Grayskull }