Overview
The CUDA Profiling Tools Interface (CUPTI) enables the creation of profiling and tracing tools that target CUDA applications. CUPTI provides the following APIs: the Activity API, the Callback API, the Event API, the Metric API and the Profiler API. Using these APIs, you can develop profiling tools that give insight into the CPU and GPU behavior of CUDA applications. CUPTI is delivered as a dynamic library on all platforms supported by CUDA.
What's New
CUPTI contains below change as part of the CUDA Toolkit 11.3 release.
- 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 related APIs NVPW_MetricsContext_* from the header nvperf_host.h. It is recommended to use the struct NVPW_MetricsEvaluator and related APIs NVPW_MetricsEvaluator_* instead. Profiling API samples have been updated to show how to use these APIs.
- cuptiDeviceGetTimestamp from the header cupti_events.h.