-
Notifications
You must be signed in to change notification settings - Fork 1.1k
Make the CUDA stream pool per-thread #23672
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
Open
vuule
wants to merge
32
commits into
NVIDIA:main
Choose a base branch
from
vuule:per-thread-stream-pool
base: main
Could not load branches
Branch not found: {{ refName }}
Loading
Could not load tags
Nothing to show
Loading
Are you sure you want to change the base?
Some commits from the old base branch may be removed from the timeline,
and old review comments may become outdated.
Open
Changes from all commits
Commits
Show all changes
32 commits
Select commit
Hold shift + click to select a range
9734058
Make the CUDA stream pool per-thread and per-device
vuule abf3902
Merge remote-tracking branch 'origin/main' into per-thread-stream-pool
vuule 71dd8f9
Address review: correct the pool thread-safety contract and harden tests
vuule 73ce477
Use cuda::stream_ref and cuda::stream in the stream pool
vuule b72be07
Keep only the stream pool tests that catch silent regressions
vuule f09cc08
Merge branch 'main' into per-thread-stream-pool
vuule b3eabc8
Rename global_cuda_stream_pool to thread_cuda_stream_pool
vuule 3b0ac5d
Describe what pool streams actually guarantee
vuule 7a08f9c
Drop the stream pool size accessor
vuule a3400fa
Drop the stream pool id-based accessor
vuule 445f39a
Point callers that need several streams at get_streams
vuule 3726678
docs
vuule 1a2fb3e
Rename create_global_cuda_stream_pool to create_cuda_stream_pool
vuule f1c16c5
Test the stream pool directly instead of through fork_streams
vuule 3ba29c0
Name the test helper after what it returns
vuule f90ba7d
Correct why the concurrency test needs the latch
vuule 2b461f5
Name the accessor for the caller, not the pool's scope
vuule f28f9c2
Store the pool cap in the pool
vuule de0f6e6
Say that the large request grows the pool
vuule c3fcc3e
Compare against the whole pool the first thread leaves behind
vuule 226f3eb
Hold the second thread's streams in a vector
vuule 8f7933d
Share one oversized request size between the pool tests
vuule 35f71b8
Rename the test helper and request past a 64-stream pool
vuule 9d8d0d2
last of test clean up
vuule cb741df
shorten comment
vuule 8963469
impl clean up
vuule b9fdd0f
Merge branch 'main' into per-thread-stream-pool
vuule b5d2c4a
Build the join_streams wrapper from cuda::stream_ref
vuule 5c2eca5
Update copyright header on the stream pool bindings
vuule a8d462c
Merge branch 'main' into per-thread-stream-pool
vuule 1f55ffa
Refresh stream pool docs for cuda::stream_ref and include <cuda/devices>
vuule e6482d2
Merge branch 'main' into per-thread-stream-pool
vuule 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
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.