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.

CN121349709AActive Publication Date: 2026-01-16SHANGHAI BIREN TECH CO LTD
5 Cites 0 Cited by

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

Technical Problem

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.

Method used

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.

Benefits of technology

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.

✦ Generated by Eureka AI based on patent content.
Patent Text Reader

Abstract

The invention relates to the technical field of computers, and provides a computing resource management method and device, electronic equipment and a storage medium, and the method comprises the steps: setting the working state of a first memory as a resource occupation state under the condition of executing a matrix product accumulation operation; the terminal write-in instruction is used for executing the matrix product accumulation operation and is used for writing a final operation result of the matrix product accumulation operation into the second memory and converting the working state of the first memory from the resource occupation state to the conventional state. According to the method, state transition operation is coupled with a writing instruction of a final operation result through a terminal writing instruction, and it is ensured that when a matrix product accumulation operation task successfully outputs the final operation result, occupied first storage resources are reliably released. Therefore, the resource occupation risk caused by incomplete recovery is effectively avoided, and the reliability and effectiveness of computing resource management are improved.
Need to check novelty before this filing date? Find Prior Art