Naming Cuda GPU object

How is it possible to name objects in Cuda?

By naming, I mean to do something similar to SetPrivateData in DirectX (see
http://blogs.msdn.com/b/chuckw/archive/2010/04/15/object-naming.aspx).

My goal is to be able to fill the “Name” column in the Cuda Info window of Nsight.

Any idea?

Kroclebo, The NVIDIA Tools Extension library that ships with the CUDA Toolkit and Nsight Visual Studio Edition allows naming a subset of the CUDA resource types (http://docs.nvidia.com/cuda/profiler-users-guide/index.html#nvtx-naming). Unfortunately, this API is only supported by the analysis tools. The Nsight VSE and cuda-gdb based debuggers do not to my knowledge support programmatic resource naming. I recommend that you submit a feature request through the registered developer program.