From 1f49682c749715694079b5b43c46fa3d89e627e4 Mon Sep 17 00:00:00 2001 From: Bryan Wilder Field Lozano Date: Thu, 7 Nov 2024 22:28:20 -0800 Subject: [PATCH] #14633: Fix using incorrect symbol (#14876) --- tt_metal/impl/dispatch/command_queue_interface.hpp | 6 +++--- 1 file changed, 3 insertions(+), 3 deletions(-) diff --git a/tt_metal/impl/dispatch/command_queue_interface.hpp b/tt_metal/impl/dispatch/command_queue_interface.hpp index 05a19ea4d47..04ff630f1f3 100644 --- a/tt_metal/impl/dispatch/command_queue_interface.hpp +++ b/tt_metal/impl/dispatch/command_queue_interface.hpp @@ -170,11 +170,11 @@ struct dispatch_constants { if (dev_addr_type == CommandQueueDeviceAddrType::PREFETCH_Q_RD) { device_cq_addr_sizes_[dev_addr_idx] = sizeof(uint32_t); } else if (dev_addr_type == CommandQueueDeviceAddrType::PREFETCH_Q_PCIE_RD) { - device_cq_addr_sizes_[dev_addr_idx] = L1_ALIGNMENT - sizeof(uint32_t); + device_cq_addr_sizes_[dev_addr_idx] = l1_alignment - sizeof(uint32_t); } else if (dev_addr_type == CommandQueueDeviceAddrType::DISPATCH_MESSAGE) { - device_cq_addr_sizes_[dev_addr_idx] = 32; // Should this be 2x L1_ALIGNMENT? + device_cq_addr_sizes_[dev_addr_idx] = 32; // Should this be 2x l1_alignment? } else { - device_cq_addr_sizes_[dev_addr_idx] = L1_ALIGNMENT; + device_cq_addr_sizes_[dev_addr_idx] = l1_alignment; } }