3.1. CUpti_Activity Struct Reference
The activity API uses a CUpti_Activity as a generic representation for any activity. The 'kind' field is used to determine the specific activity kind, and from that the CUpti_Activity object can be cast to the specific activity record type appropriate for that kind.
Note that all activity record types are padded and aligned to ensure that each member of the record is naturally aligned.