Da Vinci Architecture DaVinci Core - Notes

Article Directory



related blog


  • computing unit
    • Cube
    • Vector
    • Scalar
  • storage unit
  • control unit

As the computing core of the Ascend AI processor, the AI ​​core is responsible for executing computation-intensive vector and tensor operators.

It can be seen as a simplified structure of a modern microprocessor. It includes three basic computing resources: matrix computing unit (cubic unit), vector computing unit (vector unit) and scalar computing unit (scalar unit).
These three computing units correspond to three common computing modes: tensor, vector, and scalar.
In the actual computing process, the three computing units each perform their duties, forming three independent execution pipelines, which cooperate with each other under the unified scheduling of the system software to achieve the optimization of computing efficiency.
In addition, cube cells and vector cells support different precision and different types of calculation modes.


AI Core architecture
insert image description here


The AI ​​core is composed of computing unit, storage unit and control unit.

  • Computing units
    The execution units in the AI ​​core include Cube, Vector, and Scalar, which are computing units for different types of data.
  • The storage unit
    AI Core loads external data into the internal memory for calculation.
    Programmer-visible internal storage devices include L1 buffer, L0 buffer, unified buffer, general-purpose registers (GPR), special-purpose registers (SPR), and scalar buffers.
    To facilitate data transfer and movement in the AI ​​Core, a Bus Interface Unit (BIU), Memory Transfer Engine 1 (MTE1), MTE2, and MTE3 are provided.
    BIU provides an interface for the interaction between the AI ​​core and the bus.
    MTE moves data between different buffers.
  • Control Unit
    The control unit of AI Core includes System Control, Scalar PSQ, Instr.Dispatch, Cube Queue, Vector Queue, MTE Queue and Event Synchronization. System Control is responsible for the operating mode, parameter configuration and power consumption control of AI Core.
    Scalar PSQ is mainly used to decode control instructions.
    After the instructions are decoded and sequentially transmitted using the Instr.Dispatch module, they are sent to the Cube Queue, Vector Queue or MTE Queue module respectively by type.

Huawei AI panorama

insert image description here


Iori 2023-08-04 (Friday)

Guess you like

Origin blog.csdn.net/lovechris00/article/details/132096691