How to obtain kernels information by user's own code rather than profiler tools?

I know how to obtain kernels information through NVIDIA profiler tools, such as nvprof 、nvvp、Nsight and so on. I’d like to know if there are any registers in the GPU to store kernels information. And is there any API interface to access these kernels information rather using profiler tools?

Hi, it’s not possible.