CUpti_ActivityEnvironment Struct Reference
[CUPTI Activity API]

The activity record for CUPTI environmental data. More...


Data Fields

uint32_t deviceId
CUpti_ActivityEnvironmentKind environmentKind
CUpti_ActivityKind kind
uint64_t timestamp
CUpti_EnvironmentClocksThrottleReason clocksThrottleReasons
struct {
   uint32_t   fanSpeed
cooling
uint32_t gpuTemperature
uint32_t memoryClock
uint32_t pcieLinkGen
uint32_t pcieLinkWidth
struct {
   uint32_t   power
   uint32_t   powerLimit
power
uint32_t smClock
struct {
   CUpti_EnvironmentClocksThrottleReason   clocksThrottleReasons
   uint32_t   memoryClock
   uint32_t   pcieLinkGen
   uint32_t   pcieLinkWidth
   uint32_t   smClock
speed
struct {
   uint32_t   gpuTemperature
temperature


Detailed Description

This activity record provides CUPTI environmental data, include power, clocks, and thermals. This information is sampled at various rates and returned in this activity record. The consumer of the record needs to check the environmentKind field to figure out what kind of environmental record this is.

Field Documentation

The clocks throttle reasons.

Data returned for CUPTI_ACTIVITY_ENVIRONMENT_COOLING environment kind.

The ID of the device

The kind of data reported in this record.

The fan speed as percentage of maximum.

The GPU temperature in degrees C.

The activity record kind, must be CUPTI_ACTIVITY_KIND_ENVIRONMENT.

The memory frequency in MHz

The PCIe link generation.

The PCIe link width.

Data returned for CUPTI_ACTIVITY_ENVIRONMENT_POWER environment kind.

The power in milliwatts consumed by GPU and associated circuitry.

The power in milliwatts that will trigger power management algorithm.

The SM frequency in MHz

Data returned for CUPTI_ACTIVITY_ENVIRONMENT_SPEED environment kind.

Data returned for CUPTI_ACTIVITY_ENVIRONMENT_TEMPERATURE environment kind.

The timestamp when this sample was retrieved, in ns. A value of 0 indicates that timestamp information could not be collected for the marker.


Generated on Sun Feb 14 21:14:24 2021 for Cupti by  doxygen 1.5.8