30. Neural processing unit (NPU)

30.1 Introduction

The neural processing unit (NPU) provides powerful hardware acceleration for neural network, to allow efficient artificial intelligence (AI) applications.

30.2 NPU main features

The NPU neural hardware acceleration is exposed through the following API:

The NPU flexibility allows to optimally accelerate the following frameworks (It is a non-exhaustive list):

The NPU provides the following neural theoretical performance, values for 800 MHz:

The NPU integration allows to reach the following neural benchmarked performances:

To reduce the required DDR bandwidth during neural computations, the NPU embeds natively 128 Kbytes of memory. It is recommended to allocate some additional embedded memory (SRAM) to the neural acceleration: typically one or two additional 128-Kbyte buffers, if available (for instance from the disabled video encode/decode operator, VENC/VDEC).

30.3 NPU implementation

The NPU acceleration is implemented in the hardware through the neural operator inserted into the GPU. It benefits from both the efficiency of an optimized hardware (the neural operator) and the flexibility of the GPU shaders.

Refer to Section 29: Graphic processing unit (GPU) for any details on the hardware implementation.

30.4 NPU functional description

The NPU acceleration is based on the GPU hardware, refer to Section 29: Graphic processing unit (GPU) for more details about the functional descriptions of the following common items:

30.5 NPU low-power modes

The NPU benefits of the same low-power modes as the GPU. Refer to Section 29: Graphic processing unit (GPU) for more details.

30.6 NPU interrupts

The NPU shares its interrupts with the GPU. Refer to Section 29: Graphic processing unit (GPU) for more details.

30.7 NPU registers

The NPU shares its registers with the GPU. Refer to Section 29: Graphic processing unit (GPU) for more details.