The NVIDIA® CUDA Profiling Tools Interface (CUPTI) is a dynamic 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 Event API,
- the Metric API, and
- the Profiler API
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.
CUPTI for CUDA Toolkit 11.3 includes these improvements:
- A new set of CUPTI APIs for PC sampling data collection are provided in the header file cupti_pcsampling.h which support continuous mode data collection without serializing kernel execution and have a lower runtime overhead. Along with these a utility library is provided in the header file cupti_pcsampling_util.h which has APIs for GPU assembly to CUDA-C source correlation and for reading and writing the PC sampling data from/to files. Refer to the section CUPTI PC Sampling API for more details.
- Overhead reduction for tracing of CUDA memcopies.
- Enum
CUpti_PcieGen
is extended to include PCIe Gen 5. - The following functions are deprecated and will be removed in a future release:
- Struct
NVPA_MetricsContext
and relatedAPIs NVPW_MetricsContext_*
from the header nvperf_host.h. It is recommended to use the structNVPW_MetricsEvaluator
and related APIsNVPW_MetricsEvaluator_*
instead. Profiling API samples have been updated to show how to use these APIs. -
cuptiDeviceGetTimestamp
from the header cupti_events.h.
- Struct
Requirements
For more information on CUPTI for CUDA Toolkit 11.3 , including features, requirements, documentation and support, please visit the CUPTI Overview page .
To download this version, get it as part of the CUDA Toolkit 11.3 .