Skip to content

Commit

Permalink
#0: Clang tidy fix
Browse files Browse the repository at this point in the history
  • Loading branch information
tt-dma committed Dec 21, 2024
1 parent c72e787 commit 2391f3b
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion tt_metal/impl/dispatch/topology.cpp
Original file line number Diff line number Diff line change
Expand Up @@ -451,7 +451,7 @@ std::vector<dispatch_kernel_node_t> get_nodes(const std::set<chip_id_t>& device_
// Need a mapping from templated device id (1-8) to actual device id (from the tunnel)
std::vector<chip_id_t> template_id_to_device_id;
template_id_to_device_id.push_back(mmio_device_id);
for (auto tunnel : tt::Cluster::instance().get_tunnels_from_mmio_device(mmio_device_id)) {
for (const auto& tunnel : tt::Cluster::instance().get_tunnels_from_mmio_device(mmio_device_id)) {
TT_ASSERT(tunnel.size() == 5, "Galaxy expected 4-deep tunnels.");
for (auto remote_device_id : tunnel) {
if (remote_device_id != mmio_device_id) {
Expand Down

0 comments on commit 2391f3b

Please sign in to comment.