[fpc-devel] Parallel Computing

Florian Klaempfl florian at freepascal.org
Mon Nov 3 14:28:50 CET 2008


Michael Schnell schrieb:
> 
>> Maybe it would be good to first start the OpenMP library part - a unit
>> providing some functions to easily use light weight threads.
> 
> I just read that as of v4.2, GNU C supports OpenMP by language
> constructs (seemingly preprocessor directives). When looking at the
> ALIOTH "shootout" website this seems to result in a serious disadvantage
> of FPC's.
> 
> For things like "Mandelbrot" an OpenMP based implementation of the
> "parallel loop" syntax (as suggested by Oxygen) seems like a perfect way
> to handle SMP.

I don't see how Mandelbrot requires OpenMP. One can easily launch n
threads depending on the number of the available cores.



More information about the fpc-devel mailing list