3.7. 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::@6 attribute
- uint32_t deviceId
- CUpti_ActivityFlag flags
- CUpti_ActivityKind kind
- CUpti_ActivityDeviceAttribute::@7 value
Variables
- CUpti_ActivityDeviceAttribute::@6 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]
- CUpti_ActivityKindCUpti_ActivityDeviceAttribute::kind [inherited]
-
The activity record kind, must be CUPTI_ACTIVITY_KIND_DEVICE_ATTRIBUTE.
- CUpti_ActivityDeviceAttribute::@7 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.