On Mar 13, 2007, at 17:26 , Dusan Kolar wrote:
Hello all,
I'm googling around haskell.org to get some deeper knowledge about
Control.Parallel.Strategies than it is presented on http://
www.haskell.org/ghc/docs/latest/html/libraries/base/Control-
Parallel-Strategies.html BTW, could someone
Hello all,
I'm googling around haskell.org to get some deeper knowledge about
Control.Parallel.Strategies than it is presented on
http://www.haskell.org/ghc/docs/latest/html/libraries/base/Control-Parallel-Strategies.html
BTW, could someone point me to some more deeper doc. about it?
Simon will probably chime in on it as well, but his paper on the subject is
the best there is:
http://research.microsoft.com/~simonpj/Papers/strategies.ps.gz
If you have questions about the paper, I'd be happy to help, too. I worked
through it myself fairly recently.
-- Jeff
On Tuesday 13
On 13/03/2007, at 17:46, Jefferson Heard wrote:
Simon will probably chime in on it as well, but his paper on the
subject is
the best there is:
http://research.microsoft.com/~simonpj/Papers/strategies.ps.gz
It does work in GHC 6.6 very nicely.
You can try it with the following naive fib
Yes, it works for operator /par/. That's what I've reported. But should
it work for forkIO and forkOS? Could anybody give more detailed answer
than yes, no? :-) (Link to the Web is OK.)
BTW, thanks for the link to the paper (moreover, I can see, that
googling over haskell.org is not
Excuse me, I read too quick.
It works for forkIO too, although I'm not sure about forkOS. I don't
have a demo around, but you can verify with the concurrency demos in
the wiki:
http://haskell.org/haskellwiki/Concurrency_demos/Zeta
If it doesn't work, perhaps you are in an unsupported
forkOS should work as well, assuming you have OS threads, like in linux 2.6.
You should probably be using the -smp compiler flag and not the -threaded
compiler flag, I'm guessing, and make sure that your +RTS arguments indicate
that you want to use X total concurrent threads...
-- Jeff
On
Hello Jefferson,
Tuesday, March 13, 2007, 9:06:31 PM, you wrote:
forkOS should work as well, assuming you have OS threads, like in linux 2.6.
You should probably be using the -smp compiler flag and not the -threaded
compiler flag, I'm guessing, and make sure that your +RTS arguments indicate
On Tue, Mar 13, 2007 at 09:41:47PM +0300, Bulat Ziganshin wrote:
Tuesday, March 13, 2007, 9:06:31 PM, you wrote:
forkOS should work as well, assuming you have OS threads, like in linux 2.6.
You should probably be using the -smp compiler flag and not the -threaded
compiler flag, I'm