I would like to know:
How do the iterations spitted between processors , statically (each processor
gets N/(#processors) iterations) , dynamically (Every processor gets one iteration and then comes back for another one) , can I choose the policy ?
Thank You!!!
The
Parallel.ForEach()method uses a Partitioner, you can provide a custom one.Couldn’t find a direct link to say the same for
Paralle.For()just yet.