forked from NVIDIA/cccl
-
Notifications
You must be signed in to change notification settings - Fork 0
Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
Extract merge sort kernels to NVRTC compilable header (NVIDIA#3438)
* Move merge_sort kernels to separate file * Add merge_sort nvrtc test * Remove include that contains host code and replace with cuda::std * Remove unneeded headers from merge_sort header * Move LoadIterator to separate header and replace include * Add host device macro to has_nested_type to fix nvrtc issue * Extract make_load_iterator into separate file to avoid nvrtc error * Extract is_thrust_pointer into separate file to avoid nvrtc error * Extract policy_wrapper_t into separate file, forward declare LoadIterator, and use ::cuda::std instead of std to avoid nvrtc errors * Extract unwrap_contiguous_iterator into separate file to avoid nvrtc errors * Add missing include following header reorganization * Add comment explaining why we forward declare make_load_iterator * Add missing iterator include * Add missing thrust config include * Use is_same_v and rearrange include according to formatter * Add missing comment to endif * Use SPDX license instead of longer one * Use nested namespace specifier * Use nested namespace specifiers and _v suffix in other files
- Loading branch information
1 parent
eee6780
commit e8b7b9c
Showing
21 changed files
with
659 additions
and
437 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
Oops, something went wrong.