Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
Browse files
Browse the repository at this point in the history
### Ticket [Link to Github Issue](#15290) ### Problem description There are a number of Singletons being used in tt-metal: `SystemMesh`, `DevicePool`, `Cluster`. There's a corner case that popped up that caused a UAF error where `SystemMesh` was already destructed before MeshDevice. ### What's changed - Decouple MeshDevice destruction from SystemMesh destruction. - Refactor SystemMesh to encapsulate internals in pImpl class. - Added a new test case for SystemMesh tear down with static mesh in the distributed tests. ### Checklist - [x] Post commit CI passes - [ ] Blackhole Post commit (if applicable) - [x] Model regression CI testing passes (if applicable) - [ ] Device performance regression CI testing passes (if applicable) - [x] New/Existing tests provide coverage for changes https://github.com/tenstorrent/tt-metal/actions/runs/12198356189 https://github.com/tenstorrent/tt-metal/actions/runs/12194392381
- Loading branch information