Add a testing mode that ensures CPU only code compiles w/o nvcc
Open
- Dominant language
- C++
- Stars
- 2.5k
- Forks
- 487
- Avg merge
- 2d 7h
- Merged PRs (30d)
- 296
Description
As a Thrust user using host-only constructs I expect to be able to compile it without nvcc (i.e., using gcc or clang directly). However, this doesn't always work (see https://github.com/NVIDIA/thrust/issues/386).
We should add a testing mode that ensures host-only code compiles without nvcc.
See https://github.com/NVIDIA/libcudacxx/pull/340 for where @wmaxey did the same thing in libcu++.
Contributor guide
Assessment
This issue has not been assessed yet.