NVIDIA / NVIDIA/cccl

Add a testing mode that ensures CPU only code compiles w/o nvcc

Open
#830 0 comments 0 reactions 0 assignees View on GitHub
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

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.