# US 2023/0267567 A1 · Dynamic wave pairing

> Agents: this data is available as JSON from the patentgrep API and MCP server — see https://patentgrep.com/llms.txt

- Number: US 2023/0267567 A1
- Document ID: US20230267567A1
- Status: Published application
- Kind: A1
- Application number: 17/652,478
- Filed: 2022-02-24
- Published: 2023-08-24
- Earliest claimed: 2022-02-24
- Assignees: QUALCOMM Incorporated
- Applicants: QUALCOMM Incorporated
- Inventors: Yun DU; Andrew Evan GRUBER; Zilin YING; Chunling HU; Baoguang YANG; Yang XIA; Gang ZHONG; Chun YU; Eric DEMERS
- Web page: https://patentgrep.com/patent/US20230267567A1

## CPC

- G06T 1/20: Processor architectures; Processor configuration, e.g. pipelining
- G06F 9/30127: {Register windows}
- G06F 9/3836: {Instruction issuing, e.g. dynamic instruction scheduling or out of order instruction execution}
- G06F 9/505: {considering the load}
- G06T 15/005: {General purpose rendering architectures}
- G06T: IMAGE DATA PROCESSING OR GENERATION, IN GENERAL
- G06F: ELECTRIC DIGITAL DATA PROCESSING (computer systems based on specific computational models G06N)

## Abstract

This disclosure provides systems, devices, apparatus, and methods, including computer programs encoded on storage media, for dynamic wave pairing. A graphics processor may allocate one or more GPU workloads to one or more wave slots of a plurality of wave slots. The graphics processor may select a first execution slot of a plurality of execution slots for executing the one or more GPU workloads. The selection may be based on one of a plurality of granularities. The graphics processor may execute, at the selected first execution slot, the one or more GPU workloads at the one of the plurality of granularities.

## Claims

### Claim 1

An apparatus for graphics processing, comprising:
a memory; and
at least one processor coupled to the memory and configured to:
allocate one or more graphics processing unit (GPU) workloads to one or more wave slots of a plurality of wave slots;
select a first execution slot of a plurality of execution slots for executing the one or more GPU workloads, the selection being based on one of a plurality of granularities; and
execute, at the selected first execution slot, the one or more GPU workloads at the one of the plurality of granularities.

### Claim 2 (depends on 1)

The apparatus of claim 1, wherein the plurality of wave slots comprise a plurality of first wave slots and a plurality of second wave slots, the one or more GPU workloads are allocated based on the plurality of first wave slots and the plurality of second wave slots, and a first GPU workload of the one or more GPU workloads is allocated to a first wave slot of the plurality of first wave slots and a second GPU workload of the one or more GPU workloads is allocated to a second wave slot of the plurality of second wave slots.

### Claim 3 (depends on 2)

The apparatus of claim 2, wherein the first GPU workload and the second GPU workload are consecutive in sequence.

### Claim 4 (depends on 2)

The apparatus of claim 2, wherein the first GPU workload and the second GPU workload are associated with a same instruction.

### Claim 5 (depends on 1)

The apparatus of claim 1, the at least one processor being further configured to:
receive, from at least one GPU component at runtime, the one or more GPU workloads.

### Claim 6 (depends on 1)

The apparatus of claim 1, the at least one processor being further configured to:
select the one of the plurality of granularities based on whether the one or more GPU workloads are associated with or are unassociated with a texture block or a branching block.

### Claim 7 (depends on 6)

The apparatus of claim 6, wherein a first granularity is selected as the one of the plurality of granularities when the one or more GPU workloads are associated with the texture block or the branching block.

### Claim 8 (depends on 7)

The apparatus of claim 7, wherein a second granularity is selected as the one of the plurality of granularities when the one or more GPU workloads are unassociated with the texture block or the branching block, the first granularity being smaller than the second granularity.

### Claim 9 (depends on 1)

The apparatus of claim 1, the at least one processor being further configured to:
copy a context register for the one or more GPU workloads to the first execution slot, wherein the context register for the one or more GPU workloads is associated with a context state of the one or more GPU workloads.

### Claim 10 (depends on 1)

The apparatus of claim 1, the at least one processor being further configured to:
copy a context register for the one or more GPU workloads to the one or more wave slots.

### Claim 11 (depends on 1)

The apparatus of claim 1, wherein each GPU workload of the one or more GPU workloads includes a uniform number of fibers.

### Claim 12 (depends on 1)

The apparatus of claim 1, wherein each wave slot of the plurality of wave slots is associated with one set of general purpose registers (GPRs) of a plurality of GPRs.

### Claim 13 (depends on 1)

The apparatus of claim 1, wherein the apparatus is a wireless communication device.

### Claim 14

A method of graphics processing, comprising:
allocating one or more graphics processing unit (GPU) workloads to one or more wave slots of a plurality of wave slots;
selecting a first execution slot of a plurality of execution slots for executing the one or more GPU workloads, the selection being based on one of a plurality of granularities; and
executing, at the selected first execution slot, the one or more GPU workloads at the one of the plurality of granularities.

### Claim 15 (depends on 14)

The method of claim 14, wherein the plurality of wave slots comprise a plurality of first wave slots and a plurality of second wave slots, the one or more GPU workloads are allocated based on the plurality of first wave slots and the plurality of second wave slots, and a first GPU workload of the one or more GPU workloads is allocated to a first wave slot of the plurality of first wave slots and a second GPU workload of the one or more GPU workloads is allocated to a second wave slot of the plurality of second wave slots.

### Claim 16 (depends on 15)

The method of claim 15, wherein the first GPU workload and the second GPU workload are consecutive in sequence.

### Claim 17 (depends on 15)

The method of claim 15, wherein the first GPU workload and the second GPU workload are associated with a same instruction.

### Claim 18 (depends on 14)

The method of claim 14, further comprising:
receiving, from at least one GPU component, the one or more GPU workloads.

### Claim 19 (depends on 14)

The method of claim 14, further comprising:
selecting the one of the plurality of granularities based on whether the one or more GPU workloads are associated with or are unassociated with a texture block or a branching block.

### Claim 20 (depends on 19)

The method of claim 19, wherein a first granularity is selected as the one of the plurality of granularities when the one or more GPU workloads are associated with the texture block or the branching block.

### Claim 21 (depends on 20)

The method of claim 20, wherein a second granularity is selected as the one of the plurality of granularities when the one or more GPU workloads are unassociated with the texture block or the branching block, the first granularity being smaller than the second granularity.

### Claim 22 (depends on 14)

The method of claim 14, further comprising:
copying a context register for the one or more GPU workloads to the first execution slot, wherein the context register for the one or more GPU workloads is associated with a context state of the one or more GPU workloads.

### Claim 23 (depends on 14)

The method of claim 14, further comprising:
copying a context register for the one or more GPU workloads to the one or more wave slots.

### Claim 24 (depends on 14)

The method of claim 14, wherein each GPU workload of the one or more GPU workloads includes a uniform number of fibers.

### Claim 25 (depends on 14)

The method of claim 14, wherein each wave slot of the plurality of wave slots is associated with one set of general purpose registers (GPRs) of a plurality of GPRs.

### Claim 26

A computer-readable medium storing computer executable code, the code when executed by at least one processor, causes the at least one processor to:
allocate one or more graphics processing unit (GPU) workloads to one or more wave slots of a plurality of wave slots;
select a first execution slot of a plurality of execution slots for executing the one or more GPU workloads, the selection being based on one of a plurality of granularities; and
execute, at the selected first execution slot, the one or more GPU workloads at the one of the plurality of granularities.

### Claim 27 (depends on 26)

The computer-readable medium of claim 26, wherein the plurality of wave slots comprise a plurality of first wave slots and a plurality of second wave slots, the one or more GPU workloads are allocated based on the plurality of first wave slots and the plurality of second wave slots, and a first GPU workload of the one or more GPU workloads is allocated to a first wave slot of the plurality of first wave slots and a second GPU workload of the one or more GPU workloads is allocated to a second wave slot of the plurality of second wave slots.

### Claim 28 (depends on 27)

The computer-readable medium of claim 27, wherein the first GPU workload and the second GPU workload are consecutive in sequence.

### Claim 29 (depends on 27)

The computer-readable medium of claim 27, wherein the first GPU workload and the second GPU workload are associated with a same instruction.

### Claim 30 (depends on 26)

The computer-readable medium of claim 26, wherein the code further causes the at least one processor to:
receive, from at least one GPU component, the one or more GPU workloads.
