Re: [Haskell-cafe] Parallel Matrix Multiplication

2011-12-16 Thread Eric Kow
Hi Mukesh, Great to hear you're trying parallel Haskell! I can't yet help debug your parallel performance, but maybe I can offer something for your last request. Have you tried the Parallel Haskell portal? http://www.haskell.org/haskellwiki/Parallel You will find some links mainly aimed at

[Haskell-cafe] Parallel Matrix Multiplication

2011-12-10 Thread mukesh tiwari
Hello all I am trying to learn parallel Haskell and I have gone through couple of resources ( Real world Haskell and http://research.microsoft.com/en-us/um/people/simonpj/papers/parallel/AFP08-notes.pdf ). I understood par and pseq and I wrote matrix multiplication using these two function but it

Re: [Haskell-cafe] Parallel Matrix Multiplication

2011-12-10 Thread mukesh tiwari
I changed it bit and use pseq to force the computation but still its non of the sparks are converting. import Data.List import Control.Parallel parHelp :: ( Num a ) = [ a ] - [ a ] - a parHelp [] [] = 0 parHelp ( x : xs ) ( y : ys ) = ret where ret = par a ( pseq b ( a + b ) ) where