Program loading method, device and system and electronic equipment
A technology of kernel program and host program, which is applied in the computer field, can solve problems affecting the use of FPGA functions, hidden safety hazards, cumbersome processes, etc., and achieve the effect of security isolation
- Summary
- Abstract
- Description
- Claims
- Application Information
AI Technical Summary
Problems solved by technology
Method used
Image
Examples
Embodiment 1
[0044] Such as figure 2 As shown in , it is a schematic flowchart of a method for loading an OpenCL kernel program according to an embodiment of the present invention. The method includes:
[0045] S101: The hardware abstraction layer module sends a loading request to the Bitstream management module to load the OpenCL kernel program into the FPGA, and sends the OpenCL kernel program to the Bitstream management module.
[0046] In this step, the user initiates the loading request of the OpenCL kernel program by running the OpenCL host program module in the user virtual machine. The user can configure the OpenCL host program in the user virtual machine on the cloud and run the OpenCL host program module. program to generate the OpenCL host program module (the OpenCL host program module is also a process or an instance), so as to initiate the process of loading the OpenCL kernel program. Therefore, this step S101 may specifically be that the hardware abstraction layer module a...
Embodiment 2
[0057] Such as image 3 As shown, it is a schematic structural diagram of the loading system of the OpenCL kernel program in the embodiment of the present invention. In the embodiment of the present invention, through the functional improvement in the interaction relationship of each functional module involved in the existing OpenCL standard framework, To complete the loading of the OpenCL kernel program. Specifically, the loading system of the OpenCL kernel program of the present embodiment includes a hardware abstraction layer module 31, a Bitstream management module 32 and an FPGA management module 33. In this embodiment, the functions of each module are as follows:
[0058] 1) Hardware abstraction layer module 31: used to send a request to the Bitstream management module 32 to load the OpenCL kernel program into the FPGA, and send the OpenCL kernel program to the Bitstream management module.
[0059] Wherein, as described in the foregoing embodiments, the user triggers th...
Embodiment 3
[0071] Such as Figure 4 As shown, it is a schematic structural diagram of the loading control device of the OpenCL kernel program in the embodiment of the present invention, which includes a first control unit 41 and a second control unit 41 that perform control operations on the hardware abstraction layer module, the Bitstream management module and the FPGA management module respectively. Unit 42 and the third control unit 43, wherein the control processing performed by each control unit is as follows:
[0072] 1) The first control unit 41: used to control the hardware abstraction layer module to send a request to load the OpenCL kernel program in the FPGA to the Bitstream management module, and send the OpenCL kernel program to the Bitstream management module.
[0073] Wherein, the first control unit 41 can be specifically used to control the hardware abstraction layer module to accept the call of the OpenCL host program module in the user virtual machine, and trigger a loa...
PUM
Login to View More Abstract
Description
Claims
Application Information
Login to View More 


