Skip to content

CUDA: Add support for requesting C++98 under CUDA 9

Robert Maynard requested to merge robertmaynard/cmake:cuda_9_support into master

Starting in CUDA 9 the default compilation mode is C++14, and you need to explicitly enable C++98/03 mode.

While at it, document 14 among the values for CUDA_STANDARD. This was accidentally left out of !830 (merged).

Edited by Brad King

Merge request reports