A kind of mixed graph processor instruction processing systemTechnical field
The invention belongs to area of computer graphics, more particularly to a kind of mixed graph processor instruction processing system.
Background technology
Realized using programmable stainer mode more than Modern Graphic processor, and main frame interaction adopts graphics command form,Presently disclosed research is both for stainer instruction research mostly, and such as PTX is that discovery has to whole figure processor instructionThe data of processing structure.
The content of the invention
The purpose of the present invention is:
Present invention generally provides a kind of mixed graph processor instruction processing system, it is stipulated that the instruction that graphic process unit is realizedProcessing system.
The present invention solution be:
A kind of mixed graph processor instruction processing system, it is characterised in that include:
The mixed instruction memory module (1) of host side, the instruction distribution module (2) at graphic process unit end, stainer instructionProcessing module (3), graphics command processing module (4);
Mixed instruction memory module (1) mixing storage graphics command and stainer instruction, and send an instruction to instruction pointSend out module (2);
Instruct distribution module (2) to receive the instruction that mixed instruction memory module (1) sends, and instruction is divided into into stainer and refer toOrder and graphics command, and graphics command is sent to into graphics command processing module (4), stainer instruction is sent to into stainer and is referred toMake processing module (3);
Stainer command process module (3) receives the stainer of instruction distribution module (2) transmission and instructs and perform, and will dyeDevice instruction execution result is sent to graphics command processing module (4);
Graphics command processing module (4) receives the stainer instruction execution result of stainer command process module (3);Also connectReceive the graphics command that instruction distribution module (2) sends simultaneously to perform, run in graphics command processing module (4) processing procedure needs byDuring the graphics command that stainer is performed, the graphics command for needing to be performed by stainer is sent to into stainer instruction and processes mouldBlock (3) is performed, and implementing result is returned to graphics command processing module (4) by stainer command process module (3).
It is an advantage of the invention that:A kind of mixed graph processor instruction processing system that the present invention is provided, by combination chartShape instruction, the main frame storage of stainer instruction so that main frame can flexibly control figure processor resource.
Description of the drawings
Fig. 1 is method of the present invention module map.
Specific embodiment
In order that the objects, technical solutions and advantages of the present invention become more apparent, with reference to embodiments, to the present inventionIt is further elaborated.It should be appreciated that specific embodiment described herein is not used to only to explain the present inventionLimit the present invention.
Below in conjunction with the accompanying drawings technical scheme is described in further detail with specific embodiment.
As shown in figure 1, a kind of mixed graph processor instruction processing system of the embodiment of the present invention, including:
The mixed instruction memory module (1) of host side, the instruction distribution module (2) at graphic process unit end, stainer instructionProcessing module (3), graphics command processing module (4);
Mixed instruction memory module (1) mixing storage graphics command and stainer instruction, and send an instruction to instruction pointSend out module (2);
Instruct distribution module (2) to receive the instruction that mixed instruction memory module (1) sends, and instruction is divided into into stainer and refer toOrder and graphics command, and graphics command is sent to into graphics command processing module (4), stainer instruction is sent to into stainer and is referred toMake processing module (3);
Stainer command process module (3) receives the stainer of instruction distribution module (2) transmission and instructs and perform, and will dyeDevice instruction execution result is sent to graphics command processing module (4);
Graphics command processing module (4) receives the stainer instruction execution result of stainer command process module (3);Also connectReceive the graphics command that instruction distribution module (2) sends simultaneously to perform, run in graphics command processing module (4) processing procedure needs byDuring the graphics command that stainer is performed, the graphics command for needing to be performed by stainer is sent to into stainer instruction and processes mouldBlock (3) is performed, and implementing result is returned to graphics command processing module (4) by stainer command process module (3).
Finally it should be noted that:Above example only to illustrate technical scheme, rather than a limitation;AlthoughThe present invention is explained with reference to the foregoing embodiments, it will be understood by those within the art that:It still may be usedTo modify to the technical scheme described in foregoing embodiments, or equivalent is carried out to which part technical characteristic;And these modification or replace, do not make appropriate technical solution essence depart from various embodiments of the present invention technical scheme spirit andScope.