An AI Core is the compute core of an AI processor, and an AI processor has multiple AI Cores. This section describes the parallel compute architecture abstraction of AI Core, which shields the differences between different hardware. When using Ascend C for programming, the abstract hardware architecture simplifies hardware details and significantly lowers the development barrier. For more details about the hardware architecture or principles, see Hardware Implementation.
An AI Core consists of core components such as the compute units, storage units, and direct memory access (DMA) units.
|
Category |
Component |
Component Functions |
|---|---|---|
|
Compute Units |
Scalar |
Performs scalar computations such as address computation and loop control, and issues instructions of vector computation, matrix computation, data transfer, and synchronization to corresponding units for execution. |
|
Vector |
Performs vector operations. |
|
|
Cube |
Performs cube operations. |
|
|
Storage Units |
Local Memory |
Internal storage of the AI Core. |
|
DMA Units |
DMA |
Moves data between the global memory and local memory and between local memories at different levels. |
Based on the understanding of hardware architecture abstraction, you need to note the following three processes: asynchronous instruction stream, synchronous signal stream, and computing data stream.