msptiActivityKind
msptiActivityKind enumerates the data structure types of the HcclData, KernelData, MarkerData, and RangeMarkerData calls.
MSPTI uses msptiActivityKind to classify all data that can be profiled. Each enumerated value corresponds to a data structure type. The definition is as follows:
1 2 3 4 5 6 7 8 | class MsptiActivityKind(Enum): MSPTI_ACTIVITY_KIND_INVALID = 0 # Invalid value. MSPTI_ACTIVITY_KIND_MARKER = 1 # Activity record type of the MSPTI marker capability (marking instantaneous events). The maximum number of makers is the maximum value of uint32_t. The returned struct is or . MSPTI_ACTIVITY_KIND_KERNEL = 2 # Activity record type of compute operator information in the ACLNN scenario. The returned struct is . MSPTI_ACTIVITY_KIND_API = 3 # Reserved. MSPTI_ACTIVITY_KIND_HCCL = 4 # Activity record of the communication operator information. The returned struct is . MSPTI_ACTIVITY_KIND_COUNT MSPTI_ACTIVITY_KIND_FORCE_INT = 0x7fffffff |
Parent topic: Enumeration Type