From 514d68ceb2aa0606133972360df98864d5147174 Mon Sep 17 00:00:00 2001 From: Borys Bradel Date: Wed, 10 Apr 2024 19:43:51 +0000 Subject: [PATCH] #7309: Add missing constexpr for tiled i2s --- .../reader_unary_sharded_blocks_interleaved_start_id.cpp | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/tt_eager/tt_dnn/op_library/sharded/kernels/dataflow/reader_unary_sharded_blocks_interleaved_start_id.cpp b/tt_eager/tt_dnn/op_library/sharded/kernels/dataflow/reader_unary_sharded_blocks_interleaved_start_id.cpp index 9744e0b4ee7..b8b4b74e037 100644 --- a/tt_eager/tt_dnn/op_library/sharded/kernels/dataflow/reader_unary_sharded_blocks_interleaved_start_id.cpp +++ b/tt_eager/tt_dnn/op_library/sharded/kernels/dataflow/reader_unary_sharded_blocks_interleaved_start_id.cpp @@ -47,7 +47,7 @@ void kernel_main() { uint32_t barrier_count = 0; uint32_t curr_tile_id = start_id; uint32_t l1_write_addr = get_write_ptr(cb_id_in0); - if (reserving_kernel) { + if constexpr (reserving_kernel) { cb_reserve_back(cb_id_in0, all_block_num_tiles); cb_reserve_back(cb_id_sync, 1); cb_push_back(cb_id_sync, 1);