Answer the question
In order to leave comments, you need to log in
What is the parallel computing pattern called?
There is a task consisting of subtasks of varying complexity. I would like to solve these subtasks in parallel.
Let there be an iterator of subtasks. It is necessary to make it so that when one processor completes its subtask, the next one is immediately issued to it. In this case, the processor is not guided by other processors. And so on until the whole problem is solved.
How NOT to: issue four processors with one subtask each. We are waiting for all subtasks to be solved. After that, each processor again receives a subtask.
What is it called in a smart way. Where can you read about it?
My guess:
let's say we have 100500 subtasks. Let's create a thread for each subtask. And let the operating system itself resolve these flows. We are waiting for all threads to complete.
Answer the question
In order to leave comments, you need to log in
Didn't find what you were looking for?
Ask your questionAsk a Question
731 491 924 answers to any question