CUpti_NvtxData Struct Reference
[CUPTI Callback API]

Data passed into a NVTX callback function. More...


Data Fields

const char * functionName
const void * functionParams
const void * functionReturnValue


Detailed Description

Data passed into a NVTX callback function as the cbdata argument to CUpti_CallbackFunc. The cbdata will be this type for domain equal to CUPTI_CB_DOMAIN_NVTX. Unless otherwise notes, the callback data is valid only within the invocation of the callback function that is passed the data. If you need to retain some data for use outside of the callback, you must make a copy of that data.

Field Documentation

Name of the NVTX API function which issued the callback. This string is a global constant and so may be accessed outside of the callback.

Pointer to the arguments passed to the NVTX API call. See generated_nvtx_meta.h for structure definitions for the parameters for each NVTX API function.

Pointer to the return value of the NVTX API call. See nvToolsExt.h for each NVTX API function's return value.


Generated on Tue Jul 12 11:16:29 2022 for Cupti by  doxygen 1.5.8