Split Barrier Synchronization for Non-Stalling Wavefronts

Resolve Bottlenecks,
Find Innovative Solutions
Generate Solutions

Solution Overview

Problem

Existing barrier mechanisms in massively parallel processors, such as graphics processing units, are inefficient as they require wavefronts to stall until all participating wavefronts reach a barrier, leading to resource wastage and reduced processing efficiency.

Innovation Solution

Implementing split barriers that separate the barrier arrival notification and check instructions, allowing wavefronts to continue executing other tasks until all wavefronts have arrived, using a hardware-based barrier tracker to manage multiple barriers efficiently.

Engineering Contradictions & Design Principles

VSEngineering Contradiction Analysis

1Reliability

If traditional barrier mechanisms are used to ensure coordination among parallel threads, then synchronization reliability is improved, but processing productivity deteriorates due to wavefront stalling

Engineering Contradiction:
Improvesynchronization reliabilityVSAvoidprocessing productivity
Core Design Contradiction:
ReliabilityVSProductivity

Solution Approach 1:

The barrier mechanism is segmented into two separate instructions: a barrier arrival notification instruction that allows wavefronts to continue execution, and a barrier check instruction that verifies synchronization. This segmentation eliminates the need for wavefront stalling while maintaining synchronization reliability.

Inventive Principle:
Principle #1Segmentation

Solution Approach 2:

Wavefronts perform preliminary action by executing the barrier arrival notification instruction before the actual barrier synchronization point. This allows them to continue processing while the hardware barrier tracker manages the synchronization in the background, improving productivity without sacrificing reliability.

Inventive Principle:
Principle #10Preliminary action

2Reliability

If wavefronts stall at barrier points to ensure synchronization, then coordination reliability is improved, but resource utilization deteriorates

Engineering Contradiction:
Improvecoordination reliabilityVSAvoidresource utilization
Core Design Contradiction:
ReliabilityVSLoss of energy

Solution Approach 1:

By dividing the barrier mechanism into notification and check phases, wavefronts can proceed with resource-intensive operations during the notification phase while synchronization is handled hardware-efficiently in the background, reducing wasted computational resources.

Inventive Principle:
Principle #1Segmentation

Solution Approach 2:

The hardware barrier tracker automatically manages the synchronization process without requiring wavefronts to stall or actively wait. The system serves itself by handling barrier coordination in the background, eliminating resource wastage from idle wavefronts.

Inventive Principle:
Principle #25Self-service

3Productivity

If split barrier instructions are implemented to allow continued execution, then processing efficiency is improved, but device complexity increases

Engineering Contradiction:
Improveprocessing efficiencyVSAvoiddevice complexity
Core Design Contradiction:
ProductivityVSDevice complexity

Solution Approach 1:

A hardware barrier tracker is introduced as an intermediary component that manages the complex synchronization logic between the two barrier instructions. This mediator handles the coordination overhead, allowing the main processing units to focus on computation while the tracker manages barrier state and wavefront synchronization.

Inventive Principle:
Principle #24Intermediary (Mediator)

Solution Approach 2:

The barrier tracking functionality is merged into the existing hardware execution pipeline, combining synchronization management with the processor's native instruction flow. This integration minimizes the additional complexity by reusing existing hardware resources rather than adding completely separate synchronization hardware.

Inventive Principle:
Principle #5Merging (Combining)

Data Source

PatentUS12517771B2Hardware supported split barrier
Publication Date: 2026.01.06 ADVANCED MICRO DEVICES INC
  • US12517771B2 patent drawing
  • US12517771B2 patent drawing
  • US12517771B2 patent drawing

AI summary

A disclosed technique includes executing, for a first wavefront, a barrier arrival notification instruction, for a first barrier, indicating arrival at a first barrier point; performing, for the first wavefront, work prior to the first barrier point; executing, for the first wavefront, a barrier check instruction; and executing, for the first wavefront, at a control flow path based on a result of the barrier check instruction.