<html><head><style type="text/css"><!-- DIV {margin:0px;} --></style></head><body><div style="font-family:arial,helvetica,sans-serif;font-size:12pt"><div>Just a comment on 64-bit support, you could say that about any module in phobos :)<br><br>My recommendation is to just include it when you feel it's good enough, and we'll deal with 64-bit when we get there. Or are there specific 64-bit problems that you envision that will affect the design?<br><br>BTW, I haven't looked at the module, but it seems like a nifty idea.<br><br>-Steve<br></div><blockquote style="border-left: 2px solid rgb(16, 16, 255); margin-left: 5px; padding-left: 5px;"><div style="font-family: arial,helvetica,sans-serif; font-size: 12pt;"><br><div style="font-family: times new roman,new york,times,serif; font-size: 12pt;"><font size="2" face="Tahoma"><b><span style="font-weight: bold;">From:</span></b> David Simcha <dsimcha@gmail.com><br><b><span style="font-weight:
bold;">To:</span></b> Discuss the phobos library for D <phobos@puremagic.com><br><b><span style="font-weight: bold;">Sent:</span></b> Tue, August 31, 2010 9:42:59 AM<br><b><span style="font-weight: bold;">Subject:</span></b> Re: [phobos] std.parallelism: Request for review/comment<br></font><br>
<meta http-equiv="x-dns-prefetch-control" content="off">I really want good reviews from Sean (threading guru) and Andrei (general design guru) before this gets into Phobos. Otherwise I feel like scientific computing people (like us) might be the only people that find this module to be any good. Also, no matter what, I'm probably going to wait until after the next release to check it in, because I want to test it thoroughly on 64, and I can't do that w/o a 64 compiler.<br>
<br><div class="gmail_quote">On Tue, Aug 31, 2010 at 9:34 AM, Lars Tandle Kyllingstad <span dir="ltr"><<a rel="nofollow" ymailto="mailto:lars@kyllingen.net" target="_blank" href="mailto:lars@kyllingen.net">lars@kyllingen.net</a>></span> wrote:<br><blockquote class="gmail_quote" style="border-left: 1px solid rgb(204, 204, 204); margin: 0pt 0pt 0pt 0.8ex; padding-left: 1ex;">
I ran my calculation on an 8-core at work, by the way, and it was very enjoyable to see a manyfold speed-up just by changing a few lines of code.<br><br>We should definitely get this into Phobos.<br><br>-Lars<br><br>----- Reply message -----<br>
From: "David Simcha" <<a rel="nofollow" ymailto="mailto:dsimcha@gmail.com" target="_blank" href="mailto:dsimcha@gmail.com">dsimcha@gmail.com</a>><br>Date: Tue, Aug 31, 2010 14:13<br>Subject: [phobos] std.parallelism: Request for review/comment<br>To: "Discuss the phobos library for D" <<a rel="nofollow" ymailto="mailto:phobos@puremagic.com" target="_blank" href="mailto:phobos@puremagic.com">phobos@puremagic.com</a>><div>
<div></div><div class="h5"><br><br> On 8/31/2010 6:22 AM, Lars Tandle Kyllingstad wrote:<br>> Point (3) is pretty cool. I just used your module for my current<br>> project at work, and the ability to get the index made the code a lot<br>
> nicer.<br>><br>> Another question: Why have you chosen the default number of work units<br>> to be just two units per thread? In my experience, it's not uncommon<br>> that calculations are harder on some parts of the range than others, and<br>
> then there is a risk of some cores running out of work to do. I'd think<br>> that having more work units, 3-4 per thread, say, would allow for better<br>> distribution of work between cores.<br>><br>> -Lars<br>
<br>Good point. I should probably change this, as the more I think about it <br>the more I realize that I never use the default for the reason you <br>mention. It seemed like a good idea in iteration 1, and then I just <br>
never reconsidered.<br></div></div><div><div></div><div class="h5">_______________________________________________<br>phobos mailing list<br><a rel="nofollow" ymailto="mailto:phobos@puremagic.com" target="_blank" href="mailto:phobos@puremagic.com">phobos@puremagic.com</a><br><span>
<a target="_blank" href="http://lists.puremagic.com/mailman/listinfo/phobos">http://lists.puremagic.com/mailman/listinfo/phobos</a></span><br><br><br></div></div><br>_______________________________________________<br>
phobos mailing list<br>
<a rel="nofollow" ymailto="mailto:phobos@puremagic.com" target="_blank" href="mailto:phobos@puremagic.com">phobos@puremagic.com</a><br>
<a rel="nofollow" target="_blank" href="http://lists.puremagic.com/mailman/listinfo/phobos">http://lists.puremagic.com/mailman/listinfo/phobos</a><br></blockquote></div><br>
<meta http-equiv="x-dns-prefetch-control" content="on"></div></div></blockquote>
</div><br>
</body></html>