Nvidia Visual Profiler

I’m using the visual profiler that comes with CUDA 5.0 to profile an application that uses multiple OptiX and CUDA kernels. The profiler nicely shows when each CUDA kernel is called along with the method name of that kernel. However, all of the OptiX kernels appear with the same name: __globfunc__Z7trace_0v.

Is there any way to change the name used for a kernel, for instance, to make it similar to the name of the ray generation program it uses?

As far as I know this is not possible since the name you pointed out is one of the OptiX kernels responsible of the ray tracing work. It is used for internal purposes and it is directly managed by OptiX.