METHOD FOR PROCESSING PLURALITY OF TASKS, PROCESSING DEVICE, AND HETEROGENEOUS COMPUTING SYSTEM
개요
출원인
MOORE THREADS TECHNOLOGY CO., LTD.
발명자
Lei CHEN; Si WEN; Kai LI; Yubo ZHANG
IPC 분류
CPC 분류
A method for processing a plurality of tasks includes: obtaining task description information for a task, the task description information comprising a dependency information identifier and a dependent information identifier, the dependency information identifier indicating the number of a first type of tasks associated with the task, and the dependent information identifier at least indicating whether a second type of task associated with the task exists in the plurality of tasks; in response to the task execution ending, updating the dependency information identifier of the second type of task associated with the task, so as to determine from the second type of task associated with the task any tasks to be executed which no longer directly depend on any task; adding the tasks to be executed into a tasks to be executed queue; and executing the tasks to be executed located in the tasks to be executed queue.
원문 (중국어)
A method for processing a plurality of tasks includes: obtaining task description information for a task, the task description information comprising a dependency information identifier and a dependent information identifier, the dependency information identifier indicating the number of a first type of tasks associated with the task, and the dependent information identifier at least indicating whether a second type of task associated with the task exists in the plurality of tasks; in response to the task execution ending, updating the dependency information identifier of the second type of task associated with the task, so as to determine from the second type of task associated with the task any tasks to be executed which no longer directly depend on any task; adding the tasks to be executed into a tasks to be executed queue; and executing the tasks to be executed located in the tasks to be executed queue.