bug: setting ENABLE_CLANG_CUDA and BLT_CXX_STD=c++17 causes error
Open
@johnbowen42 is already working on this.
Since Sep 27, 2023.
clang
cuda
- Dominant language
- C++
- Stars
- 296
- Forks
- 66
- Avg merge
- 1h 3m
- Merged PRs (30d)
- 1
Description
Whenever a project sets ENABLE_CLANG_CUDA=On and BLT_CXX_STD=c++17, CMake errors out inside BLTSetupCUDA.cmake, because
CMake Error at blt_test/blt/cmake/thirdparty/BLTSetupCUDA.cmake:72 (message):
CMake's CUDA_STANDARD does not support C++17.`
This is caused by the variable CMAKE_CUDA_COMPILE_FEATURES not being set when clang cuda is being used. Proejcts should be able to use clang to compile cuda with C++17, if their clang cuda compiler supports this standard.
Contributor guide
First steps
- Read the whole issue, then the project's contributing guide.
- Comment on the issue to say you are picking it up — it saves two people doing the same work.
- Fork the repository and make your change on a branch.
- Open a pull request that references the issue number.
Assessment
This issue has not been assessed yet.