-
Notifications
You must be signed in to change notification settings - Fork 3.9k
Implement/migrate Arena allocators to cuda plugin ep. #27931
New issue
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
Merged
Merged
Changes from all commits
Commits
Show all changes
38 commits
Select commit
Hold shift + click to select a range
6519034
Cuda Arena migration plan
yuslepukhin 26fcaae
Update the design
yuslepukhin 9dad919
Clarify IArena inhertance
yuslepukhin 0027c19
Address review comments
yuslepukhin ad48120
Clarify Environment::CreateAndRegisterAllocatorV2()
yuslepukhin 93850d9
Address review comments
yuslepukhin 318edae
Re-design for a in-plugin arena using examples as a base
yuslepukhin b6973b6
Address review comments
yuslepukhin 6748f7d
Re-work inheritance of Cuda Arean allocators
yuslepukhin 2bcd8d3
Adjust CudaMempoolOrtAllocator
yuslepukhin 4730e8d
Address review comments
yuslepukhin d335e7b
Address comments
yuslepukhin 71c3ec5
Implement Phase I
yuslepukhin 32f1fbc
lintrunner
yuslepukhin a19d9d3
Address review comments and make this build and test run. Phase I
yuslepukhin 7b3bb5f
Address review comments
yuslepukhin a71b93a
Address comments
yuslepukhin 1ea0d94
Address comments
yuslepukhin 8f850a3
Address review comments
yuslepukhin 27c3bc4
Integrate CudMempoolAllocator
yuslepukhin 9c60d8a
Merge branch 'main' into yuslepukhin/cuda_arena_ep
yuslepukhin 2cde673
Address review comments
yuslepukhin 8f81a39
Address review comments, add public Reserve API, improve test coverage
yuslepukhin 552d0e6
address comments
yuslepukhin 700eb6c
Address review issues
yuslepukhin 5a73a66
Add Shrink API
yuslepukhin c60b59b
Address review comments
yuslepukhin 9961b56
Address review comments
yuslepukhin 121d53b
Merge branch 'main' into yuslepukhin/cuda_arena_ep
yuslepukhin 982eb6a
Add ArenaAllocator wrapper for Shrink and ReleaseStreamBuffers
yuslepukhin 540962d
Address review comments
yuslepukhin 6151008
Update docs
yuslepukhin 9aebc8c
address review comments
yuslepukhin 1c612cc
Address most recent comments
yuslepukhin da13dd5
Address compile issues. Add test.
yuslepukhin 4eb4238
Merge branch 'main' into yuslepukhin/cuda_arena_ep
yuslepukhin e0204a8
Address review comments
yuslepukhin 65769d5
Build error
yuslepukhin File filter
Filter by extension
Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
There are no files selected for viewing
This file contains hidden or 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 hidden or 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
757 changes: 757 additions & 0 deletions
757
docs/cuda_plugin_ep/arena_allocator_migration_design.md
Large diffs are not rendered by default.
Oops, something went wrong.
Large diffs are not rendered by default.
Oops, something went wrong.
This file contains hidden or 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 hidden or 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 hidden or 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 hidden or 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 hidden or 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 hidden or 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 hidden or 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 hidden or 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 hidden or 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 hidden or 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 hidden or 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 hidden or 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 hidden or 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.
Oops, something went wrong.
Add this suggestion to a batch that can be applied as a single commit.
This suggestion is invalid because no changes were made to the code.
Suggestions cannot be applied while the pull request is closed.
Suggestions cannot be applied while viewing a subset of changes.
Only one suggestion per line can be applied in a batch.
Add this suggestion to a batch that can be applied as a single commit.
Applying suggestions on deleted lines is not supported.
You must change the existing code in this line in order to create a valid suggestion.
Outdated suggestions cannot be applied.
This suggestion has been applied or marked resolved.
Suggestions cannot be applied from pending reviews.
Suggestions cannot be applied on multi-line comments.
Suggestions cannot be applied while the pull request is queued to merge.
Suggestion cannot be applied right now. Please check back later.
Uh oh!
There was an error while loading. Please reload this page.