Task processing system and task processing method applicable to intelligence processing unit
AssigneeSigmastar Technology Ltd.
InventorBo Yang
Life of this patent
Estimating the term…
Abstract
A task processing system includes an intelligence processing unit and an instruction processor. The instruction processor receives a task originated from a main processor and enables the intelligence processing unit in response to the task. The intelligence processing unit selects a corresponding firmware file from a plurality of firmware files according to the task and re-enables the instruction processor, such that the instruction processor operates the corresponding firmware file and cooperates with the instruction processor to complete the task.
Claims12
A task processing system, comprising:
- a first intelligence processing unit;
- a first instruction processor, receiving a first task originated from a main processor and enabling the first intelligence processing unit in response to the first task,
- wherein, the first intelligence processing unit selects a corresponding firmware file from a plurality of firmware files according to the first task and re-enables the first instruction processor, such that the first instruction processor operates the corresponding firmware file and cooperates with the first instruction processor to complete the first task,
- wherein information of the first task comprises a storage address of an instruction of the first intelligence processing unit in a memory and a storage address of the corresponding firmware file in the memory;
- a second intelligence processing unit;
- and
- a second instruction processor, receiving a second task originated from the main processor and enabling the second intelligence processing unit in response to the second task so as to execute the second task,
- wherein, the first instruction processor stores a first task queue comprising the first task, the second instruction processor stores a second task queue comprising the second task, the main processor determines, according to a first difference and a second difference, to write a task to be executed to the first task queue or the second task queue, the first difference is determined by a first read pointer signal and a first write pointer signal corresponding to the first instruction processor, and the second difference is determined by a second read pointer signal and a second write pointer signal corresponding to the second instruction processor.
A task processing method, applicable to a processing system, the method comprising:
- enabling a first intelligence processing unit by a first instruction processor in response to a first task originated from a main processor;
- selecting a corresponding firmware file from a plurality of firmware files by the first intelligence processing unit according to the first task and re-enabling the first instruction processor, such that the first instruction processor operates the corresponding firmware file;
- enabling a second intelligence processing unit by a second instruction processor in response to receiving a second task originated from the main processor and enabling the second intelligence processing unit in response to the second task so as to execute the second task,
- wherein, the first instruction processor stores a first task queue comprising the first task, the second instruction processor stores a second task queue comprising the second task, the main processor determines, according to a first difference and a second difference, to write a task to be executed to the first task queue or the second task queue, the first difference is determined by a first read pointer signal and a first write pointer signal corresponding to the first instruction processor, and the second difference is determined by a second read pointer signal and a second write pointer signal corresponding to the second instruction processor;
- and
- completing the first task via the first intelligence processing unit and the first instruction processor cooperating with each other,
- wherein information of the first task comprises a storage address of an instruction of the first intelligence processing unit in a memory and a storage address of the corresponding firmware file in the memory.
Dependencies are inferred from the claim text.