Chip computing method, device, medium and product based on register offset control
CN122431729BActive Publication Date: 2026-10-27SHANGHAI SUIYUAN TECH CO LTD
Patent Information
- Application Number
- CN202610883368.X
- Authority / Receiving Office
- CN · China
- Patent Type
- Patents(China)
- Current Assignee / Owner
- Filing Date
- 2026-06-18
- Publication Date
- 2026-10-27
- Estimated Expiration
- 2046-06-18
AI Technical Summary
Technical Problem
在矩阵维度较大时,左矩阵反复被加载多次,芯片中产生了大量冗余的数据搬运开销
Benefits of technology
[0009]根据本发明的另一方面,提供了一种计算机可读存储介质,所述计算机可读存储介质存储有计算机指令,所述计算机指令用于使处理器执行时实现本发明任一实施例所述的基于寄存器偏移控制的芯片计算方法。
✦ Generated by Eureka AI based on patent content.
Smart Images

Figure CN122431729B_ABST
Abstract
Embodiments of the present application disclose a chip computing method and device based on register offset control, a medium and a product. The method comprises: performing matrix cutting on a left matrix and a right matrix of a matrix multiplication operation to obtain a left matrix block and a right matrix block; carrying the left matrix to a level one cache, and determining a target left matrix block and a target right matrix block in the matrix multiplication operation; carrying the target right matrix block to the level one cache, reading the target left matrix block and the target right matrix block from the level one cache to perform matrix multiplication to obtain a block operation result; determining a register offset address according to block information of the matrix block, and storing the block operation result to a register according to the register offset address; and when the matrix multiplication operation is determined to be completed, carrying the block operation result in the register to a level three cache to obtain a matrix multiplication result, so that an intermediate operation result is resident in the register and does not occupy the level one cache, the level one cache can cache the left matrix, and frequent data carrying overhead is avoided.
Need to check novelty before this filing date? Find Prior Art
Citation Information
Patent Citations
Attention mechanism calculation method and device, storage medium and product
CN121094023A
Matrix multiplication task execution method and device, equipment, medium and program product
CN121167101A