Commit aaeee1ca authored by Robert Maynard's avatar Robert Maynard

CUDA: CompilerId now errors out properly when passed a non CUDA compiler.

Previously we only reported an error if the compiler was a C compiler.
parent bf326ebb
Pipeline #35183 passed with stage
#ifndef __cplusplus
# error "A C compiler has been selected for CUDA/C++."
#ifndef __CUDACC__
# error "A C or C++ compiler has been selected for CUDA"
#endif
@CMAKE_CUDA_COMPILER_ID_CONTENT@
......
Markdown is supported
0% or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment