Hardware acceleration for function processing
AssigneeMicrosoft Technology Licensing, LLC
InventorsPrateek Tandon, Brian Jacob Corell
Life of this patent
Estimating the term…
Abstract
A function processing service may receive a request to execute source code. The source code may include instructions to perform a function. The function processing service may determine whether at least one hardware acceleration condition has been satisfied for the function. If at least one hardware acceleration condition has been satisfied, the instructions in the source code may be translated into hardware-specific code corresponding to a hardware circuit. The hardware circuit may be configured based on the hardware-specific code, and the hardware circuit may perform the function. The function processing service may then provide the result obtained from the hardware circuit to the requesting entity.
Claims20
A computer-implemented method, comprising:
- determining that a hardware acceleration condition has been satisfied for a first function by:
- counting, within a time interval, a number of requests or instructions received by a function processing service to perform the first function;
- and
- determining that the number of requests or instructions to perform the first function exceeds a threshold value;
- configuring a hardware circuit to perform the first function;
- adding the first function to a function library that is implemented in the hardware circuit;
- receiving, at the function processing service, a request to execute source code, wherein the source code comprises the instructions to perform the first function;
- and
- causing the first function to be performed via the hardware circuit.
A system, comprising:
- at least one processor;
- memory in electronic communication with the at least one processor;
- and
- instructions stored in the memory, the instructions being executable by the at least one processor to perform operations of:
- determining that a hardware acceleration condition has been satisfied for a first function by:
- counting, within a time interval, a number of requests or instructions received by a function processing service to perform the first function;
- and
- determining that the number of requests or instructions to perform the first function exceeds a threshold value;
- configuring a hardware circuit to perform the first function;
- adding the first function to a function library that is implemented in the hardware circuit;
- receiving, at the function processing service, a request to execute source code, wherein the source code comprises the instructions to perform the first function;
- and
- causing the first function to be performed via the hardware circuit.
A non-transitory computer-readable medium storing instructions thereon that, when executed by at least one processor, causes a computing device to:
- determine that a hardware acceleration condition has been satisfied for a first function by:
- counting, within a time interval, a number of requests or instructions received by a function processing service to perform the first function;
- and
- determining that the number of requests or instructions to perform the first function exceeds a threshold value;
- add the first function to a function library that is implemented in hardware circuits;
- receive, at a function processing service, a request to execute source code, wherein the source code comprises the instructions to perform the first function;
- and
- cause the first function to be performed via the hardware circuits.
Dependencies are inferred from the claim text.