摘要 |
<p>The present invention relates to a method for implementing multi-application parallel processing, such as a GPU and a GPGPU, on a single processor. The method comprises the following steps: respectively forming queues by using multiple applications, and preparing to allocate the queues to multiple parallel processing units for parallel running; respectively determining whether the multiple applications are image rendering applications; if yes, the applications generating at least one shading thread to a hardware thread control unit, and starting rendering, by using a GPU driver, on a processing unit controlled by a hardware manager; otherwise, using heterogeneous parallel programming (API) to process the at least one thread generated by the applications, and configuring the processed thread to be run on a processing unit used as an SMP core. The present invention further relates to a device for implementing the method. By implementing the method and device for implementing multi-application parallel processing on a single processor in the present invention, the following beneficial effects exist: two or more different types of applications can be simultaneously processed on one processor.</p> |