-
Notifications
You must be signed in to change notification settings - Fork 117
Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
Simplify getting a host buffer from tensor to avoid direct calls to c…
…ommand queue (#18533) ### Ticket ### Problem description Currently we have a few places, where to get a host buffer from tensor we do some manual logic with calls to command queue, which isn't supported on MeshDevice. ### What's changed Move repeating code to a single function and use Tensor::cpu() to convert device to cpu tensor ### Checklist - [x] [All post commit CI passes](https://github.com/tenstorrent/tt-metal/actions/runs/13613038021) - [x] New/Existing tests provide coverage for changes
- Loading branch information
1 parent
741aeb8
commit 23791be
Showing
2 changed files
with
24 additions
and
60 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