Invention Grant
- Patent Title: Code generation method for scheduling processors using hook function and exception handling function
-
Application No.: US15058610Application Date: 2016-03-02
-
Publication No.: US10007495B2Publication Date: 2018-06-26
- Inventor: Youliang Yan , Rongfu Zheng
- Applicant: Huawei Technologies Co., Ltd.
- Applicant Address: CN Shenzhen
- Assignee: HUAWEI TECHNOLOGIES CO., LTD.
- Current Assignee: HUAWEI TECHNOLOGIES CO., LTD.
- Current Assignee Address: CN Shenzhen
- Agency: Conley Rose, P.C.
- Priority: CN201310395216 20130903
- Main IPC: G06F9/45
- IPC: G06F9/45 ; G06F9/50 ; G06F9/445 ; G06F8/40 ; G06F11/36

Abstract:
A code generating method, a compiler, a scheduling method, an apparatus and a scheduling system where the generated code is an executable code and applied to a heterogeneous system, and the heterogeneous system includes an accelerated processor and a central processing unit (CPU) and the code generating method includes acquiring, by a compiler, resource information of the accelerated processor and resource information of the CPU in order to generate an operable platform list, identifying, by the compiler, accelerable code from first user code, embedding, by the compiler, a hook function and an exception handling function before the accelerable code to form second user code, and compiling, by the compiler, the second user code to obtain the executable code and the executable code generated may automatically implement proper scheduling of processors during execution.
Public/Granted literature
- US20160179484A1 Code Generating Method, Compiler, Scheduling Method, Scheduling Apparatus and Scheduling System Public/Granted day:2016-06-23
Information query