msptiCallbackDomain

msptiCallbackDomain is the callback domain enumeration class of the msptiEnableCallback, msptiEnableDomain, and msptiCallbackFunc calls.

Each enumerated value represents a set of callback points for related API functions or CANN driver activities. The definition is as follows:

1
2
3
4
5
6
7
typedef enum {
	MSPTI_CB_DOMAIN_INVALID = 0,    // Invalid value.
	MSPTI_CB_DOMAIN_RUNTIME = 1,    // Callback points related to the Runtime API.
	MSPTI_CB_DOMAIN_HCCL = 2,    // Callback points related to the communication API.
	MSPTI_CB_DOMAIN_SIZE,
	MSPTI_CB_DOMAIN_FORCE_INT = 0x7fffffff
} msptiCallbackDomain;