Method, a device, and a computer program product for determining a resource required for executing a code segment
US11354159B2 · kind B2 · utility
Assignee
Inventors
Key dates
| Filing date | Aug 14, 2019 |
| Grant date | Jun 7, 2022 |
| Priority date | — |
| Expiry date | Jun 25, 2040 |
Classification
- Technology area (CPC G)Physics
- CPC primaryG06F9/5027
- WIPO fieldComputer technology
- WIPO sectorElectrical engineering
Abstract
A method comprises: compiling the code segment with a compiler; and determining, based on an intermediate result of the compiling, a resource associated with a dedicated processing unit and for executing the code segment. As such, the resource required for executing a code segment may be determined quickly without actually executing the code segment and allocating or releasing the resource, which helps subsequent resource allocation and further brings about a better user experience.
Source: USPTO / EPO open patent data. Objective bibliographic and citation counts.