Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Coordinate manager maps redesign #374

Merged
merged 2 commits into from
Dec 11, 2024
Merged

Conversation

pjanevskiTT
Copy link
Contributor

Issue

Some parts of #355

Description

Redesign maps of the Coordinate Manager class. Instead of per core type maps, we use one map now for all core types. Virtual to physical to translated mappings are now implemented for harvested coordinates as well. We may want to use those cores sometimes so in order to support proper reading/writing to these cores. Now all translations are going throug the physical (NOC0) coordinate system, since soc descriptors are in physical coordinate system, and each core has those coordinates.

List of the changes

  • Remove per core type map
  • Add one map for all cores
  • Implement translation for harvested tensix cores
  • Implement translation for harvested dram cores

Testing

Existing unit tests, added more

API Changes

No API changes

@pjanevskiTT pjanevskiTT self-assigned this Dec 6, 2024
@pjanevskiTT
Copy link
Contributor Author

Thanks @broskoTT @tt-vjovanovic for useful tips on previous PR, I will implement other suggestions later on, with this we have baseline to support API changes to Cluster

device/blackhole/blackhole_coordinate_manager.cpp Outdated Show resolved Hide resolved
device/coordinate_manager.cpp Outdated Show resolved Hide resolved
device/coordinate_manager.cpp Outdated Show resolved Hide resolved
device/api/umd/device/coordinate_manager.h Show resolved Hide resolved
device/blackhole/blackhole_coordinate_manager.cpp Outdated Show resolved Hide resolved
device/coordinate_manager.cpp Outdated Show resolved Hide resolved
@pjanevskiTT pjanevskiTT force-pushed the pjanevski/coord_manager_impl branch 3 times, most recently from f93ee94 to 8e69799 Compare December 10, 2024 15:47
@pjanevskiTT pjanevskiTT force-pushed the pjanevski/coord_manager_impl branch from fd2ad89 to 540cf7a Compare December 11, 2024 15:14
@pjanevskiTT pjanevskiTT force-pushed the pjanevski/coord_manager_impl branch from 540cf7a to 51ee2e5 Compare December 11, 2024 16:17
@pjanevskiTT pjanevskiTT merged commit 91cc73b into main Dec 11, 2024
24 checks passed
@pjanevskiTT pjanevskiTT deleted the pjanevski/coord_manager_impl branch December 11, 2024 17:28
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

Successfully merging this pull request may close these issues.

4 participants