In CUDA Toolkit 13, cupti_profiler_host.h and cupti_pcsampling_util.h seem to include C++ STL headers, while on the main page of the CUPTI docs it is stated that:
The CUDA Profiling Tools Interface (CUPTI) provides a C-based interface
Is there any intent for CUPTI to migrate to use a C++ API in the foreseeable future? I am asking this because I am working on Rust bindings for CUPTI. Generating bindings for C++ is more complicated than for C, so I would prefer for it to retain its pure C API.
Perhaps the inclusion of <string> in the first header is simply a bug?
I understand the second header is just a small optional utility library, so this doesn’t bother me much.