Patent ID: 11941434
Assignee: HUAWEI TECHNOLOGIES CO., LTD.
Field: Computer technology (Electrical engineering)
Classification: CPC G | IPC G

Claim 8:
9. The apparatus according to claim 8, wherein the task description information comprises identifiers of task streams corresponding to the plurality of tasks, a first threshold is greater than a second threshold; and
the one or more processors further execute the instructions to:
allocate corresponding task streams in idle task streams to the plurality of tasks when a quantity of resources of idle task streams is greater than or equal to the first threshold;
allocate corresponding task streams in existing task streams on the second processing apparatus to the plurality of tasks when the quantity of resources of idle task streams is less than or equal to the second threshold; or
allocate the corresponding task streams in the idle task streams to some of the plurality of tasks, and allocate the corresponding task streams in the existing task streams on the second processing apparatus to remaining tasks of the plurality of tasks when the quantity of resources of idle task streams is greater than the second threshold and less than the first threshold.