Thoughts on parallel programming?

Fawzi Mohamed fawzi at gmx.ch
Fri Nov 12 02:23:04 PST 2010


On 12-nov-10, at 00:29, Tobias Pfaff wrote:

> [...]
> Well, I am looking for an easy & efficient way to perform parallel  
> numerical calculations on our 4-8 core machines. With C++, that's  
> OpenMP (or GPGPU stuff using CUDA/OpenCL) for us now. Maybe  
> lightweight was the wrong word, what I meant is that OpenMP is easy  
> to use, and efficient for the problems we are solving. There  
> actually might be better tools for that, honestly we didn't look  
> into that much options -- we are no HPC guys, 1000-cpu clusters are  
> not a relevant scenario and we are happy that we even started  
> parallelizing our code at all :)
>
> Anyways, I was thinking about the logical thing to use in D for this  
> scenario. It's nothing super-fancy, in cases just a parallel_for we  
> will, and sometimes a map/reduce operation...

If you use D1 blip.parallel.smp offers that, and it does scale well to  
4-8 cores.



More information about the Digitalmars-d mailing list