Parallelization issues

ixid nuaccount at gmail.com
Thu Mar 8 12:09:31 PST 2012


Changing a[][2] to a[][] as suggested made it work. It's not 
clear to me why it should matter that it's not dynamic in that 
axis or are arrays simply static or dynamic globally? It also 
doesn't fix the performance issue, parallel behaves in the same 
manner as the other implementation taking 3-4 times as long as 
doing it single threaded. I ran the students parallel example 
from here: http://ddili.org/ders/d.en/parallelism.html

And it worked correctly, taking half the time in parallel.


More information about the Digitalmars-d-learn mailing list