3.14. CUpti_ActivityKernel Struct Reference
[CUPTI Activity API]
This activity record represents a kernel execution (CUPTI_ACTIVITY_KIND_KERNEL and CUPTI_ACTIVITY_KIND_CONCURRENT_KERNEL) but is no longer generated by CUPTI. Kernel activities are now reported using the CUpti_ActivityKernel2 activity record.
Public Variables
- int32_t blockX
- int32_t blockY
- int32_t blockZ
- uint8_t cacheConfigExecuted
- uint8_t cacheConfigRequested
- uint32_t contextId
- uint32_t correlationId
- uint32_t deviceId
- int32_t dynamicSharedMemory
- uint64_t end
- int32_t gridX
- int32_t gridY
- int32_t gridZ
- CUpti_ActivityKind kind
- uint32_t localMemoryPerThread
- uint32_t localMemoryTotal
- const char * name
- uint32_t pad
- uint16_t registersPerThread
- void * reserved0
- uint32_t runtimeCorrelationId
- uint64_t start
- int32_t staticSharedMemory
- uint32_t streamId
Variables
- int32_t CUpti_ActivityKernel::blockX [inherited]
-
The X-dimension block size for the kernel.
- int32_t CUpti_ActivityKernel::blockY [inherited]
-
The Y-dimension block size for the kernel.
- int32_t CUpti_ActivityKernel::blockZ [inherited]
-
The Z-dimension grid size for the kernel.
- uint8_t CUpti_ActivityKernel::cacheConfigExecuted [inherited]
-
The cache configuration used for the kernel. The value is one of the CUfunc_cache enumeration values from cuda.h.
- uint8_t CUpti_ActivityKernel::cacheConfigRequested [inherited]
-
The cache configuration requested by the kernel. The value is one of the CUfunc_cache enumeration values from cuda.h.
- uint32_t CUpti_ActivityKernel::contextId [inherited]
-
The ID of the context where the kernel is executing.
- uint32_t CUpti_ActivityKernel::correlationId [inherited]
-
The correlation ID of the kernel. Each kernel execution is assigned a unique correlation ID that is identical to the correlation ID in the driver API activity record that launched the kernel.
- uint32_t CUpti_ActivityKernel::deviceId [inherited]
-
The ID of the device where the kernel is executing.
- int32_t CUpti_ActivityKernel::dynamicSharedMemory [inherited]
-
The dynamic shared memory reserved for the kernel, in bytes.
- uint64_t CUpti_ActivityKernel::end [inherited]
-
The end timestamp for the kernel execution, in ns. A value of 0 for both the start and end timestamps indicates that timestamp information could not be collected for the kernel.
- int32_t CUpti_ActivityKernel::gridX [inherited]
-
The X-dimension grid size for the kernel.
- int32_t CUpti_ActivityKernel::gridY [inherited]
-
The Y-dimension grid size for the kernel.
- int32_t CUpti_ActivityKernel::gridZ [inherited]
-
The Z-dimension grid size for the kernel.
- CUpti_ActivityKindCUpti_ActivityKernel::kind [inherited]
-
The activity record kind, must be CUPTI_ACTIVITY_KIND_KERNEL or CUPTI_ACTIVITY_KIND_CONCURRENT_KERNEL.
- uint32_t CUpti_ActivityKernel::localMemoryPerThread [inherited]
-
The amount of local memory reserved for each thread, in bytes.
- uint32_t CUpti_ActivityKernel::localMemoryTotal [inherited]
-
The total amount of local memory reserved for the kernel, in bytes.
- const char * CUpti_ActivityKernel::name [inherited]
-
The name of the kernel. This name is shared across all activity records representing the same kernel, and so should not be modified.
- uint32_t CUpti_ActivityKernel::pad [inherited]
-
Undefined. Reserved for internal use.
- uint16_t CUpti_ActivityKernel::registersPerThread [inherited]
-
The number of registers required for each thread executing the kernel.
- void * CUpti_ActivityKernel::reserved0 [inherited]
-
Undefined. Reserved for internal use.
- uint32_t CUpti_ActivityKernel::runtimeCorrelationId [inherited]
-
The runtime correlation ID of the kernel. Each kernel execution is assigned a unique runtime correlation ID that is identical to the correlation ID in the runtime API activity record that launched the kernel.
- uint64_t CUpti_ActivityKernel::start [inherited]
-
The start timestamp for the kernel execution, in ns. A value of 0 for both the start and end timestamps indicates that timestamp information could not be collected for the kernel.
- int32_t CUpti_ActivityKernel::staticSharedMemory [inherited]
-
The static shared memory allocated for the kernel, in bytes.
- uint32_t CUpti_ActivityKernel::streamId [inherited]
-
The ID of the stream where the kernel is executing.