# US 2026/0086801 A1 · Systems and methods for enhanced matrix operations

> Agents: this data is available as JSON from the patentgrep API and MCP server — see https://patentgrep.com/llms.txt

- Number: US 2026/0086801 A1
- Document ID: US20260086801A1
- Status: Published application
- Kind: A1
- Application number: 18/894,429
- Filed: 2024-09-24
- Published: 2026-03-26
- Earliest claimed: 2024-09-24
- Assignees: Advanced Micro Devices, Inc.
- Applicants: Advanced Micro Devices, Inc.
- Inventors: Abhinav Vishnu; Dhwani Satish Mehta; Jeffrey Daily
- Web page: https://patentgrep.com/patent/US20260086801A1

## CPC

- G06F 9/30025: {Format conversion instructions, e.g. Floating-Point to Integer, decimal conversion}
- G06F 9/30036: {Instructions to perform operations on packed data, e.g. vector, tile or matrix operations}
- G06F 17/16: Matrix or vector computation {, e.g. matrix-matrix or matrix-vector multiplication, matrix factorization (matrix transposition G06F7/78)}
- G06F: ELECTRIC DIGITAL DATA PROCESSING (computer systems based on specific computational models G06N)

## Abstract

A disclosed method may include converting a plurality of input tensors from a first floating-point format to a second floating-point format, the second floating-point format having a different exponent range in comparison to the first floating-point format. The method may further include generating, via a hardware accelerator, a result tensor by (1) executing a matrix operation using the plurality of input tensors in the second floating-point format, and (2) accumulating intermediate results of the matrix operation in a result register within the hardware compute unit using the first floating-point format. Various other methods, devices, and systems are also disclosed.

## Claims

### Claim 1

A method comprising:
converting a plurality of input tensors from a first floating-point format to a second floating-point format, the second floating-point format having a different exponent range in comparison to the first floating-point format; and
generating, via a hardware accelerator, a result tensor by:
executing a matrix operation using the plurality of input tensors in the second floating-point format; and
accumulating intermediate results of the matrix operation in a result register using the first floating-point format.

### Claim 2 (depends on 1)

The method of claim 1, further comprising executing the matrix operation using the plurality of input tensors in the second floating-point format via a hardware compute unit included in the hardware accelerator, the hardware compute unit configured to execute matrix operations using the second floating-point format.

### Claim 3 (depends on 1)

The method of claim 1, wherein the hardware accelerator lacks hardware support for that executing matrix operations using values in the first floating-point format.

### Claim 4 (depends on 1)

The method of claim 1, wherein the matrix operation comprises a General Matrix Multiplication (GEMM) operation, and the converted plurality of input tensors are used as inputs to the GEMM operation.

### Claim 5 (depends on 1)

The method of claim 1, wherein the first floating-point format comprises a 32-bit floating point (FP32) representation.

### Claim 6 (depends on 1)

The method of claim 1, wherein the second floating-point format comprises at least one of:
a 4-bit floating-point representation (FP4);
a 6-bit floating-point representation (FP6);
an 8-bit floating-point representation (FP8);
a 16-bit floating-point representation (FP16); or
a 16-bit brain floating-point representation (BF16).

### Claim 7 (depends on 1)

The method of claim 1, wherein the first floating-point format has a higher numerical precision than the second floating-point format.

### Claim 8 (depends on 1)

The method of claim 1, further comprising converting the plurality of input tensors representing values in the first floating-point format to the second floating-point format via a conversion kernel included in a machine learning software development framework.

### Claim 9 (depends on 1)

The method of claim 1, wherein the converting of the input tensors and the executing of the matrix operation are transparent to a user application utilizing a machine learning software development framework.

### Claim 10 (depends on 1)

The method of claim 1, wherein the executing of the matrix operation using the second floating-point format improves performance of the hardware accelerator compared to an execution of the matrix operation using the first floating-point format.

### Claim 11 (depends on 1)

The method of claim 1, further comprising observing convergence of at least one performance metric for a machine learning model implemented using an additional hardware accelerator with native support for execution of matrix operations using the first floating-point format versus the machine learning model implemented via:
converting the plurality of input tensors from the first floating-point format to the second floating-point format; and
generating, via the hardware accelerator, a result tensor by:
executing a matrix operation using the plurality of input tensors in the second floating-point format; and
accumulating intermediate results of the matrix operation in a result register using the first floating-point format.

### Claim 12

A hardware accelerator comprising:
a hardware compute unit comprising:
a result register configured to store an accumulated value in a first floating-point format;
a matrix multiplication unit configured to execute matrix multiplication operations in a second floating-point format, the second floating-point format having a different exponent range in comparison to the first floating-point format;
wherein the hardware accelerator is configured to:
receive a plurality of input tensors representing values converted from the first floating-point format to the second floating-point format;
generate, via the hardware compute unit, a result tensor by:
executing, via the matrix multiplication unit, a matrix operation using the plurality of input tensors in the second floating-point format; and
accumulating intermediate results of the matrix operation in the result register within the hardware compute unit using the first floating-point format.

### Claim 13 (depends on 12)

The hardware accelerator of claim 12, wherein the matrix operation comprises a General Matrix Multiplication (GEMM) operation, and the converted input tensors are used as inputs to the GEMM operation.

### Claim 14 (depends on 12)

The hardware accelerator of claim 12, wherein the first floating-point format comprises a 32-bit floating point (FP32) representation.

### Claim 15 (depends on 12)

The hardware accelerator of claim 12, wherein the second floating-point format comprises at least one of:
a 4-bit floating-point representation (FP4);
a 6-bit floating-point representation (FP6);
an 8-bit floating-point representation (FP8);
a 16-bit floating-point representation (FP16); or
a 16-bit brain floating-point representation (BF16).

### Claim 16 (depends on 12)

The hardware accelerator of claim 12, wherein the first floating-point format has a higher numerical precision than the second floating-point format.

### Claim 17 (depends on 12)

The hardware accelerator of claim 12, wherein the hardware accelerator comprises a graphics processing unit.

### Claim 18 (depends on 17)

The hardware accelerator of claim 17, wherein the graphics processing unit comprises at least one of:
at least 110 compute units; or
at least 304 compute units.

### Claim 19

A system comprising:
a host device configured to convert a plurality of input tensors from a first floating-point format to a second floating-point format, the second floating-point format having a different exponent range in comparison to the first floating-point format;
a hardware accelerator configured to generate a result tensor by:
executing a matrix operation using the plurality of input tensors in the second floating-point format; and
accumulating intermediate results of the matrix operation in a result register using the first floating-point format.

### Claim 20 (depends on 19)

The system of claim 19, further comprising a hardware compute unit comprising:
the result register, the result register configured to store the intermediate results of the matrix operation in the first floating-point format; and
a matrix multiplication unit configured to execute the matrix operation using the plurality of result tensors in the second floating-point format.
