CUpti_ActivityAPI Struct Reference
[CUPTI Activity API]

The activity record for a driver or runtime API invocation. More...


Data Fields

CUpti_CallbackId  cbid
uint32_t  correlationId
uint64_t  end
CUpti_ActivityKind  kind
uint32_t  processId
uint32_t  returnValue
uint64_t  start
uint32_t  threadId

Detailed Description

This activity record represents an invocation of a driver or runtime API (CUPTI_ACTIVITY_KIND_DRIVER and CUPTI_ACTIVITY_KIND_RUNTIME).

Field Documentation

The ID of the driver or runtime function.

The correlation ID of the driver or runtime CUDA function. Each function invocation is assigned a unique correlation ID that is identical to the correlation ID in the memcpy, memset, or kernel activity record that is associated with this function.

The end timestamp for the function, in ns. A value of 0 for both the start and end timestamps indicates that timestamp information could not be collected for the function.

The activity record kind, must be CUPTI_ACTIVITY_KIND_DRIVER, CUPTI_ACTIVITY_KIND_RUNTIME, or CUPTI_ACTIVITY_KIND_INTERNAL_LAUNCH_API.

The ID of the process where the driver or runtime CUDA function is executing.

The return value for the function. For a CUDA driver function with will be a CUresult value, and for a CUDA runtime function this will be a cudaError_t value.

The start timestamp for the function, in ns. A value of 0 for both the start and end timestamps indicates that timestamp information could not be collected for the function.

The ID of the thread where the driver or runtime CUDA function is executing.


Generated on Tue Jul 21 01:14:13 2020 for Cupti by  doxygen 1.5.8