问题
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