首页> 外国专利> Task allocation method, task allocation device, and network-on-chip

Task allocation method, task allocation device, and network-on-chip

机译:任务分配方法,任务分配设备和片上网络

摘要

Embodiments of the present invention provide a task allocation method, a task allocation apparatus, and a network-on-chip. The method includes: determining the number of threads included in a to-be-processed task; determining, in a network-on-chip formed by a multi-core processor, a continuous area formed by routers-on-chip corresponding to multiple continuous idle processor cores whose number is equal to the number of the threads; if the area is a non-rectangular area, determining a rectangular area extended from the area; and if predicted traffic of each router-on-chip that is connected to a non-idle processor core and in the extended rectangular area does not exceed a preset threshold, allocating the multiple threads of the to-be-processed task to the idle processor cores in the area. According to the task allocation method provided in the embodiments of the present invention, the non-rectangular area is extended into a regular rectangular area by using an edge router to which a task has been allocated, and because task allocation is performed in combination with flexibility of an area shape and by using XY routing, problems of large hardware overheads, a low network throughput, low system utilization, and the like are avoided.
机译:本发明实施例提供了一种任务分配方法,任务分配装置以及片上网络。该方法包括:确定要处理的任务中包括的线程数;在由多核处理器形成的片上网络中,确定与多个连续空闲处理器核相对应的,由片上路由器形成的连续区域,该连续空闲处理器核的数量等于线程的数量;如果该区域是非矩形区域,则确定从该区域延伸的矩形区域;如果连接到非空闲处理器核心并且在扩展矩形区域内的每个片上路由器的预测流量未超过预设阈值,则将待处理任务的多个线程分配给空闲处理器该区域的核心。根据本发明实施例提供的任务分配方法,通过使用已经分配了任务的边缘路由器,将非矩形区域扩展为规则矩形区域,并且由于结合了灵活性来执行任务分配通过使用XY路由选择区域形状,可以避免硬件开销大,网络吞吐量低,系统利用率低等问题。

著录项

相似文献

  • 专利
  • 外文文献
  • 中文文献
获取专利

客服邮箱:kefu@zhangqiaokeyan.com

京公网安备:11010802029741号 ICP备案号:京ICP备15016152号-6 六维联合信息科技 (北京) 有限公司©版权所有
  • 客服微信

  • 服务号