OptiX Shader Kernel Profiling

Hello, I’m having trouble viewing the details of specific shaders inside optix. Specifically I want to see the timing details of each shader (and also the speed of light if possible), but I’m currently only given the optixLaunch kernel details. Currently using nsight compute 2025.3.1, nsight system 2025.5.1. I’m on NVIDIA RTX 5090, NVIDIA-SMI 580.95.05, Driver Version: 580.95.05, CUDA Version: 13.0.

Below is my settings for nsight compute:

export OPTIX_FORCE_DEPRECATED_LAUNCHER=CBL1 

cd $BUILD_DIR

ncu --target-processes all \
    --kernel-name-base function \
      --section LaunchStats --section Occupancy --section SpeedOfLight\
      -o ncu_optixSphere \
      -f \
      -- "$BUILD_DIR/bin/optixSphere" \
      -f ./optixSphere.png

nsys profile -t cuda,osrt \
      -o optixSphere_trace \
      --force-overwrite=true \
      -- "$BUILD_DIR/bin/optixSphere" -f ./optixSphere.png

Hi, @hongruiz

There is no shader support in Nsight Compute.
Please refer Nsight Compute Documentation — NsightCompute 13.0 documentation. No shader related info.

This topic was automatically closed 14 days after the last reply. New replies are no longer allowed.