-
Notifications
You must be signed in to change notification settings - Fork 96
Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
#0: Separate HWCommandQueue in it's own header (#16885)
### Ticket N/A ### Problem description `HWCommandQueue` is a public facing concept. Instead of interacting with `CommandQueue` and other supported metal API, users can "reach around" into this lower level abstraction. ### What's changed Separate `HWCommandQueue` in it's own header. Minor related changes: 1. Use ` cq.hw_command_queue()` instead of `cq.device().hw_command_queue(cq.id())`. 2. In `device.cpp`, initialize CQ with the correct passthrough mode directly, instead of constructing and setting the mode separately. Next steps: 1. Change direct interactions with `HWCommandQueue`. Instead, this should be hidden behind `CommandQueue` and other public APIs. 2. Make `HWCommandQueue` private to metal. Move this library into `tt_metal/impl/dispatch/`. 3. Remove all friend relations the exist in `HWCommandQueue`, and instead rely on public APIs. ### Checklist - [X] [Post commit CI passes](https://github.com/tenstorrent/tt-metal/actions/runs/12876658939) - [X] New/Existing tests provide coverage for changes
- Loading branch information
1 parent
2ef3e06
commit dea22dc
Showing
12 changed files
with
1,040 additions
and
946 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
Oops, something went wrong.