Task scheduling device, task scheduling method and data parallel processing device
A technology of task processing and task scheduling, applied in the direction of machine execution devices, concurrent instruction execution, etc., can solve the problems of reduced stability and reliability, difficulty in controlling power consumption and temperature, failure of integrated circuits, etc., to achieve shortened time and increased speed , the effect of increased speed
- Summary
- Abstract
- Description
- Claims
- Application Information
AI Technical Summary
Problems solved by technology
Method used
Image
Examples
Embodiment 1
[0044] see Figure 1A A schematic diagram of the task scheduling device shown, the task scheduling device is used to schedule the task information in the parallel processing task queue, the device includes:
[0045] A statistics module 101, configured to determine idle processing units from a plurality of processing units, and count the number of idle processing units;
[0046] The scheduling module 102 is used to sequentially take out a corresponding number of task information from the head of the task queue according to the number of idle processing units;
[0047] The assignment module 103 is configured to assign the fetched task information to idle processing units, so that the idle processing units process the fetched task information.
[0048] Wherein, the statistical module 101 monitors the processing status of each processing unit included in the terminal or device in real time, and the processing status of the processing unit may be busy or idle. When it is monitored...
Embodiment 2
[0069] see figure 2 A schematic diagram of the device for parallel processing data shown, the device includes a memory 201, a processor 202 and a task scheduling device 203 as described in Embodiment 1;
[0070] The memory 201 is used to store data and executable instructions of the processor 202;
[0071] The processor 202 includes at least one processing unit, and the processing unit receives task information assigned by the task scheduling device 203 and performs corresponding processing.
[0072] In the device provided by the embodiment of the present invention, the idle processing units are first determined from the plurality of processing units, and the number of idle processing units is counted, and then a corresponding number of tasks are taken out from the task queue according to the number of idle processing units. For task information, the fetched task information is assigned to idle processing units, so that the idle processing units process the fetched task info...
Embodiment 3
[0074] see image 3 The flow chart of the task scheduling method is shown, the method can be executed by the task scheduling device, and is used to schedule the task information in the parallel processing task queue, and the method includes the following steps:
[0075] Step 301: determining idle processing units from a plurality of processing units, and counting the number of idle processing units;
[0076] Step 302: According to the number of idle processing units, sequentially take out the corresponding number of task information from the head of the task queue;
[0077] Step 303: Distribute the fetched task information to idle processing units, so that the idle processing units process the fetched task information.
[0078] In the method provided by the embodiment of the present invention, the idle processing units are first determined from the plurality of processing units, and the number of idle processing units is counted, and then a corresponding number of tasks are t...
PUM
Abstract
Description
Claims
Application Information
- R&D Engineer
- R&D Manager
- IP Professional
- Industry Leading Data Capabilities
- Powerful AI technology
- Patent DNA Extraction
Browse by: Latest US Patents, China's latest patents, Technical Efficacy Thesaurus, Application Domain, Technology Topic, Popular Technical Reports.
© 2024 PatSnap. All rights reserved.Legal|Privacy policy|Modern Slavery Act Transparency Statement|Sitemap|About US| Contact US: help@patsnap.com