Statically assert that `CCCL_C_EXPERIMENTAL` corresponds to the correct launcher factory
Open
- Dominant language
- C++
- Stars
- 2.5k
- Forks
- 486
- Avg merge
- 2d 6h
- Merged PRs (30d)
- 295
Description
When CUB is compiled from CCCL C, `CCCL_C_EXPERIMENTAL` is defined and a few code paths are changed accordingly. This goes along with instantiating CCCL C using a different launcher factory. There is an implicit assumption in CUB dispatchers, that the launcher and macro are in sync. We should add a static assertion verifying this, so users don't try to enable `CCCL_C_EXPERIMENTAL` themselves without also using the appropriate launcher.
Contributor guide
Assessment
This issue has not been assessed yet.