Known Issues#
Kernels launched from a subprocess which is created within the annotated region will not be profiled.
For the
@nsight.analyze.kernel’sreplay_mode="range"option, only a subset of CUDA APIs are supported within the annotated range. If an unsupported API call is detected, an error will be reported. For details on supported APIs, refer to the NVIDIA Nsight Compute Profiling Guide. In such cases, you can either switch toreplay_mode="kernel"or modify the code to exclude the unsupported API from the annotated range.Nested annotations (using
nsight.annotatewithin anothernsight.annotatecontext) are not supported. nsight-python errors out when nested annotations are used.*argsand**kwargsin decorated function signatures are tolerated but ignored — they will always be empty and will not appear in the profiling output.Calling
@nsight.analyze.kernel-decorated functions from multiple threads is not supported, whether the threads run sequentially or concurrently.Each annotation must launch the same number of kernels across configurations and repeated runs, even with
combine_kernel_metrics. Different counts may cause an error or incorrect results. Profile configurations separately when their kernel counts differ.