Is there any documentation for NVCC's `#pragma nv_exec_check_disable` and/or `#pragma hd_warning_disable`?

谁说我不能喝 提交于 2019-12-04 03:43:52

问题


Some projects use

#pragma nv_exec_check_disable

and/or

#pragma hd_warning_disable

to silence NVCC warnings about

warning: calling a __host__ function from a __host__ __device__ function is not allowed`

However they seem completely undocumented, e.g. in the CUDA 9.1 reference.

Is there any relevant documentation anywhere ?

来源:https://stackoverflow.com/questions/49328130/is-there-any-documentation-for-nvccs-pragma-nv-exec-check-disable-and-or-p

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