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: <[EMAIL PROTECTED]>
To: "FPC developers' list" <[email protected]>
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.

_______________________________________________
fpc-devel maillist  -  [email protected]
http://lists.freepascal.org/mailman/listinfo/fpc-devel

Reply via email to