Revert Apple Clang Version For NVCC

后端 未结 9 1647
说谎
说谎 2020-12-23 12:04

I am trying to run NVCC to compile a CUDA program on my Mac.

When I try to run NVCC, I am receiving the following error: \"nvcc fatal : The version (\'70300\') of

9条回答
  •  悲哀的现实
    2020-12-23 12:34

    1. Go to https://developer.apple.com/downloads/, log in and then download http://adcdownload.apple.com/Developer_Tools/Command_Line_Tools_OS_X_10.11_for_Xcode_7.2/Command_Line_Tools_OS_X_10.11_for_Xcode_7.2.dmg, and install, as was suggested by fabregaszy.
    2. Run the following command to switch to the old version: sudo xcode-select --switch /Library/Developer/CommandLineTools
    3. Run the following command to quickly check clang version: clang --version

提交回复
热议问题