Computing resource management method and device, electronic equipment and storage medium
By setting the resource occupancy status during matrix multiplication and accumulation operations and restoring the status in the terminal writing instruction, the problem of resource residue caused by irregular shapes is solved, ensuring reliable release and efficient management of computing resources.
Patent Information
- Application Number
- CN202511895134.9
- Authority / Receiving Office
- CN · China
- Patent Type
- Applications(China)
- Current Assignee / Owner
- Filing Date
- 2025-12-16
- Publication Date
- 2026-01-16
- Estimated Expiration
- 2045-12-16
AI Technical Summary
In matrix multiplication and accumulation operations, irregular shapes can cause some high-priority states of the HBM workspace's L2 cache to not be properly restored, resulting in resource residues that may block the execution of subsequent operator instructions.
By setting the working state of the first memory to a resource-occupied state when performing matrix multiplication and accumulation operations, and coupling the writing of the final operation result in the terminal write instruction, the state of the first memory is ensured to change to a normal state, thus releasing the resources.
It effectively avoids the risk of resource occupation, improves the reliability and effectiveness of computing resource management, ensures the complete release of computing resources, and avoids instruction blocking.