Repository navigation
Add dynamic CUB dispatch for unique_by_key #3816
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
NaderAlAwar
merged 21 commits into
NVIDIA:main
from
NaderAlAwar:unique-by-key-dynamic-dispatch
Feb 28, 2025
Merged
Changes from all commits
Commits
Show all changes
21 commits
Select commit
Hold shift + click to select a range
682bcd2
Move unique_by_key kernels to NVRTC compilable header
NaderAlAwar 1d4e74f
Add dynamic dispatch for unique_by_key
NaderAlAwar bc363a8
Add missing host device qualifier
NaderAlAwar 9704eb9
Fix issue where argument name was not changed
NaderAlAwar 3ac97f6
Merge branch 'main' into unique-by-key-dynamic-dispatch
NaderAlAwar 00da18f
Forgot to rename local variable
NaderAlAwar 440716e
Remove old TODO comment
NaderAlAwar 2a17133
Make VSMemHelper be a template parameter of invoke(). This is needed …
NaderAlAwar adc4acc
Revert "Make VSMemHelper be a template parameter of invoke(). This is…
NaderAlAwar 5b210ec
Make vsmem_helper a template on the dispatch class so that we can pas…
NaderAlAwar dff4361
Refactor how we instantiate vsmem_helper
NaderAlAwar caed37f
Pass VSMemHelper as template parameter to unique by key kernel
NaderAlAwar f37206b
Move the template parameters of VSMemHelper to its methods to workaro…
NaderAlAwar d1c885c
Make vsmem helper functions host device
NaderAlAwar 666803b
Merge branch 'unique-by-key-dynamic-dispatch' of https://github.com/n…
NaderAlAwar 1ef5464
Merge branch 'main' into unique-by-key-dynamic-dispatch
NaderAlAwar c6ef86f
Remove unused macro
NaderAlAwar 4d0372c
Make KeyT and ValueT templates for DispatchUniqueByKey
NaderAlAwar 895852d
Fix SFINAE for UniqueByKeyPolicyWrapper
NaderAlAwar fa0f687
Add comment explaining vsmem design
NaderAlAwar 89a51d5
Get PTX version with launcher factory to avoid unsupported toolchain …
NaderAlAwar 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
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.
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
Ideally
VSMemHelperwould be templated ontypename... Tsto avoid repetition, but for some reason nvcc 12.0 does not like that, so I resorted to making it a template parameter of all the methods, which is redundant and looks a bit uglier, but works.