NVIDIA / NVIDIA/cccl

Explore precompiling shared `Device[Segmented][Radix]Sort` invocations serving as test-reference via extern template

Open
#9,413 0 comments 1 reaction 0 assignees View on GitHub
Dominant language
C++
Stars
2.5k
Forks
486
Avg merge
2d 6h
Merged PRs (30d)
295

Description

The segmented top-k tests use `cub::DeviceSegmentedRadixSort` only as a verification reference. The compilation of the sort algorithm specializations is contributing a majority of the compilation time. We want to explore compiling the shared reference instantiations once and extern template-ing them in the consuming TUs. We want to explore this applicability beyond just top-k.

Contributor guide

Open the contributing guide

Assessment

This issue has not been assessed yet.

Get new issues in your inbox

A short digest of beginner-friendly GitHub issues.