Skip to content

Commit

Permalink
#14633: Fix using incorrect symbol (#14876)
Browse files Browse the repository at this point in the history
  • Loading branch information
blozano-tt authored Nov 8, 2024
1 parent 729e4ff commit 1f49682
Showing 1 changed file with 3 additions and 3 deletions.
6 changes: 3 additions & 3 deletions tt_metal/impl/dispatch/command_queue_interface.hpp
Original file line number Diff line number Diff line change
Expand Up @@ -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;
}
}

Expand Down

0 comments on commit 1f49682

Please sign in to comment.