US 11,989,560 B2
Method and device for executing instructions to perform artificial intelligence
Yitong Zhao, Beijing (CN); and Xing Wei, Beijing (CN)
Assigned to BEIJING HORIZON ROBOTICS TECHNOLOGY RESEARCH AND DEVELOPMENT CO., LTD., Beijing (CN)
Filed by BEIJING HORIZON ROBOTICS TECHNOLOGY RESEARCH AND DEVELOPMENT CO., LTD., Beijing (CN)
Filed on Apr. 7, 2021, as Appl. No. 17/224,473.
Claims priority of application No. 202010271369.1 (CN), filed on Apr. 8, 2020.
Prior Publication US 2021/0318879 A1, Oct. 14, 2021
Int. Cl. G06F 9/38 (2018.01); G06F 9/32 (2018.01); G06N 3/063 (2023.01)
CPC G06F 9/3836 (2013.01) [G06F 9/32 (2013.01); G06N 3/063 (2013.01)] 15 Claims
OG exemplary drawing
 
1. An instruction execution method, comprising:
acquiring an exceptional signal generated by a neural network processor during an operation by means of detecting multiple types of errors encountered by the neural network processor through multiple types of error detectors inside the neural network processor;
according to the exceptional signal, determining an exception processing instruction corresponding to the exceptional signal;
determining a first instruction queue to be executed by the neural network processor;
generating a second instruction queue according to the exception processing instruction and the first instruction queue; and
executing the second instruction queue,
wherein generating the second instruction queue according to the exception processing instruction and the first instruction queue comprises:
determining processing priority corresponding to the exception processing instruction, according to the exception processing instruction; and
according to the processing priority, inserting the exception processing instruction into the first instruction queue to generate the second instruction queue.