[fpc-devel] Parallel Computing
Boian Mitov
mitov at mitov.com
Tue Nov 4 09:48:08 CET 2008
Michael,
You really start to make more and more sense ;-) .
As for parallel implementation that makes it easy, a look at CUDA may be
beneficial. Submitting a multidimensional matrix and function to be
performed across cores on it, has probably a better chance than using loops,
although both can solve the problem. The NVidia also will queue the
requests.
On another hand, the modern Intel/AMD CPUs come with only maximum of 8
cores/half cores, and they will barely reach 16 sometime next year. This
type of processing may not offer as much advantage as on Sparks or NVidia
GPUs where you have hundreds of cores. It may be a bit early to add this
functionality in the compilers today, but you never know.
For 16 or less cores the traditional Threading approach is probably a better
fit than matrix/loop type of queued execution.
With best regards,
Boian Mitov
-------------------------------------------------------
Mitov Software
www.mitov.com
-------------------------------------------------------
----- Original Message -----
From: "Michael Schnell" <mschnell at lumino.de>
To: "FPC developers' list" <fpc-devel at lists.freepascal.org>
Sent: Tuesday, November 04, 2008 12:39 AM
Subject: Re: [fpc-devel] Parallel Computing
> But using TThread - especially for this kind of "technical improvement"
> stuff - is beyond the scope of the average application programmer and now
> Oxygen/Prism with the "parallel" (and other) keywords and GCC with the
> "#pragma ocm_..." are here to help the common application programmer with
> that. This might - or might not - be considered a challenge.
>
> -Michael
> _______________________________________________
> fpc-devel maillist - fpc-devel at lists.freepascal.org
> http://lists.freepascal.org/mailman/listinfo/fpc-devel
More information about the fpc-devel
mailing list