HIAI_DestroyGraph
Destroys a graph. It can be called only on the host or Ascend 310 RC. This API is defined in c_graph.h.
Syntax
HIAI_StatusT HIAI_DestroyGraph (uint32_t graphID)
Parameter Description
Parameter |
Description |
Value Range |
---|---|---|
graphID |
Specified graph ID |
- |
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_GRAPH_DESTROY_TIMEOUT |
Destroying a graph timed out. |
3 |
HIAI_GRAPH_ENGINE_DESTROY_FAILED |
Destroying an engine failed. |
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