From b4f109c0abd52f5c4f71cfbec167991004821918 Mon Sep 17 00:00:00 2001 From: Reem Tawfik Date: Thu, 10 Oct 2024 15:44:41 -0400 Subject: [PATCH] Set transpose to false for unpack untilize --- llk_lib/llk_unpack_untilize.h | 1 + 1 file changed, 1 insertion(+) diff --git a/llk_lib/llk_unpack_untilize.h b/llk_lib/llk_unpack_untilize.h index 3c049f5..97b44be 100644 --- a/llk_lib/llk_unpack_untilize.h +++ b/llk_lib/llk_unpack_untilize.h @@ -77,6 +77,7 @@ inline void _llk_unpack_untilize_hw_configure_(const std::uint32_t unpack_src_fo } inline void _llk_unpack_untilize_init_(const std::uint32_t unpack_dst_format, const std::uint32_t tile_size, const std::uint32_t face_r_dim = FACE_R_DIM, const std::uint32_t num_faces = 4) { + cfg_reg_rmw_tensix(0); const std::uint32_t unpA_ch1_x_stride = (unpack_dst_format&0x3) == (std::uint32_t) DataFormat::Float32 ? 4 : (unpack_dst_format&0x3) == (std::uint32_t) DataFormat::Float16 ? 2 : 1; const std::uint32_t unpA_ch1_y_stride = FACE_R_DIM*unpA_ch1_x_stride;