Profiling application code to identify code portions for FPGA implementation
First Claim
1. A computer-implemented process, the process comprising:
- receiving, into memory, computer program code including references to one or more libraries;
accessing, with a computer processor, information about available hardware libraries;
determining, with a computer processor, whether the references in the computer program code can be implemented using one or more of the available hardware libraries;
generating a profile of the computer program code to predict functionality suited for execution on a field programmable gate array (FPGA) based at least in part upon the references to one or more libraries and information about the available hardware libraries including code size, power consumption data, resource data, and information about the frequency of calls made to the available hardware libraries;
receiving information from a scheduler including each of the computer program code performance requirements, priority of the computer program code execution, availability of a corresponding software library if a particular functional unit is not available within the FPGA, and context switching costs, and receiving data about an execution pattern from a prior execution of the computer program code; and
based at least in part upon the generated profile, the information received from the scheduler and the received data, selecting and loading one or more of the one or more of the available hardware libraries into the FPGA for access by an application using the computer program code.
2 Assignments
0 Petitions
Accused Products
Abstract
Application code is analyzed to determine if a hardware library could accelerate its execution. In particular, application code can be analyzed to identify calls to application programming interfaces (APIs) or other functions that have a hardware library implementation. The code can be analyzed to identify the frequency of such calls. Information from the hardware library can indicate characteristics of the library, such as its size, power consumption and FPGA resource usage. Information about the execution pattern of the application code also can be useful. This information, along with information about other concurrent processes using the FPGA resources, can be used to select a hardware library to implement functions called in the application code.
-
Citations
12 Claims
-
1. A computer-implemented process, the process comprising:
-
receiving, into memory, computer program code including references to one or more libraries; accessing, with a computer processor, information about available hardware libraries; determining, with a computer processor, whether the references in the computer program code can be implemented using one or more of the available hardware libraries; generating a profile of the computer program code to predict functionality suited for execution on a field programmable gate array (FPGA) based at least in part upon the references to one or more libraries and information about the available hardware libraries including code size, power consumption data, resource data, and information about the frequency of calls made to the available hardware libraries; receiving information from a scheduler including each of the computer program code performance requirements, priority of the computer program code execution, availability of a corresponding software library if a particular functional unit is not available within the FPGA, and context switching costs, and receiving data about an execution pattern from a prior execution of the computer program code; and based at least in part upon the generated profile, the information received from the scheduler and the received data, selecting and loading one or more of the one or more of the available hardware libraries into the FPGA for access by an application using the computer program code. - View Dependent Claims (2, 3, 4, 5, 6)
-
-
7. A system comprising:
-
one or more computer processors; one or more computer readable hardware storage devices; computer-executable instructions stored on the one or more computer readable hardware storage devices that, when processed by the one or more computer processors, cause the system to perform a computer-implemented process comprising; receiving, into memory, computer program code including references to one or more libraries; accessing, with a computer processor, information about available hardware libraries; determining, with a computer processor, whether the references in the computer program code can be implemented using one or more of the available hardware libraries; generating a profile of the computer program code to predict functionality suited for execution on a field programmable gate array (FPGA) based at least in part upon the references to one or more libraries and information about the available hardware libraries including code size, power consumption data, resource data, and information about the frequency of calls made to the available hardware libraries; receiving information from a scheduler including each of the computer program code performance requirements, priority of the computer program code execution, availability of a corresponding software library if a particular functional unit is not available within the FPGA, and context switching costs, and receiving data about an execution pattern from a prior execution of the computer program code; and based at least in part upon the generated profile, the information received from the scheduler and the received data, selecting and loading one or more of the one or more of the available hardware libraries into the FPGA for access by an application using the computer program code. - View Dependent Claims (8, 9, 10, 11, 12)
-
Specification