Skip to content
  • Robert Maynard's avatar
    CUDA: forward unknown flags to host compiler when possible. · 7f15c998
    Robert Maynard authored
    Starting with CUDA 10.2 the nvcc compiler has gained support
    to automatically forward unknown flags to the host compiler.
    
    This behavior is highly desired as projcts that mix CUDA, C, C++
    run into situation where flags such as `-pthread` which aren't
    supported by nvcc, are being applied to all source files and
    therefore break CUDA compilation.
    7f15c998