msptiCallbackFunc
Applicability
Product |
Supported (Yes/No) |
|---|---|
Atlas A3 Training Series Product |
Yes |
Atlas A2 Training Series Product/Atlas 800I A2 Inference Product |
Yes |
Atlas 200/500 A2 Inference Product |
Yes |
Atlas Inference Series Product |
x |
Atlas Training Series Product |
x |
Function Description
Type of the callback function
Prototype
1 | typedef void (*msptiCallbackFunc)(void *userdata, msptiCallbackDomain domain, msptiCallbackId cbid, const msptiCallbackData *cbdata) |
Options
Option |
Input/Output |
Description |
|---|---|---|
userdata |
Input |
User data address. |
domain |
Input |
Domain to which the current callback trigger belongs. |
cbid |
Input |
ID of the current callback trigger. |
cbdata |
Input |
Additional information about the current callback trigger. If domain is set to MSPTI_CB_DOMAIN_RUNTIME, cbdata is of the msptiCallbackData type. |
Return Value
None.
Parent topic: msptiActivityHccl