GPU ALU Mixed-Precision Paths for Accurate Dot Products

Solution Overview

Problem

Conventional processors perform mathematical operations using operands of the same precision, leading to overall loss of precision in operations like dot products, especially in vector processing, which can be inefficient and imprecise.

Innovation Solution

A graphics processing unit (GPU) is designed to perform mixed precision operations by employing different execution paths within its arithmetic logic unit (ALU) to execute operations with operands of varying precision, as indicated by specific op codes, thereby supporting increased precision without increased overhead.

Engineering Contradictions & Design Principles

VSEngineering Contradiction Analysis

1Measurement precision

If conventional processors use operands of the same precision for mathematical operations, then device complexity is reduced and ease of operation is improved, but manufacturing precision and measurement precision deteriorate due to overall loss of precision in operations like dot products

Engineering Contradiction:
Core Design Contradiction:
Measurement precisionVSDevice complexity

Solution Approach 1:

The processing unit is segmented into multiple execution paths within the ALU, where each path is specialized for specific precision operations (e.g., 16-bit, 32-bit, 64-bit). This segmentation allows the system to handle different precision requirements independently, improving mathematical operation precision while maintaining manageable device complexity through modular design.

Inventive Principle:
Principle #1Segmentation

Solution Approach 2:

Different execution paths are assigned different precision capabilities based on local requirements. For example, certain paths are optimized for low-precision operations while others handle high-precision operations. This local quality approach ensures that precision is improved only where needed, rather than uniformly across the entire system, thus balancing precision improvement with device complexity.

Inventive Principle:
Principle #3Local quality

2Manufacturing precision

If mixed precision operations are implemented, then manufacturing precision of mathematical operations is improved, but device complexity increases due to multiple execution paths

Engineering Contradiction:
Core Design Contradiction:
Manufacturing precisionVSDevice complexity

Solution Approach 1:

Multiple execution paths are merged into a single ALU structure, allowing the processing unit to perform mixed precision operations without requiring separate physical units for each precision level. This merging reduces device complexity while maintaining the ability to execute operations with different precisions by sharing common resources among the execution paths.

Inventive Principle:
Principle #5Merging (Combining)

Solution Approach 2:

The ALU is designed with universal execution paths that can handle multiple precision levels (16-bit, 32-bit, 64-bit) within the same structural framework. Each execution path is multi-functional, capable of adapting to different precision requirements through configuration rather than requiring dedicated hardware for each precision level, thus improving dot product precision without proportionally increasing device complexity.

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

3Measurement precision

If high precision operations are performed using conventional methods, then measurement precision may be maintained, but productivity decreases due to execution overhead

Engineering Contradiction:
Core Design Contradiction:
Measurement precisionVSProductivity

Solution Approach 1:

The system performs preliminary selection of the appropriate execution path based on the precision requirements of the incoming operation. By pre-configuring multiple execution paths with different precision optimizations and selecting the most appropriate one before execution, the system avoids the overhead of dynamic precision conversion during operation, thus maintaining high precision while improving execution speed and productivity.

Inventive Principle:
Principle #10Preliminary action

Solution Approach 2:

The ALU dynamically selects and activates the appropriate execution path based on the precision requirements of each operation. This dynamic adaptation allows the system to optimize for both precision and speed on a per-operation basis, rather than being constrained by a fixed precision level, thereby improving productivity without sacrificing measurement precision.

Inventive Principle:
Principle #15Dynamics

Data Source

PatentEP3938886B1Processing unit with mixed precision operations
Publication Date: 2026.04.15
  • EP3938886B1 patent drawingFigure 1
  • EP3938886B1 patent drawingFigure 2
  • EP3938886B1 patent drawingFigure 3

AI summary

A graphics processing unit (GPU) [100] implements operations [105], with associated op codes, to perform mixed precision mathematical operations. The GPU includes an arithmetic logic unit (ALU) [104] with different execution paths [106, 107], wherein each execution path executes a different mixed precision operation. By implementing mixed precision operations at the ALU in response to designate op codes that delineate the operations, the GPU efficiently increases the precision of specified mathematical operations while reducing execution overhead.