Unlock instant, AI-driven research and patent intelligence for your innovation.

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

Active Publication Date: 2019-04-19
ALIBABA GRP HLDG LTD
View PDF6 Cites 0 Cited by
  • Summary
  • Abstract
  • Description
  • Claims
  • Application Information

AI Technical Summary

Problems solved by technology

Such a solution needs to run non-standard external programs, the process itself is cumbersome and there are security risks
In addition, due to the use of non-standard programs to perform PR operations on FPGAs, it often occurs that the OpenCL kernel program that users want to load does not match the Bitstream (code stream) file that actually performs PR operations on FPGAs, which affects users' understanding of FPGA functions. usage of

Method used

the structure of the environmentally friendly knitted fabric provided by the present invention; figure 2 Flow chart of the yarn wrapping machine for environmentally friendly knitted fabrics and storage devices; image 3 Is the parameter map of the yarn covering machine
View more

Image

Smart Image Click on the blue labels to locate them in the text.
Viewing Examples
Smart Image
  • Program loading method, device and system and electronic equipment
  • Program loading method, device and system and electronic equipment
  • Program loading method, device and system and electronic equipment

Examples

Experimental program
Comparison scheme
Effect test

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...

the structure of the environmentally friendly knitted fabric provided by the present invention; figure 2 Flow chart of the yarn wrapping machine for environmentally friendly knitted fabrics and storage devices; image 3 Is the parameter map of the yarn covering machine
Login to View More

PUM

No PUM Login to View More

Abstract

The embodiment of the invention provides a program loading method and device, a system and electronic equipment. the method comprises the steps that a hardware abstraction layer module sends a loadingrequest for loading an OpenCL kernel program into an FPGA to a Bitstream management module, and sends the OpenCL kernel program to the Bitstream management module; The Bitstream management module carries out security check on the OpenCL kernel program, and if the security check is passed, the OpenCL kernel program is provided for the FPGA management module; And the FPGA management module loads the OpenCL kernel program to the FPGA. According to the embodiment of the invention, on the premise of being compatible with an OpenCL standard framework and a security isolation mechanism, the OpenCL kernel program is loaded into the FPGA.

Description

technical field [0001] The invention relates to the technical field of computers, in particular to a program loading method, device, system and electronic equipment. Background technique [0002] In the FPGA (Field Programmable Gate Array, Field Programmable Gate Array) cloud product, the cloud service provider provides the FPGA on the physical machine to the user through the virtual machine (VM, Virtual Machine) leased to the user, so that the user can deploy its FPGA processing logic. For the convenience of subsequent description, the virtual machine rented by the cloud service provider to the user is called a user virtual machine. [0003] However, based on system security considerations, the platform usually implements security isolation for the FPGA, and restricts user virtual machines from performing PR (Partial Reconfiguration) operations on the FPGA. [0004] In the standard framework of OpenCL (Open Computing Language, Open Computing Language), the OpenCL host pro...

Claims

the structure of the environmentally friendly knitted fabric provided by the present invention; figure 2 Flow chart of the yarn wrapping machine for environmentally friendly knitted fabrics and storage devices; image 3 Is the parameter map of the yarn covering machine
Login to View More

Application Information

Patent Timeline
no application Login to View More
Patent Type & Authority Applications(China)
IPC IPC(8): G06F9/455
CPCG06F9/44521G06F9/45558G06F2009/45587
Inventor 蒋佳立
Owner ALIBABA GRP HLDG LTD