Closed enemy1205 closed 1 year ago
Maybe g++/gcc version not compatible,
Also can see https://forums.developer.nvidia.com/t/cuda-11-5-samples-throw-multiple-error-attribute-malloc-does-not-take-arguments/192750
Which developer blog post or code sample directory are you referring to? This is a bit of a large monorepo, so please be specific.
Maybe g++/gcc version not compatible, Also can see https://forums.developer.nvidia.com/t/cuda-11-5-samples-throw-multiple-error-attribute-malloc-does-not-take-arguments/192750
Thanks for your reply, I have since found out that this is indeed the problem, only newer CUDA supports gcc 11 and above
When I try to make the test case with Cmake, I met this error:
I think the main reason is
Detecting CUDA compiler ABI info - failed
The CMakeLists begin with below:Test environment: