[fpc-devel] Parallel Computing

Boian Mitov mitov at mitov.com
Tue Nov 4 11:23:32 CET 2008


BTW: The CUDA as example simply uses a thread pool. Maintaining a number of 
cores pool will very much eliminate the thread creation. Please note that I 
am not advocating this addition. There are better ways to add MT support 
IMHO, but that is another discussion.

With best regards,
  Boian Mitov

-------------------------------------------------------
Mitov Software
www.mitov.com
-------------------------------------------------------
----- Original Message ----- 
From: <petr.kristan at epos.cz>
To: "FPC developers' list" <fpc-devel at lists.freepascal.org>
Sent: Tuesday, November 04, 2008 2:19 AM
Subject: Re: [fpc-devel] Parallel Computing


> _parallel_ can be maybe used for lightweight threads. But here we must 
> keep in mind that
> thread creation is quite expensive. Depending on memory architecture,
> number of CPUs and selected number of threads we can get different speedup 
> or
> slowdown too.




More information about the fpc-devel mailing list