• Raul Tambre's avatar
    CUDA: Clang CUDA 11.1 support · 440dc98b
    Raul Tambre authored
    version.txt is gone from CUDA 11.1 installations, but the rest is the same.
    Instead of looking for version.txt look for <CUDA path>/nvvm/libdevice, which
    is the main thing that Clang requires (though it also checks for the existence
    of bin and include).
    Fixes #21353.
CMakeDetermineCUDACompiler.cmake 26.9 KB