Patent ID: 11915338
Assignee: HUAWEI TECHNOLOGIES CO., LTD.
Field: Computer technology (Electrical engineering)
Classification: CPC G | IPC G

Claim 11:
12. A computer-implemented method in a graphics processing unit (GPU) mapping pixels into registers of a general purpose register (GPR), the method comprising:
storing the pixels in a level 1 (L1) cache;
reading the pixels, by an arithmetic logic unit (ALU), independently of a shared memory; and
mapping pixels read by the ALU from the L1 cache into the registers of the GPR, comprising:
fetching a quad of pixels from the L1 cache, wherein the quad includes pixels of first, second, third and fourth pixel types based on a position in the quad;
grouping the pixels of the first, second, third and fourth pixel types respectively into four groups, wherein the four groups comprising a first group that includes a first set of pixels of a first pixel type, a second group that includes a second set of pixels of a second pixel type, a third group that includes a third set of pixels of a third pixel type, and a fourth group that includes a fourth set of pixels of a fourth pixel type; and
for each of the four groups, separating the pixels included in the group into three regions, the three regions for each group comprising a first region having a fifth set of pixels, a second region having a sixth set of pixels, and a third region having a seventh set of pixels.