CUDA error identifier “__stcs” is undefined

拜拜、爱过 提交于 2021-01-29 16:52:35

问题


I want to use store function with cache hint __stcs on GPU Pascal, CUDA 10.0.

In CUDA C++ Programming Guide there is no mention of any header for data type unsigned long long, but the compiler return an error identifier "__stcs" is undefined.

How to fix this compilation error?


回答1:


These intrinsics require CUDA 11.0, they are new for CUDA 11.0.

If you look at the CUDA 10.0 programming guide you will see they are not mentioned. You can also see that they are mentioned in the "changes from Version 10.2" section of the 11.0 programming guide.

You also need to compile for compute capability 3.5 or higher.



来源:https://stackoverflow.com/questions/62664165/cuda-error-identifier-stcs-is-undefined

标签
易学教程内所有资源均来自网络或用户发布的内容,如有违反法律规定的内容欢迎反馈
该文章没有解决你所遇到的问题?点击提问,说说你的问题,让更多的人一起探讨吧!