-
Notifications
You must be signed in to change notification settings - Fork 97
Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
Changing how we setup simulator. (#16375)
Previously, `tt_SimulationDevice` needed to be setup with two arguments: 1. Constructor argument with soc descriptor path. 2. Environment variable that points to simulator run script. Change in `tt_SimulationDevice` now requires only one argument, path to directory that contains all necessary files for simulator to run. That directory contains `soc_descriptor.yaml`, `run.sh` script and simulator application. This PR also removes need for two environment variables (`TT_METAL_SIMULATOR_EN` and `TT_REMOTE_EXE`) and replaces them with single `TT_METAL_SIMULATOR` variable that contains path to simulator build directory. In the future, when tt-metal is built only once for all architectures, this would mean that one would setup `TT_METAL_SIMULATOR` environment variable that point to simulator directory and would run it against architecture that is compiled in that directory. Related PRs: - [UMD simulators](https://yyz-gitlab.local.tenstorrent.com/tenstorrent/tt-metal/-/merge_requests/15) - [UMD](tenstorrent/tt-umd#449)
- Loading branch information
1 parent
6b4659f
commit d0b0f9b
Showing
9 changed files
with
44 additions
and
22 deletions.
There are no files selected for viewing
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Submodule umd
updated
37 files