Atomic Memory Update Unit for GPU Cache and Thread Contention

Resolve Bottlenecks,
Find Innovative Solutions
Generate Solutions

Solution Overview

Problem

Existing graphics processing units (GPUs) face challenges in efficiently performing multi-threaded processing and memory updates, particularly in ray tracing operations, due to the lack of efficient mechanisms for atomic memory updates and effective caching strategies.

Innovation Solution

Implementing an update unit that performs atomic memory updates and a scheduler that manages cache eviction based on expected read counts, along with a task collector that groups computations for efficient memory access and caching.

Engineering Contradictions & Design Principles

VSEngineering Contradiction Analysis

1Productivity

If GPUs use more transistors to replicate computation units and provide larger memories with more bandwidth, then processing performance is improved, but device complexity and resource contention increase

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

Solution Approach 1:

The patent divides the GPU architecture into specialized functional units including geometry processors, pixel shading engines, and ray tracing accelerators. Each unit is optimized for specific tasks, allowing parallel processing without requiring complete replication of general-purpose computation units across the entire system.

Inventive Principle:
Principle #1Segmentation

Solution Approach 2:

The patent introduces a memory management unit and cache hierarchy as intermediary components between computation units and main memory. This mediator layer manages memory access patterns, implements caching strategies, and coordinates data flow, reducing the need for increased memory bandwidth while maintaining processing performance.

Inventive Principle:
Principle #24Intermediary (Mediator)

2Productivity

If GPUs implement multi-threaded processing for ray tracing operations, then processing efficiency is improved, but memory update atomicity and resource contention become problematic

Engineering Contradiction:
Improveprocessing efficiencyVSAvoidmemory update atomicity
Core Design Contradiction:
ProductivityVSReliability

Solution Approach 1:

The patent implements atomic memory update mechanisms where the memory management unit automatically handles synchronization and atomicity guarantees for multi-threaded access patterns. This self-service approach ensures that concurrent threads can safely update shared memory structures without external coordination overhead.

Inventive Principle:
Principle #25Self-service

Solution Approach 2:

The patent replaces traditional hardware locking mechanisms with software-managed atomic operations and cache coherence protocols. This substitution allows multi-threaded processing to proceed without the performance penalties of mechanical lock-based synchronization, maintaining both efficiency and atomicity.

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

3Productivity

If GPUs share main system memory with other system components, then memory bandwidth contention increases, but memory utilization efficiency decreases

Engineering Contradiction:
Improvememory utilization efficiencyVSAvoidmemory bandwidth
Core Design Contradiction:
ProductivityVSQuantity of substance

Solution Approach 1:

The patent implements a nested memory hierarchy with multiple cache levels (L1, L2, L3 caches) between the GPU computation units and the main system memory. This nested structure allows frequently accessed data to be stored in faster, closer memory, reducing the volume of data that must traverse the shared memory interface and improving utilization efficiency.

Inventive Principle:
Principle #7Nested doll (Nesting)

Solution Approach 2:

The patent employs pre-fetching mechanisms that load data into the cache hierarchy before it is actually needed by computation units. This preliminary action reduces memory bandwidth demands by having data ready in faster memory, improving utilization without requiring additional bandwidth capacity.

Inventive Principle:
Principle #10Preliminary action

Data Source

PatentUS20250349062A1Atomic Memory Update Unit and Methods
Publication Date: 2025.11.13 IMAGINATION TECH LTD
  • US20250349062A1 patent drawing
  • US20250349062A1 patent drawing
  • US20250349062A1 patent drawing

AI summary

In an aspect, an update unit can evaluate condition(s) in an update request and update one or more memory locations based on the condition evaluation. The update unit can operate atomically to determine whether to effect the update and to make the update. Updates can include one or more of incrementing and swapping values. An update request may specify one of a pre-determined set of update types. Some update types may be conditional and others unconditional. The update unit can be coupled to receive update requests from a plurality of computation units. The computation units may not have privileges to directly generate write requests to be effected on at least some of the locations in memory. The computation units can be fixed function circuitry operating on inputs received from programmable computation elements. The update unit may include a buffer to hold received update requests.