HIAI_Init (Common with C++)
Initializes the host device communication (HDC) module of the Matrix. The device ID specified in the graph configuration file is preferred. Otherwise, use the value of deviceID configured below. This API is defined in init.h.
Syntax
HIAI_StatusT HIAI_Init(uint32_t deviceID)
Parameter Description
Parameter |
Description |
Value Range |
---|---|---|
deviceID |
Device ID. The default value is 0. |
0–63 |
Return Value
For details about the returned error codes, see "Error Codes."
Error Codes
No. |
Error Code |
Description |
---|---|---|
1 |
HIAI_OK |
The running is OK. |
2 |
HIAI_INIT_FAIL |
HiAI initialization fails. |
Feedback
Was this page helpful?
Provide feedbackThank you very much for your feedback. We will continue working to improve the documentation.See the reply and handling status in My Cloud VOC.
For any further questions, feel free to contact us through the chatbot.
Chatbot