3.11. CUpti_ActivityDeviceAttribute Struct Reference

[CUPTI Activity API]

This activity record represents information about a GPU device: either a CUpti_DeviceAttribute or CUdevice_attribute value (CUPTI_ACTIVITY_KIND_DEVICE_ATTRIBUTE).

Public Variables

CUpti_ActivityDeviceAttribute::@10  attribute
uint32_t  deviceId
CUpti_ActivityFlag flags
CUpti_ActivityKind kind
CUpti_ActivityDeviceAttribute::@11  value

Variables

CUpti_ActivityDeviceAttribute::@10 CUpti_ActivityDeviceAttribute::attribute [inherited]

The attribute, either a CUpti_DeviceAttribute or CUdevice_attribute. Flag CUPTI_ACTIVITY_FLAG_DEVICE_ATTRIBUTE_CUDEVICE is used to indicate what kind of attribute this is. If CUPTI_ACTIVITY_FLAG_DEVICE_ATTRIBUTE_CUDEVICE is 1 then CUdevice_attribute field is value, otherwise CUpti_DeviceAttribute field is valid.

uint32_t CUpti_ActivityDeviceAttribute::deviceId [inherited]

The ID of the device that this attribute applies to.

CUpti_ActivityFlagCUpti_ActivityDeviceAttribute::flags [inherited]

The flags associated with the device.

See also:

CUpti_ActivityFlag

CUpti_ActivityKindCUpti_ActivityDeviceAttribute::kind [inherited]

The activity record kind, must be CUPTI_ACTIVITY_KIND_DEVICE_ATTRIBUTE.

CUpti_ActivityDeviceAttribute::@11 CUpti_ActivityDeviceAttribute::value [inherited]

The value for the attribute. See CUpti_DeviceAttribute and CUdevice_attribute for the type of the value for a given attribute.