Method of synergetic computer comprising heterogeneous processors

The invention provides a method of synergetic computer comprising heterogeneous processors, which comprises a general-purpose processor and a synergetic processor. The general-purpose processor and the synergetic processor respectively implement respective instruction set; and through compiling an application programme comprising two kinds of codes which respectively correspond to the general-purpose processor and the synergetic processor is compiled, users can transfer the general-purpose processor and the synergetic processor to together complete the application. The application programme running in the framework comprises code parts running on the general-purpose processor, and also comprises the code parts running on the synergetic processor. The general-purpose processor is in charge of processing the initialization of an operating system and the application programme and codes of a control and task allocation part, and the heterogeneous processor is in charge of processing the codes of a calculation part. After the programme part running on the synergetic processor is initialized, the general-purpose processor is communicated with the synergetic processor to send an order for implementing the programme. The programme part running on the synergetic processor implements a self-instruction set of the synergetic processor, and completes the computing task of the part on a hardware system of the synergetic processor.