Parallel program task processing method and parallel program task processing device

A task processing and task technology, applied in the field of process processing, can solve problems such as low efficiency, achieve the effect of improving processing efficiency and reducing processing time

A task processing and task technology, applied in the field of process processing, can solve problems such as low efficiency, achieve the effect of improving processing efficiency and reducing processing time

CN106776015AActive Publication Date: 2017-05-31INSPUR SUZHOU INTELLIGENT TECH CO LTD

Image

Smart Image Click on the blue labels to locate them in the text.
Viewing Examples
Smart Image
  • Parallel program task processing method and parallel program task processing device
  • Parallel program task processing method and parallel program task processing device
  • Parallel program task processing method and parallel program task processing device

Examples

Experimental program
Comparison scheme
Effect test

Embodiment Construction

[0029] The core of the present invention is to provide a parallel program task processing method and its device. When processing related follow-up tasks, it does not need to go to the cache of other processing cores to read, but directly uses the processing core corresponding to it. The data in the cache is enough, and the processing efficiency is high.

[0030] In order to make the purpose, technical solutions and advantages of the embodiments of the present invention clearer, the technical solutions in the embodiments of the present invention will be clearly and completely described below in conjunction with the drawings in the embodiments of the present invention. Obviously, the described embodiments It is a part of embodiments of the present invention, but not all embodiments. Based on the embodiments of the present invention, all other embodiments obtained by persons of ordinary skill in the art without making creative efforts belong to the protection scope of the present...

the structure of the environmentally friendly knitted fabric provided by the present invention; figure 2 Flow chart of the yarn wrapping machine for environmentally friendly knitted fabrics and storage devices; image 3 Is the parameter map of the yarn covering machine
Login to View More

PUM

No PUM Login to View More

Abstract

The invention discloses a parallel program task processing method and a parallel program task processing device. The method comprises the following steps: separately distributing a unprocessed task from current unprocessed tasks to each processing core according to a first predetermined rule; when the processing cores process the currently distributed tasks, selecting a task associated to the currently processed tasks by the processing cores from the unprocessed tasks according to data succession among the tasks when the processing cores process the currently distributed tasks; when no follow-up tasks are available, distributing an unprocessed task to the processing cores from the current unprocessed tasks according to a second predetermined rule; and after the processing cores process the currently distributed tasks, storing the obtained task data to the cache corresponding to the processing cores and processing the currently distributed tasks by taking the follow-up tasks as the processing cores till all tasks are processed. According to the method and the device disclosed by the invention, several tasks with relevance use same cache, so that the processing efficiency is high.

Description

technical field [0001] The invention relates to the technical field of process processing, in particular to a parallel program task processing method and a device thereof. Background technique [0002] In the current parallel program task processing, the commonly used method is the orderly and irregular parallel program task processing method. The parallel task processing process under this rule has three characteristics. The first is that the tasks must follow the overall or partial order (basically time sequence); the second is that the task may have data dependencies that are not known in advance; the third is that the task may dynamically create subtasks and plan to run them in the future. [0003] In this way, since multiple processing cores process in parallel, and the tasks are assigned to each processing core in sequence according to the time sequence, it is easy for several related tasks to be processed by different processing cores, which leads to subsequent tasks ...

Claims

the structure of the environmentally friendly knitted fabric provided by the present invention; figure 2 Flow chart of the yarn wrapping machine for environmentally friendly knitted fabrics and storage devices; image 3 Is the parameter map of the yarn covering machine
Login to View More

Application Information

Patent Timeline
31 May 2017
Publication
CN106776015A
IPC
G06F9/50
CPC
G06F9/5027; G06F9/5061
Inventors
王渭巍