发明名称 CODE GENERATION METHOD, COMPILER, SCHEDULING METHOD, APPARATUS AND SCHEDULING SYSTEM
摘要 Embodiments of the present invention disclose a code generating method, a compiler, a scheduling method, an apparatus and a scheduling system. Code generated in the embodiments of the present invention is executable code applied to a heterogeneous system, and the heterogeneous system includes an accelerated processing unit and a central processing unit. The code generating method in the embodiments of the present invention includes: acquiring, by a compiler, resource information of the accelerated processing unit and resource information of the central processing unit so as 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. The executable code generated in the embodiments of the present invention can automatically implement proper scheduling of processors during execution.
申请公布号 EP3032413(A4) 申请公布日期 2016.08.03
申请号 EP20140841750 申请日期 2014.09.03
申请人 HUAWEI TECHNOLOGIES CO., LTD. 发明人 YAN, YOULIANG;ZHENG, RONGFU
分类号 G06F9/45 主分类号 G06F9/45
代理机构 代理人
主权项
地址