Memory access method and device and storage medium
By determining the types of read and write data consistent with the memory access granularity and the number of times it is the problem of low efficiency and high error rate of artificial intelligence chips in the prior art when processing image data, and achieving more efficient and reliable memory access.
CN119718202APending Publication Date: 2025-03-28广州壁仞智能科技有限公司 +1
0 Cites 0 Cited by
Patent Information
- Application Number
- CN202411798844.5
- Authority / Receiving Office
- CN · China
- Patent Type
- Applications(China)
- Current Assignee / Owner
- Filing Date
- 2024-12-06
- Publication Date
- 2025-03-28
AI Technical Summary
Technical Problem
In the prior art, when artificial intelligence chips process image data in RGB, RGBA and other formats, the memory access method is low and error-prone, resulting in low bandwidth utilization and difficulty in data address alignment.
Method used
By determining the read data type, write data type, as well as the loading and storage times of memory access, it is consistent with the memory access granularity of the artificial intelligence chip, thereby optimizing memory access.
Benefits of technology
It improves the bandwidth utilization of memory access, reduces the risk of memory access errors, optimizes memory access efficiency and reliability, thereby improving the performance of algorithms and models based on artificial intelligence chips.
✦ Generated by Eureka AI based on patent content.
Abstract
The invention provides a memory access method and device and a storage medium, and the method comprises the steps: determining a read data type and a write data type of memory access, the loading times of the read data type and the storage times of the write data type, reading the data type, and writing the size of a storage space occupied by the data type to be consistent with the memory access granularity; and executing memory access based on the read data type, the loading times, the write data type and the storage times. According to the method, the equipment and the storage medium provided by the invention, the data reading type and the loading times thereof as well as the data writing type and the storage times thereof are adaptive to the memory access granularity of the artificial intelligence chip, so that memory access is performed on the basis, the bandwidth utilization rate of memory access can be effectively improved, the risk of memory access errors is reduced, and the memory access efficiency is improved. Therefore, the memory access efficiency is optimized, the memory access reliability is guaranteed, and the operator and model performance based on artificial intelligence chip operation is improved.
Need to check novelty before this filing date? Find Prior Art