If an error occurs during application running, you can refer to Log Reference to obtain the log file and view the error details. Take the following steps to fix the error:
- If the error is caused by an API call sequence, adjust your API call sequence by referring to the general restrictions and the API-specific restrictions.
- For an AI Core execution error, locate the cause of the error as follows:
- Call the AscendCL API to obtain the description of the error operator for further analysis. See AI Core Troubleshooting for details.
- Use the AI Core Error Analyzer to specify the operator build temporary file (generated by the ATC tool) and log file to analyze the input/output and instruction information of the error operator. For details about the AI Core Error Analyzer, see AI Core Error Analyzer Instructions.
- For the Ascend 310 AI Processor, find the list of FAQs that point to common troubleshooting techniques in Troubleshooting.