Revert Apple Clang Version For NVCC

后端 未结 9 1650
说谎
说谎 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:32

    I would try homebrew's version of llvm, it works for me. brew install llvm37

    Then, set your compiler to homebrew's clang: /usr/local/bin/clang++-3.7 or whatever respondes to which clang++-3.7

    That way you can leave your OS X dev environment defaults as they are.

提交回复
热议问题