- Main Page
- Modules
- Data Structures
- Related Pages

nvtxNameCategoryA
nvtxNameCategoryW
nvtxNameClCommandQueueA
nvtxNameClCommandQueueW
nvtxNameClContextA
nvtxNameClContextW
nvtxNameClDeviceA
nvtxNameClDeviceW
nvtxNameClEventA
nvtxNameClEventW
nvtxNameClMemObjectA
nvtxNameClMemObjectW
nvtxNameClProgramA
nvtxNameClProgramW
nvtxNameClSamplerA
nvtxNameClSamplerW
nvtxNameCuContextA
nvtxNameCuContextW
nvtxNameCudaDeviceA
nvtxNameCudaDeviceW
nvtxNameCudaEventA
nvtxNameCudaEventW
nvtxNameCudaStreamA
nvtxNameCudaStreamW
nvtxNameCuDeviceA
nvtxNameCuDeviceW
nvtxNameCuEventA
nvtxNameCuEventW
nvtxNameCuStreamA
nvtxNameCuStreamW
nvtxNameOsThreadA
nvtxNameOsThreadW

NVTX_DECLSPEC void NVTX_API nvtxNameClProgramA | ( | cl_program | program,
|  | const char * | name
| ) |  |

Allows to associate an OpenCL program with a user-provided name.

Parameters:

  program | - The handle of the OpenCL program to name.
  name | - The name of the OpenCL program.

cpProgram = clCreateProgramWithSource(cxGPUContext, 1,
(const char **) &cSourceCL, &program_length, &ciErrNum);
shrCheckErrorEX(ciErrNum, CL_SUCCESS, pCleanup);
nvtxNameClProgram(cpProgram, L"PROGRAM_NAME");

Version:
  Supported with NVTX version 1 or higher.