aclplatformLocalMemType
1 2 3 4 5 6 7 8 9 | typedef enum aclplatformLocalMemType { L0_A = 0, L0_B = 1, L0_C = 2, L1 = 3, L2 = 4, UB = 5, HBM = 6 }aclplatformLocalMemType; |
Enumeration |
Description |
|---|---|
L0_A |
Physical storage unit in the AI Core, which usually stores the left matrix for cube computation. |
L0_B |
Physical storage unit in the AI Core, which usually stores the right matrix for cube computation. |
L0_C |
Physical storage unit in the AI Core, which usually stores the cube computation results. |
L1 |
Physical storage unit in the AI Core, which has a relatively large space and usually caches the input data for cube computation. |
L2 |
Level-2 cache, which stores frequently accessed data to reduce the read/write operations on the global memory. |
UB |
Storage unit in the AI Core mainly used for vector computations. |
HBM |
Device high bandwidth memory (HBM). |
Parent topic: Data Types and Operation APIs