Hardware accelerated machine learning
AssigneeIntel Corporation
InventorsJeremy Bruestle, Choong Ng
Life of this patent
Estimating the term…
Abstract
A machine learning hardware accelerator architecture and associated techniques are disclosed. The architecture features multiple memory banks of very wide SRAM that may be concurrently accessed by a large number of parallel operational units. Each operational unit supports an instruction set specific to machine learning, including optimizations for performing tensor operations and convolutions. Optimized addressing, an optimized shift reader and variations on a multicast network that permutes and copies data and associates with an operational unit that support those operations are also disclosed.
Claims18
1-20. (canceled)
An apparatus comprising:
- an instruction decoder to decode a matrix multiplication instruction;
- a local memory comprising a plurality of static random-access memory (SRAM) banks to store at least a portion of a first input tensor and a second input tensor, each of the first and second input tensors comprising a multidimensional array of real numbers;
- circuitry to permute a first plurality of the real numbers associated with the first input tensor in accordance with a permutation pattern included with the matrix multiplication instruction to generate a permuted first plurality of real numbers;
- a hardware accelerator to multiply the first input tensor and the second input tensor to produce an output tensor, the hardware accelerator comprising:
- a plurality of operational units to perform a plurality of parallel multiply-accumulate (MAC) operations in accordance with the matrix multiplication instruction, each operational unit comprising:
- a multiplier to multiply a first real number of the permuted first plurality of real numbers and a second real number of a second plurality of real numbers associated with the second input tensor to generate a product, and
- an accumulator to add the product to an accumulation value to generate a result value, the first real number and the second real number each having a first bit width and the accumulation value having a second bit width at least twice the first bit width.
The apparatus of claim 1 further comprising:
- a cache coupled to one or more of the plurality of operational units.
Dependencies are inferred from the claim text.