nvcc fatal : The version ('40001') of the host compiler ('clang') is not supported


nvcc fatal : The version ('40001') of the host compiler ('clang') is not supported



When I tried to add Cuda to my plugin on CloudCompare I got this message and I can't compile my plugin


CloudCompare


nvcc warning : The 'compute_20', 'sm_20', and 'sm_21' architectures are deprecated, and may be removed in a future release (Use -Wno-deprecated-gpuo suppress warning).
nvcc fatal : The version ('40001') of the host compiler ('clang') is not supported





As stated by the error: you are trying to compile the cuda kernel with a compiler that is not supported. Install a compiler that is supported by nvidia.
– Matteo Ragni
Jun 29 at 9:29





Also, you have an old platform, and it will not be supported in a future release of Cuda. As for now it is not a problem, and if you don't want to see that warning add to yours CXXFLAGS the option: -Wno-deprecated-gpuo
– Matteo Ragni
Jun 29 at 9:31



CXXFLAGS


-Wno-deprecated-gpuo









By clicking "Post Your Answer", you acknowledge that you have read our updated terms of service, privacy policy and cookie policy, and that your continued use of the website is subject to these policies.

Comments

Popular posts from this blog

paramiko-expect timeout is happening after executing the command

Opening a url is failing in Swift

Export result set on Dbeaver to CSV