Processing unit with mixed precision operations
AssigneeAdvanced Micro Devices, Inc.
InventorsBin He, Michael Mantor, Jiasheng Chen
Life of this patent
Estimating the term…
Abstract
A graphics processing unit (GPU) implements operations, with associated op codes, to perform mixed precision mathematical operations. The GPU includes an arithmetic logic unit (ALU) with different execution paths, 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.
Claims20
A method comprising:
- decoding a first instruction at a processing unit to identify a first multi-precision operation designated by a single operation code;
- selecting, based on the single operation code, a first execution path from a plurality of execution paths available at an arithmetic logic unit (ALU), wherein each of the execution paths of the plurality of execution paths executes a different multi-precision operation;
- and
- executing the first multi-precision operation via the first execution path of the ALU by executing a first mathematical operation using operands of different precisions.
A processing unit, comprising:
- a decode stage to decode a first instruction to identify a first multi-precision operation designated by a single first operation code;
- and
- an arithmetic logic unit (ALU) to select, based on the single first operation code, a first execution path from a plurality of execution paths available at the ALU, and execute the first multi-precision operation via the first execution path by executing a first mathematical operation using operands of different precisions, wherein each of the execution paths of the plurality of execution paths executes a different multi-precision operation.
A processing unit, comprising:
- an arithmetic logic unit (ALU) comprising:
- a first execution path to execute a first multi-precision operation designated by a single first operation code by executing a first mathematical operation using operands of different precisions;
- and
- a second execution path to execute a second multi-precision operation designated by a single second operation code by executing a second mathematical operation using operands of different precisions, the second execution path different from the first execution path.
Dependencies are inferred from the claim text.