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 ?