NVTX_DECLSPEC void NVTX_API nvtxNameCuContextW ( CUcontext  context,
const wchar_t *  name 
)

Allows the user to associate a CUDA context with a user-provided name.

Parameters:
context- The handle of the CUDA context to name.
name- The name of the CUDA context.
Example:
CUresult status = cuCtxCreate( &cuContext, 0, cuDevice );
if ( CUDA_SUCCESS != status )
goto Error;
nvtxNameCuContext(cuContext, "CTX_NAME");
Version:
Supported with NVTX version 1 or higher.

Generated by Doxygen for NVIDIA Tools Extension Library  NVIDIA