You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
when using nvc++ as a c++ compiler, CMake fails with this error:
CMake Error at cmake/CCCLBuildCompilerTargets.cmake:34 (message):
CCCL developer builds require that CMAKE_CUDA_HOST_COMPILER exactly matches
CMAKE_CXX_COMPILER when using nvcc:
How to Reproduce
cmake /path/to/cccl
Expected behavior
To see thrust tests/examples being pulled and passed successfully.
Reproduction link
No response
Operating System
No response
nvidia-smi output
No response
NVCC version
No response
The text was updated successfully, but these errors were encountered:
This is expected when CMake has different settings for the CUDA host compiler and C++ compiler. Our build system for tests/examples requires that the CXX and CUDA_HOST compilers match. Try:
Do we always need to set CUDA-related environment variables, even if the tests are not meant to be compiled for the device? It seems that CUDA_COMPILER and CUDA_HOST_COMPILER are required even for host-only tests. Can we separate them?
Is this a duplicate?
Type of Bug
Something else
Component
Thrust
Describe the bug
After this commit:
4f5c287
when using nvc++ as a c++ compiler, CMake fails with this error:
How to Reproduce
cmake /path/to/cccl
Expected behavior
To see thrust tests/examples being pulled and passed successfully.
Reproduction link
No response
Operating System
No response
nvidia-smi output
No response
NVCC version
No response
The text was updated successfully, but these errors were encountered: