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:
- receiving, at a function processing service, a request to execute source code, wherein the request is received from a requesting entity, and wherein the source code comprises instructions to perform a function;
- determining that a hardware acceleration condition has been satisfied for the function wherein determining that the hardware acceleration condition has been satisfied comprises counting a number of requests corresponding to one or more functions that the function processing service receives within a time interval and determining that the number of requests exceeds a threshold value;
- translating the instructions in the source code into hardware-specific code corresponding to a hardware circuit;
- configuring the hardware circuit based on the hardware-specific code;
- causing the hardware circuit to perform the function;
- and
- providing a result obtained from the hardware circuit to the requesting entity.
A computer-implemented method, comprising:
- receiving, at a function processing service, a request to execute source code, wherein the request is received from a requesting entity, and wherein the source code comprises instructions to perform a function;
- determining that a hardware acceleration condition has been satisfied for the function, wherein determining that the hardware acceleration condition has been satisfied comprises determining an estimated cost savings associated with performing the function via the hardware circuit compared to performing the function via a general-purpose processor and determining that the estimated cost savings exceeds a threshold value;
- translating the instructions in the source code into hardware-specific code corresponding to a hardware circuit;
- configuring the hardware circuit based on the hardware-specific code;
- causing the hardware circuit to perform the function;
- and
- providing a result obtained from the hardware circuit to the requesting entity.
A computer-implemented method, comprising:
- receiving, at a function processing service, a request to execute source code, wherein the request is received from a requesting entity, and wherein the source code comprises instructions to perform a function;
- determining that a hardware acceleration condition has been satisfied for the function, wherein determining that the hardware acceleration condition has been satisfied comprises determining that the function is included in a function library;
- translating the instructions in the source code into hardware-specific code corresponding to a hardware circuit;
- configuring the hardware circuit based on the hardware-specific code;
- causing the hardware circuit to perform the function;
- providing a result obtained from the hardware circuit to the requesting entity;
- and
- adding an added function to the function library.
Dependencies are inferred from the claim text.