Skip to content

Commit

Permalink
cub::DeviceRadixSor works with a hack:
Browse files Browse the repository at this point in the history
- Code compiles and a test in tests/cuv_sort.cu outputs a correct answer

HACK: combined Topkey, key into a single unit64_t.
- This is to avoid using a struct with two uint32_t members. Which is not supported by cub::DeviceRadixSort::SortPairs.
- TODO: use `thrust::sort_by_key` instead of `cub::DeviceRadixSort::SortPairs`
  • Loading branch information
qezlou authored and sbird committed Dec 27, 2024
1 parent a550d88 commit 9704efa
Show file tree
Hide file tree
Showing 2 changed files with 994 additions and 0 deletions.
Loading

0 comments on commit 9704efa

Please sign in to comment.