CPC G06T 1/20 (2013.01) [G06T 1/60 (2013.01)] | 20 Claims |
1. A non-transitory computer-readable medium comprising instructions stored thereon, that if executed by a processor, cause the processor to:
execute a compiler that is to:
receive a program for execution by a graphics processing unit (GPU);
identify a group of two or more instructions in the program that provide a partial update to an output buffer;
include a first instruction in the group of two or more instructions to trigger a transfer that causes writing of an output from execution of the group of two or more instructions to an intermediate buffer;
include a second instruction in the group of two or more instructions that causes copying of content of the intermediate buffer to the output buffer;
format the group of two or more instructions with the first and second instructions for execution by the GPU; and
store a machine executable format of the group of two or more instructions with the first and second instructions.
|