GPU BF16 Dot Product Accumulation for Parallel Matrix Processing

Resolve Bottlenecks,
Find Innovative Solutions
Generate Solutions

Solution Overview

Problem

Current graphics processing units (GPUs) face limitations in efficiently processing graphics and machine-learning operations due to the lack of support for hybrid floating-point formats, particularly in parallel architectures, which hinders performance and scalability in complex computations.

Innovation Solution

Incorporating a dot product accumulate instruction for the BF16 format in a graphics processing unit (GPU) to enhance processing efficiency and support for hybrid floating-point formats, enabling improved parallel processing and matrix operations.

Engineering Contradictions & Design Principles

VSEngineering Contradiction Analysis

1Measurement precision

If traditional floating-point formats (FP32, FP64) are used in graphics processing units, then processing precision is maintained, but processing speed and energy efficiency deteriorate for machine-learning workloads

Engineering Contradiction:
Improvefloating-point processing precisionVSAvoidprocessing speed
Core Design Contradiction:
Measurement precisionVSProductivity

Solution Approach 1:

The patent changes the floating-point format parameters by introducing BF16 (Brain Floating Point) format with 1 bit sign, 7 bit exponent, and 8 bit mantissa. This parameter change allows faster processing and better energy efficiency for machine-learning workloads while maintaining sufficient precision through the wider exponent field compared to standard FP16

Inventive Principle:
Principle #35Parameter changes

Solution Approach 2:

The patent segments the floating-point processing capability by implementing separate instruction pathways for different formats (TF32, BF16, FP16, FP32). This segmentation allows the GPU to optimize for specific workload types by selecting appropriate precision formats, improving overall productivity without sacrificing necessary precision for each task type

Inventive Principle:
Principle #1Segmentation

2Productivity

If hybrid floating-point formats (BF16, TF32) are implemented, then processing efficiency for machine-learning operations is improved, but hardware complexity increases

Engineering Contradiction:
Improvemachine-learning processing efficiencyVSAvoidhardware complexity
Core Design Contradiction:
ProductivityVSDevice complexity

Solution Approach 1:

The patent implements multi-functional instruction units that can execute dot product accumulate operations across multiple floating-point formats (TF32, BF16, FP16, FP32) using the same hardware circuitry. The instruction decoder and execution units are designed to handle format-specific operations universally, reducing hardware complexity compared to implementing separate dedicated units for each format

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

Solution Approach 2:

The patent introduces format conversion and normalization circuitry as intermediary components that translate between different floating-point formats. These intermediaries handle the complexity of format conversion, allowing the core computation units to operate efficiently on standardized representations without requiring complex format-specific logic in each execution unit

Inventive Principle:
Principle #24Intermediary (Mediator)

3Productivity

If dot product accumulate instruction for BF16 format is added, then computational throughput for matrix operations is enhanced, but instruction set complexity increases

Engineering Contradiction:
Improvecomputational throughputVSAvoidinstruction set complexity
Core Design Contradiction:
ProductivityVSDevice complexity

Solution Approach 1:

The patent merges the dot product computation and accumulate operations into a single unified instruction (DP2A). This combination eliminates the need for separate instructions for multiplication, addition, and accumulation, reducing instruction set complexity while enhancing computational throughput for matrix operations commonly used in machine learning

Inventive Principle:
Principle #5Merging (Combining)

Data Source

PatentUS12007935B2Graphics processors and graphics processing units having dot product accumulate instruction for hybrid floating point format
Publication Date: 2024.06.11 INTEL CORP
  • US12007935B2 patent drawing
  • US12007935B2 patent drawing
  • US12007935B2 patent drawing

AI summary

Graphics processors and graphics processing units having dot product accumulate instructions for a hybrid floating point format are disclosed. In one embodiment, a graphics multiprocessor comprises an instruction unit to dispatch instructions anda processing resource coupled to the instruction unit. The processing resource is configured to receive a dot product accumulate instruction from the instruction unit and to process the dot product accumulate instruction using a bfloat16 number (BF16) format.