I'm profiling a kernel compiled (with debug and lineinfo) using the nvrtc library. In the profiling results, many of the samples are listed as being within __nv_nvrtc_builtin_header.h
. However - there is obviously no such file on disk, and naturally (?) the NVIDIA Compute source view can't locate it.
My questions:
- What is actually in the
__nv_nvrtc_builtin_header.h
? - Is it possible for me to view the contents of this mysterious header? (If it helps, assume the code I use to perform the compilation can be adapted/added to.)
All the standard definitions you would otherwise get in the standard CUDA includes and internal toolchain/host compiler headers the toolchain automagically includes during compilation. Just all assembled into one huge file.
The header is contained within the the
nvrtc-builtins
library, and you should be able to use the requisite library dump utility on your platform to view it. for example:(probable EULA violations if I show more...)