-
Notifications
You must be signed in to change notification settings - Fork 190
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
Extract merge sort kernels to NVRTC compilable header #3438
Merged
NaderAlAwar
merged 27 commits into
NVIDIA:main
from
NaderAlAwar:extract-merge-sort-to-nvrtc-header
Jan 23, 2025
Merged
Changes from 15 commits
Commits
Show all changes
27 commits
Select commit
Hold shift + click to select a range
c939b2c
Move merge_sort kernels to separate file
NaderAlAwar 2f44ceb
Add merge_sort nvrtc test
NaderAlAwar 0de0643
Remove include that contains host code and replace with cuda::std
NaderAlAwar 8d42feb
Remove unneeded headers from merge_sort header
NaderAlAwar 7ada1a4
Move LoadIterator to separate header and replace include
NaderAlAwar 465dd84
Add host device macro to has_nested_type to fix nvrtc issue
NaderAlAwar 2a514ae
Extract make_load_iterator into separate file to avoid nvrtc error
NaderAlAwar 617049f
Extract is_thrust_pointer into separate file to avoid nvrtc error
NaderAlAwar c657606
Extract policy_wrapper_t into separate file, forward declare LoadIter…
NaderAlAwar 84b66f2
Extract unwrap_contiguous_iterator into separate file to avoid nvrtc …
NaderAlAwar 0b67d2c
Add missing include following header reorganization
NaderAlAwar 559cd52
Add comment explaining why we forward declare make_load_iterator
NaderAlAwar 108dc42
Add missing iterator include
NaderAlAwar 1fd9031
Add missing thrust config include
NaderAlAwar 4169f33
Merge branch 'main' into extract-merge-sort-to-nvrtc-header
NaderAlAwar 42dc031
Merge branch 'main' of https://github.com/naderalawar/cccl into extra…
NaderAlAwar ff27ef4
Use is_same_v and rearrange include according to formatter
NaderAlAwar 04cdbea
Add missing comment to endif
NaderAlAwar 73c10e6
Use SPDX license instead of longer one
NaderAlAwar 9ba92b8
Use nested namespace specifier
NaderAlAwar 6446316
Use nested namespace specifiers and _v suffix in other files
NaderAlAwar 65c599d
Merge branch 'main' into extract-merge-sort-to-nvrtc-header
NaderAlAwar 9347f1b
Merge branch 'main' into extract-merge-sort-to-nvrtc-header
NaderAlAwar c404d71
Merge branch 'main' of https://github.com/NaderAlAwar/cccl into extra…
NaderAlAwar 271ff98
Merge branch 'main' into extract-merge-sort-to-nvrtc-header
NaderAlAwar 7efa329
Merge branch 'main' of https://github.com/naderalawar/cccl into extra…
NaderAlAwar 63ef177
Merge branch 'main' into extract-merge-sort-to-nvrtc-header
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 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.
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.
This header is part of our global config and should not be included separately
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.
I included this because I need it for
_CCCL_PDL_GRID_DEPENDENCY_SYNC()
. Which header file should I be including instead?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.
none, all of that is already in the cub config
Everything within
cuda/std/__cccl
is supposed to be globally available so every config includes it firstThere 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.
We discussed this offline but the issue is that this header has not been included into the cccl config, so I believe that this is fine for now