Code Generating Method, Compiler, Scheduling Method, Scheduling Apparatus and Scheduling System
    1.
    发明申请
    Code Generating Method, Compiler, Scheduling Method, Scheduling Apparatus and Scheduling System 有权
    代码生成方法,编译器,调度方法,调度装置和调度系统

    公开(公告)号:US20160179484A1

    公开(公告)日:2016-06-23

    申请号:US15058610

    申请日:2016-03-02

    CPC classification number: G06F8/40 G06F9/445 G06F9/5027 G06F9/5044 G06F11/3604

    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.

    Abstract translation: 代码生成方法,编译器,调度方法,装置和调度系统,其中所生成的代码是可执行代码并应用于异构系统,并且异构系统包括加速处理器和中央处理单元(CPU)和 代码生成方法包括由编译器获取加速处理器的资源信息和CPU的资源信息,以便生成可操作的平台列表,由编译器识别来自第一用户代码的可加速代码,由编译器嵌入 ,在加速代码形成第二用户代码之前的钩子功能和异常处理功能,以及编译器编译第二用户代码以获得可执行代码,并且生成的可执行代码可以在执行期间自动实现处理器的适当调度。

    Code generation method for scheduling processors using hook function and exception handling function

    公开(公告)号:US10007495B2

    公开(公告)日:2018-06-26

    申请号:US15058610

    申请日:2016-03-02

    CPC classification number: G06F8/40 G06F9/445 G06F9/5027 G06F9/5044 G06F11/3604

    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.

Patent Agency Ranking