Programmable Memory Shaders for Low-Latency GPU Atomic Operations

Resolve Bottlenecks,
Find Innovative Solutions
Generate Solutions

Solution Overview

Problem

Current atomic operations in GPU architectures are inflexible and specialized, often requiring software locks that introduce latency and are difficult to scale, while hardware modifications to support new atomic operations are costly and time-consuming.

Innovation Solution

Implementing programmable Memory Shaders, which are software-configured atomic memory shader execution circuits (MSECs) that execute programmable atomic operations close to memory, eliminating the need for hardware updates and enabling flexible, lock-free execution of complex operations.

Engineering Contradictions & Design Principles

VSEngineering Contradiction Analysis

1Reliability

If software locks are used to ensure atomic operations, then data synchronization is achieved, but latency increases and scalability deteriorates

Engineering Contradiction:
Improvedata synchronizationVSAvoidlatency
Core Design Contradiction:
ReliabilityVSLoss of time

Solution Approach 1:

The patent replaces software-based locking mechanisms with hardware-based atomic operation units. These dedicated hardware circuits execute atomic operations directly in hardware, eliminating the need for software locks and their associated latency. The hardware units provide guaranteed atomic execution through circuit-level mechanisms rather than software coordination.

Inventive Principle:
Principle #28Mechanics substitution (Replace mechanical system)

Solution Approach 2:

The patent introduces intermediate atomic operation units between the processors and memory. These units act as mediators that handle atomic operations specifically, allowing processors to offload atomic operation execution to specialized hardware. This intermediary layer provides atomic guarantees without requiring processors to implement software locking protocols.

Inventive Principle:
Principle #24Intermediary (Mediator)

2Adaptability or versatility

If hardware modifications are made to support new atomic operations, then operational flexibility improves, but manufacturing cost and time increase

Engineering Contradiction:
Improveoperational flexibilityVSAvoidmanufacturing cost and time
Core Design Contradiction:
Adaptability or versatilityVSEase of manufacture

Solution Approach 1:

The patent designs atomic operation units with programmable functionality that can execute multiple types of atomic operations. Rather than creating dedicated hardware circuits for each atomic operation type, the system uses configurable hardware units that can be programmed to perform different atomic operations, providing versatility without requiring hardware modifications for each new operation type.

Inventive Principle:
Principle #6Universality (Multi-functionality)

Solution Approach 2:

The patent implements dynamically configurable atomic operation units that can adapt their behavior through programming. The hardware units receive configuration parameters that define the specific atomic operation to perform, allowing the system to adapt to new operation types through software configuration rather than hardware redesign. This dynamic reconfigurability provides flexibility while maintaining fixed hardware manufacturing.

Inventive Principle:
Principle #15Dynamics

3Reliability

If software locks are used for critical sections, then resource protection is achieved, but system complexity and deadlock risk increase

Engineering Contradiction:
Improveresource protectionVSAvoidsystem complexity
Core Design Contradiction:
ReliabilityVSDevice complexity

Solution Approach 1:

The patent replaces complex software lock management systems with simple hardware-based atomic operation units. The hardware units inherently provide resource protection through their circuit-level atomic execution guarantees, eliminating the need for complex software protocols, lock acquisition/release sequences, and deadlock detection mechanisms.

Inventive Principle:
Principle #28Mechanics substitution (Replace mechanical system)

Solution Approach 2:

The atomic operation units are self-contained hardware circuits that automatically ensure atomic execution without requiring external coordination. Each unit independently guarantees atomic operation completion or rollback, eliminating the need for software-based lock management, synchronization protocols, and deadlock prevention mechanisms that会增加系统复杂性.

Inventive Principle:
Principle #25Self-service

Data Source

PatentUS20260057471A1Memory Shaders
Publication Date: 2026.02.26 NVIDIA CORP
  • US20260057471A1 patent drawing
  • US20260057471A1 patent drawing
  • US20260057471A1 patent drawing

AI summary

A programmable atomic memory shader execution circuit is a seamless part of a hierarchical memory system and receives and performs calls to programmable atomic operations from any number of processors. The programmable atomic memory shader execution circuit close to memory allows the execution circuit to access the shader program stored in memory—eliminating latency that would otherwise be involved for an upstream processor to exchange shader instructions, data and memory lock/unlock commands with the execution circuit. The programmable atomic memory shader execution circuit being locked/unlocked (e.g., within an L2 or L3 cache memory) allows the system to quickly lock a memory resource(s), execute one or a number of operations atomically over one or a number of cycles, and then quickly unlock the memory resource.