Skip to content

Commit

Permalink
#0: remove unused DISPATCH_MESAGE_REMOTE_SENDER_ADDR from dispatch ad…
Browse files Browse the repository at this point in the history
…dress map
  • Loading branch information
abhullar-tt committed Sep 27, 2024
1 parent 3c1c04c commit 92e37a5
Showing 1 changed file with 1 addition and 2 deletions.
3 changes: 1 addition & 2 deletions tt_metal/impl/dispatch/dispatch_address_map.hpp
Original file line number Diff line number Diff line change
Expand Up @@ -24,9 +24,8 @@ constexpr static uint32_t CQ1_COMPLETION_LAST_EVENT = CQ0_COMPLETION_LAST_EVENT
// Dispatch message address
constexpr static std::uint32_t DISPATCH_MESSAGE_ADDR = CQ1_COMPLETION_LAST_EVENT + L1_ALIGNMENT;
constexpr static std::uint32_t DISPATCH_MESSAGE_ADDR_RESERVATION = 32;
constexpr static std::uint64_t DISPATCH_MESSAGE_REMOTE_SENDER_ADDR = DISPATCH_MESSAGE_ADDR + DISPATCH_MESSAGE_ADDR_RESERVATION;

constexpr static std::uint32_t DISPATCH_L1_UNRESERVED_BASE = (((DISPATCH_MESSAGE_REMOTE_SENDER_ADDR + DISPATCH_MESSAGE_ADDR_RESERVATION) - 1) | (PCIE_ALIGNMENT - 1)) + 1;
constexpr static std::uint32_t DISPATCH_L1_UNRESERVED_BASE = (((DISPATCH_MESSAGE_ADDR + DISPATCH_MESSAGE_ADDR_RESERVATION) - 1) | (PCIE_ALIGNMENT - 1)) + 1;

// Host addresses in hugepage for dispatch
static constexpr uint32_t HOST_CQ_ISSUE_READ_PTR = 0; // Used by host
Expand Down

0 comments on commit 92e37a5

Please sign in to comment.