Data Fields | |
union { | |
} | attribute |
uint32_t | deviceId |
CUpti_ActivityFlag | flags |
CUpti_ActivityKind | kind |
union { | |
} | value |
union { ... } CUpti_ActivityDeviceAttribute::attribute |
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.
The ID of the device that this attribute applies to.
The flags associated with the device.
The activity record kind, must be CUPTI_ACTIVITY_KIND_DEVICE_ATTRIBUTE.
union { ... } CUpti_ActivityDeviceAttribute::value |
The value for the attribute. See CUpti_DeviceAttribute and CUdevice_attribute for the type of the value for a given attribute.