OpenMP support

"Jérôme M. Berger" jeberger at free.fr
Sun Jan 9 00:03:23 PST 2011


scorn wrote:
> Am 08.01.2011 08:47, schrieb "Jérôme M. Berger":
>>     You mean like this:
>> foreach(i; pool.parallel( iota(squares.length), 100)) {
>>      // Iterate over squares using work units of size 100.
>>      squares[i] = i * i;
>> }
> 
> Yes, exactly like that! (Thanks for the hint.)
> 
>>     It is currently under review for D2:
>> http://cis.jhu.edu/~dsimcha/d/phobos/std_parallelism.html and
>> http://dsource.org/projects/scrapple/browser/trunk/parallelFuture/std_parallelism.d
>>
> 
> Is it already usable ?
> 
> If yes, then it would really be a reason for me to switch to D2 now.

	I believe so although I have not tried it myself.

		Jerome
-- 
mailto:jeberger at free.fr
http://jeberger.free.fr
Jabber: jeberger at jabber.fr

-------------- next part --------------
A non-text attachment was scrubbed...
Name: signature.asc
Type: application/pgp-signature
Size: 198 bytes
Desc: OpenPGP digital signature
URL: <http://lists.puremagic.com/pipermail/d.gnu/attachments/20110109/95a93e3a/attachment.pgp>


More information about the D.gnu mailing list