-
Notifications
You must be signed in to change notification settings - Fork 74
Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
#0: Unify
tt_metal::Buffer
and ttnn::Buffer
, add support for 0-vo…
…lume buffers (#14023) * #0: Buffer refactoring wip * #0: Buffer threading change * #0: Buffer fixup * #0: Buffer fixup * #0: Add experimental asserts * #0: Refactor * #0: Test fixup * #0: Review fixes * #0: Review fixes * #0: Review fixes * #0: Handle 0 page size * #0: Add a test for creating/reading/writing 0-sized tensor * #0: Add support for more 0-sized shapes * #0: Review fixes * #0: Refactor allocation/deallocation threading to allow getting buffer address from another thread * #0: Treat empty shape as scalar * #0: Fix trailing comma * #0: Add missing include * #0: Allow 0 page size * #0: Rewrite threading, no mutexes * #0: Assert fix * #0: Fixup * #0: Remove unneeded include * #0: Cleanup, fix typo * #0: Cleanup * #0: Trying to improve perf * #0: Trying to improve perf * #0: Build fix * #0: Simpler threading, get rid of canceling allocation feature * #0: Fixup * #0: Avoid using std::atomic::wait, it seems to have perf implications --------- Co-authored-by: Artem Yerofieiev <[email protected]>
- Loading branch information
1 parent
9e8d1b5
commit af83135
Showing
50 changed files
with
593 additions
and
779 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
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.