From 1371942ea44535dab6736de99988f9b794405850 Mon Sep 17 00:00:00 2001 From: acejkov Date: Tue, 5 Dec 2023 19:57:03 +0000 Subject: [PATCH] #3908: Fix get_operand_id to return correct value --- tt_metal/hw/ckernels/wormhole_b0/metal/llk_io/llk_operands.h | 3 +-- 1 file changed, 1 insertion(+), 2 deletions(-) diff --git a/tt_metal/hw/ckernels/wormhole_b0/metal/llk_io/llk_operands.h b/tt_metal/hw/ckernels/wormhole_b0/metal/llk_io/llk_operands.h index 0207ecc345f..2b94607012d 100644 --- a/tt_metal/hw/ckernels/wormhole_b0/metal/llk_io/llk_operands.h +++ b/tt_metal/hw/ckernels/wormhole_b0/metal/llk_io/llk_operands.h @@ -8,9 +8,8 @@ inline uint32_t get_operand_id(uint32_t operand) { - const int INTERMEDIATE_BASE_ID = 24; const int OPERAND_BASE_ID = 0; - return (operand>=INTERMEDIATE_BASE_ID) ? operand - 8 : operand - OPERAND_BASE_ID; + return (operand); } inline const uint32_t get_operand_src_format(const std::uint32_t operand_id)