一种基于异构系统的程序处理方法和装置制造方法及图纸

技术编号:19561622 阅读:33 留言:0更新日期:2018-11-25 00:25
一种基于异构系统的程序处理方法和装置,该方法为:确定待编译的程序块;根据第一计算组件的历史负载信息,确定在完成将所述程序块编译为适用于所述第一计算组件的第一可执行代码时,所述第一计算组件的资源占用率预测值;若所述资源占用率预测值小于设定阈值,则将所述程序块编译为所述第一可执行代码,并将所述第一可执行代码分配给所述第一计算组件进行执行。该方法对未来计算组件的负载资源占用率情况进行预测,从而可将程序块编译成适合于执行效率较高的计算组件的可执行代码,并将编译后的可执行代码分配到该执行效率较高的计算组件上进行执行,从而缩短程序的整体执行时间。

A Processing Method and Device Based on Heterogeneous System

A program processing method and device based on heterogeneous system is presented. The method is to determine the program blocks to be compiled, determine the resource occupancy of the first computing component when compiling the program blocks into the first executable code applicable to the first computing component according to the historical load information of the first computing component. If the resource occupancy prediction value is less than the set threshold, the program block is compiled into the first executable code, and the first executable code is allocated to the first computing component for execution. This method predicts the load resource occupancy rate of future computing components, so that the program blocks can be compiled into executable codes suitable for computing components with higher execution efficiency, and the compiled executable codes can be allocated to the computing components with higher execution efficiency for execution, thus shortening the overall execution of the program. Time.

【技术实现步骤摘要】
【国外来华专利技术】PCT国内申请,说明书已公开。

【技术保护点】
PCT国内申请,权利要求书已公开。

【技术特征摘要】
【国外来华专利技术】PCT国内申请,...

【专利技术属性】
技术研发人员:刘武龙宋风龙姚骏
申请(专利权)人:华为技术有限公司
类型:发明
国别省市:广东,44

网友询问留言 已有0条评论
  • 还没有人留言评论。发表了对其他浏览者有用的留言会获得科技券。

1