The present application discloses a complex computing device, a method, an artificial intelligence chip, an electronic device, and a program, and relates to the field of an artificial intelligence chip. Specific implementation plans are as follows. That is: the input interface receives the complex calculation command, and according to the type of calculation in each complex calculation command, the input interface mediates each complex calculation command to the corresponding calculation element, respectively; each calculation element is connected to the input interface, obtains the raw operand from the complex calculation instruction to proceed with the complex calculation, generates a calculation result instruction and feeds it back to the output interface; The output interface arbitrates the calculation result in each calculation result command to the corresponding command source based on the indication of the command source in each calculation result command. The technical solution of the present application realizes multi-AI processor core sharing SFU, reduces the data path of complicated calculation, and can reduce the area and power consumption of the AI chip.
展开▼