Skip to content

Commit

Permalink
#0: Resolve Versim failure after Virtual Coordinates commit
Browse files Browse the repository at this point in the history
  • Loading branch information
tt-asaigal committed Dec 11, 2024
1 parent 23ce00c commit df84ba5
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion tt_metal/llrt/tt_cluster.cpp
Original file line number Diff line number Diff line change
Expand Up @@ -425,7 +425,7 @@ tt_cxy_pair Cluster::get_virtual_coordinate_from_logical_coordinates(tt_cxy_pair
}
CoreCoord Cluster::get_virtual_coordinate_from_physical_coordinates(chip_id_t chip_id, CoreCoord physical_coord, const CoreType& core_type) const {
auto& soc_desc = this->get_soc_desc(chip_id);
if (not (core_type == CoreType::WORKER or core_type == CoreType::ETH)) {
if ((not (core_type == CoreType::WORKER or core_type == CoreType::ETH)) or this->target_type_ == TargetDevice::Simulator) {
return physical_coord;
}
tt_cxy_pair virtual_chip_coord = soc_desc.convert_to_umd_coordinates(tt_cxy_pair(chip_id, physical_coord.x, physical_coord.y));
Expand Down

0 comments on commit df84ba5

Please sign in to comment.