Atomic Memory Update Unit for Conditional GPU Shared Writes

Resolve Bottlenecks,
Find Innovative Solutions
Generate Solutions

Solution Overview

Problem

Existing graphics processing units (GPUs) face challenges in efficiently updating shared memory locations atomically and managing cache eviction based on expected read counts, particularly in multi-threaded and parallel processing environments like ray tracing, leading to inefficiencies and potential data corruption.

Innovation Solution

Implementing an update unit that performs atomic memory updates and a cache management system that tracks expected read counts to control eviction, ensuring that memory updates are executed as a single operation and cache eviction is managed based on anticipated read requirements, thereby reducing data corruption and improving efficiency.

Engineering Contradictions & Design Principles

VSEngineering Contradiction Analysis

1Reliability

If atomic memory updates are implemented using traditional methods, then memory consistency is maintained, but processing efficiency and throughput deteriorate due to serialization overhead

Engineering Contradiction:
Improvememory consistencyVSAvoidprocessing efficiency
Core Design Contradiction:
ReliabilityVSProductivity

Solution Approach 1:

The patent segments the memory update process into distinct phases: validation phase (checking conditions without acquiring full locks) and commitment phase (actual atomic update). This segmentation allows multiple threads to validate conditions concurrently, improving throughput while maintaining consistency through the subsequent atomic commitment phase.

Inventive Principle:
Principle #1Segmentation

Solution Approach 2:

The patent introduces an intermediary validation mechanism that checks memory conditions before atomic updates. This intermediary layer (validation logic) filters out invalid update attempts early, reducing the burden on atomic update operations and improving overall system throughput while maintaining reliability.

Inventive Principle:
Principle #24Intermediary (Mediator)

2Speed

If cache eviction is managed without read count tracking, then cache management simplicity is maintained, but cache hit ratio deteriorates leading to increased memory access latency

Engineering Contradiction:
Improvememory access latencyVSAvoidcache management complexity
Core Design Contradiction:
SpeedVSDevice complexity

Solution Approach 1:

The patent implements feedback mechanisms where read count information is continuously tracked and used to dynamically adjust cache eviction decisions. The cache management system receives feedback about actual read patterns and uses this information to make informed eviction choices, improving cache hit ratios while managing complexity through structured feedback loops.

Inventive Principle:
Principle #23Feedback

Solution Approach 2:

The patent performs preliminary actions by pre-tracking read counts for cache lines before eviction decisions are made. This advance preparation allows the cache management system to identify valuable cache lines that should be retained, improving memory access speed by preventing premature eviction of frequently accessed data.

Inventive Principle:
Principle #10Preliminary action

3Productivity

If conditional memory updates are processed without atomic operations, then processing speed is improved, but data consistency deteriorates leading to potential corruption

Engineering Contradiction:
Improveupdate processing speedVSAvoiddata consistency
Core Design Contradiction:
ProductivityVSReliability

Solution Approach 1:

The patent segments conditional memory updates into condition validation (non-atomic, high-speed) and update commitment (atomic, consistency-guaranteed) phases. This segmentation allows the system to process conditions quickly in parallel while ensuring data consistency through the subsequent atomic commitment operation.

Inventive Principle:
Principle #1Segmentation

Solution Approach 2:

The patent maintains continuity of useful action by allowing condition validation to proceed continuously without blocking, while atomic updates are performed continuously once conditions are validated. This continuous processing approach maximizes throughput while the atomic nature of the commitment phase ensures data consistency is never compromised.

Inventive Principle:
Principle #20Continuity of useful action

Data Source

PatentUS20250391092A1Atomic Memory Update Unit and Methods
Publication Date: 2025.12.25 IMAGINATION TECH LTD
  • US20250391092A1 patent drawing
  • US20250391092A1 patent drawing
  • US20250391092A1 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.