CUDA compiler (nvcc) macro

做~自己de王妃 提交于 2019-12-03 05:51:22
__CUDACC__

I don't think it will be that trivial. Check the following thread

http://forums.nvidia.com/index.php?showtopic=32369&st=0&p=179913&#entry179913

N. Pattakos

I know it has been long time now, but you might also find __CUDA_ARCH__ useful.

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