CUDA Profiler Tools Interface (CUPTI) 13.3 is now available

CUDA Profiler Tools Interface (CUPTI) 13.3 is now available for download in the NVIDIA Registered Developer Program.

The NVIDIA CUDA Profiler Tools Interface (CUPTI), distributed as part of the CUDA Toolkit, is a library that enables the creation of profiling and tracing tools that target CUDA applications. CUPTI provides a set of APIs targeted at ISVs creating profilers and other performance optimization tools:
  • the Activity API,
  • the Callback API,
  • the Host Profiling API,
  • the Range Profiling API,
  • the PC Sampling API,
  • the SASS Metric API,
  • the PM Sampling API,
  • the Checkpoint API,
  • the Profiling API,
  • the Python API (available separately)
Using these CUPTI APIs, independent software developers can create profiling tools that provide low and deterministic profiling overhead on the target system, while giving insight into the CPU and GPU behavior of CUDA applications.

Updates in CUDA Toolkit 13.3 Update 1

    Resolved Issues
    • Added the green context ID to device graph trace records for activities executed on green contexts, replacing the primary context ID.

    • Fixed an issue that caused CUPTI to report incorrect UUIDs and missing metadata for MIG instances not visible to the current process. CUPTI now accurately reports device information for all MIG instances on the system, regardless of CUDA_VISIBLE_DEVICES settings.

    • Fixed a segmentation fault that occurred when calling the cuptiIsTracingSessionEnabled API in CUDA Enhanced Compatibility environments.

    • Fixed a potential crash caused by simultaneous GPU activity tracing requests in multi-subscriber mode.

Updates in CUDA Toolkit 13.3

    New Features
    • The User-Defined Activity Records feature is transitioning from Beta to production in this release. For more details, refer to CUPTI User-Defined Activity Records and CUDA tracing with User-Defined Activity Records.

    • The Multiple Subscribers for Activity Tracing feature is transitioning from Beta to production in this release. For more details, refer to Multiple Subscribers.

    • Added support for profiling workloads on Green Contexts with the new APIs cuptiRangeProfilerGetDevicePartitionInfo and cuptiProfilerHostSetDevicePartitionInfo. These APIs enable retrieval and configuration of device partition information, ensuring accurate metric evaluation by accounting for partitioned device resources. The cuptiRangeProfilerGetDevicePartitionInfo API retrieves partition information from the range profiler, while cuptiProfilerHostSetDevicePartitionInfo applies this information to the profiler host for metric scaling.

    • Enhanced the cuptiActivityEnableHWTrace API to allow invocation before CUDA driver initialization. After driver initialization, CUPTI may switch to semaphore-based tracing if HES based tracing is unsupported, with errors reported via callbacks in the CUPTI_CB_DOMAIN_STATE domain.

    • Added profiling support for previously unsupported SKUs, with reduced metric support, including GPUs such as RTX 6000D BSE (GB202-891), RTX 5090DD (GB202-240), and RTX 5090D (GB202-250). For more details, refer to ERR_NVGPU. To indicate this limited support, CUPTI has added the CUPTI_PROFILER_CONFIGURATION_LIMITED_SUPPORT value to the CUpti_Profiler_Support_Level enum to indicate limited support for these SKUs. When using the counter availability image, CUPTI will list all supported metrics during a query, and report an error for unsupported metrics during config image creation. If no counter availability image is provided, CUPTI will instead return NaN values for unsupported metrics when evaluating the counter data image.

    Resolved Issues
    • Fixed an issue where repeatedly calling a CUPTI API could result in an overall performance drop. This issue was introduced in the CUDA 13.2 release.

    • Fixed a memory leak that occurred when tracing a CUDA graph containing memcpy or memset nodes, even when these activities were not enabled.

Getting Started

Latest PRODUCT INFO