发明名称 Multicore interface with dynamic task management capability and task loading and offloading method thereof
摘要 A multicore interface with dynamic task management capability and a task loading and offloading method thereof are provided. The method disposes a communication interface between a micro processor unit (MPU) and a digital signal processor (DSP) and dynamically manages tasks assigned by the MPU to the DSP. First, an idle processing unit of the DSP is searched, and then one of a plurality of threads of the task is assigned to the processing unit. Finally, the processing unit is activated to execute the thread. Accordingly, the communication efficiency of the multicore processor can be effectively increased while the hardware cost can be saved.
申请公布号 US8972699(B2) 申请公布日期 2015.03.03
申请号 US200812107082 申请日期 2008.04.22
申请人 Industrial Technology Research Institute 发明人 Lin Tai-Ji;Hsieh Tien-Wei;Chu Yuan-Hua;Ou Shih-Hao;Deng Xiang-Sheng;Liu Chih-Wei
分类号 G06F9/30;G06F9/50;G06F9/38 主分类号 G06F9/30
代理机构 Jianq Chyun IP Office 代理人 Jianq Chyun IP Office
主权项 1. A task loading and offloading method of a multicore interface with dynamic task management capability, wherein a communication interface is disposed between a first processor and a second processor, for dynamically managing a task assigned to the second processor by the first processor, the method comprising: receiving the task assigned to the second processor by the first processor; splitting the task into at least one thread; sorting said at least one thread according to priorities of the at least one thread, and recording the at least one thread in a task queue, wherein the task queue records task control block (TCB) data required for executing each of the at least one thread; searching an idle processing unit from a plurality of processing units of the second processor; assigning one of the at least one thread of the task to the idle processing unit; activating the idle processing unit to execute the assigned thread, wherein the method further comprises: receiving a first data place-in command for indicating that the first processor has placed data into one of two input buffers in the multicore interface, to update a state register, indicating a state of the input buffer where the data is placed as full, and instructing the first processor to place data into the other input buffer next time; andreceiving a first data take-out command for indicating that the first processor has taken out the data from one of two output buffers in the multicore interface so as to update the state register, indicating a state of the output buffer where the data is taken out as empty, and instructing the first processor to take out data from the other output buffer next time; and repeating the above steps to assign another thread of the task to another idle processing unit in the second processor, until all the at least one thread of the task are executed.
地址 Hsinchu TW