发明名称 |
TASK ALLOCATION METHOD, TASK ALLOCATION APPARATUS, AND NETWORK-ON-CHIP |
摘要 |
A task allocation method, a chip are disclosed. The method includes: determining a 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, problems of large hardware overheads, a low network throughput, low system utilization are avoided. |
申请公布号 |
US2016070603(A1) |
申请公布日期 |
2016.03.10 |
申请号 |
US201514940577 |
申请日期 |
2015.11.13 |
申请人 |
Huawei Technologies Co., Ltd. |
发明人 |
Lu Hang;Han Yinhe;Fu Binzhang;Li Xiaowei |
分类号 |
G06F9/50;G06F15/78 |
主分类号 |
G06F9/50 |
代理机构 |
|
代理人 |
|
主权项 |
1. A task allocation method, comprising:
determining a number of threads comprised in a to-be-processed task; determining, in a network-on-chip formed by a multi-core processor, multiple continuous idle processor cores whose number is equal to the number of the threads, wherein each of the idle processor cores is connected to a router-on-chip; searching for and determining, in the network-on-chip if an area formed by the determined routers-on-chip is a non-rectangular area, a rectangular area extended from the non-rectangular area; and allocating the threads in the to-be-processed task to the idle processor cores if predicted traffic of each router-on-chip in the extended rectangular area that is connected to a non-idle processor core does not exceed a preset threshold, wherein each of the idle processor cores is allocated one thread. |
地址 |
Shenzhen CN |