# US 2025/0156222 A1 · Systems and methods for synchronization of multi-thread lanes

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

- Number: US 2025/0156222 A1
- Document ID: US20250156222A1
- Status: Published application
- Kind: A1
- Application number: 19/009,093
- Filed: 2025-01-03
- Published: 2025-05-15
- Earliest claimed: 2019-03-15
- Assignees: Intel Corporation
- Applicants: Intel Corporation
- Inventors: Valentin Andrei; Subramaniam Maiyuran; SungYe Kim; Varghese George; Altug Koker; Aravindh Anantaraman
- Web page: https://patentgrep.com/patent/US20250156222A1

## CPC

- G06F 9/4881: {Scheduling strategies for dispatcher, e.g. round robin, multi-level priority queues}
- G06F 9/38: Concurrent instruction execution, e.g. pipeline or look ahead
- G06F 9/3851: {from multiple instruction streams, e.g. multistreaming}
- G06F 9/3888: {controlled by a single instruction for multiple threads [SIMT] in parallel}
- G06F 9/52: Program synchronisation; Mutual exclusion, e.g. by means of semaphores
- G06F 15/8007: {single instruction multiple data [SIMD] multiprocessors}
- G06T 1/20: Processor architectures; Processor configuration, e.g. pipelining
- G06F: ELECTRIC DIGITAL DATA PROCESSING (computer systems based on specific computational models G06N)
- G06T: IMAGE DATA PROCESSING OR GENERATION, IN GENERAL

## Abstract

Apparatuses to synchronize lanes that diverge or threads that drift are disclosed. In one embodiment, a graphics multiprocessor includes a queue having an initial state of groups with a first group having threads of first and second instruction types and a second group having threads of the first and second instruction types. A regroup engine (or regroup circuitry) regroups threads into a third group having threads of the first instruction type and a fourth group having threads of the second instruction type.

## Claims

### Claim 1

An apparatus comprising:
graphics processing circuitry coupled to a memory, the graphics processing circuitry having:
a queue having an initial state of groups having a first group having threads of a first instruction type and a second instruction type and a second group having the threads of the first and second instruction types; and
a regroup engine to regroup the threads into a third group having first threads of the first instruction type and a fourth group having second threads of the second instruction type.

### Claim 2 (depends on 1)

The apparatus of claim 1, wherein the regroup engine to cause the third group to replace the first group in the queue and the fourth group to replace the second group in the queue having a regrouped state.

### Claim 3 (depends on 1)

The apparatus of claim 1, wherein the first instruction type or the second instruction type comprises one or more of a load/store instruction, an integer instruction, a floating point instruction, an integer mac instruction, an integer add instruction, a floating point add instruction, a floating point fma instruction, a floating point sine instruction, or a floating point cosine instruction.

### Claim 4 (depends on 1)

The apparatus of claim 1, wherein the graphics processing circuitry further comprises:
a thread scheduler coupled to the queue; and
a plurality of processing resources coupled to the thread scheduler.

### Claim 5 (depends on 4)

The graphics multiprocessor of claim 4, wherein the thread scheduler is configured to schedule the first instruction type of the third group for execution on a first processing resource with full utilization of the first processing resource, and wherein the thread scheduler is further configured to schedule the second instruction type of the fourth group for execution on a second processing resource with full utilization of the second processing resource.

### Claim 6

(canceled)

### Claim 7 (depends on 1)

The graphics multiprocessor of claim 1, wherein the regroup engine utilizes regrouping policies and an order that a new regrouped group is inserted in the queue is optimized depending on latencies, wherein the regroup engine utilizes regrouping policies to minimize divergence between the threads.

### Claim at position 8

-20. (canceled)

### Claim 21

A method comprising:
maintaining, by graphics processing circuitry of a computing device, a queue having an initial state of groups having a first group having threads of a first instruction type and a second instruction type and a second group having the threads of the first and second instruction types; and
regrouping the threads into a third group having first threads of the first instruction type and a fourth group having second threads of the second instruction type.

### Claim 22 (depends on 21)

The method of claim 21, further comprising causing the third group to replace the first group in the queue and the fourth group to replace the second group in the queue having a regrouped state.

### Claim 23 (depends on 21)

The method of claim 21, wherein the first instruction type or the second instruction type comprises one or more of a load/store instruction, an integer instruction, a floating point instruction, an integer mac instruction, an integer add instruction, a floating point add instruction, a floating point fma instruction, a floating point sine instruction, or a floating point cosine instruction.

### Claim 24 (depends on 21)

The method of claim 21, further comprising scheduling the first instruction type of the third group for execution on a first processing resource with full utilization of the first processing resource, and scheduling the second instruction type of the fourth group for execution on a second processing resource with full utilization of the second processing resource.

### Claim 25 (depends on 21)

The method of claim 21, wherein the regroup engine utilizes regrouping policies and an order that a new regrouped group is inserted in the queue is optimized depending on latencies, wherein the regroup engine utilizes regrouping policies to minimize divergence between the threads.

### Claim 26

At least one computer-readable medium having stored thereon instructions which, when executed, cause a computing device to perform operations comprising:
maintaining, by graphics processing circuitry of a computing device, a queue having an initial state of groups having a first group having threads of a first instruction type and a second instruction type and a second group having the threads of the first and second instruction types; and
regrouping the threads into a third group having first threads of the first instruction type and a fourth group having second threads of the second instruction type.

### Claim 27 (depends on 26)

The computer-readable medium of claim 26, wherein the operations further comprise causing the third group to replace the first group in the queue and the fourth group to replace the second group in the queue having a regrouped state.

### Claim 28 (depends on 26)

The computer-readable medium of claim 26, wherein the first instruction type or the second instruction type comprises one or more of a load/store instruction, an integer instruction, a floating point instruction, an integer mac instruction, an integer add instruction, a floating point add instruction, a floating point fma instruction, a floating point sine instruction, or a floating point cosine instruction.

### Claim 29 (depends on 26)

The computer-readable medium of claim 26, wherein the operations further comprise scheduling the first instruction type of the third group for execution on a first processing resource with full utilization of the first processing resource, and scheduling the second instruction type of the fourth group for execution on a second processing resource with full utilization of the second processing resource.

### Claim 30 (depends on 26)

The computer-readable medium of claim 26, wherein the regroup engine utilizes regrouping policies and an order that a new regrouped group is inserted in the queue is optimized depending on latencies, wherein the regroup engine utilizes regrouping policies to minimize divergence between the threads.
