Re: [Haskell-cafe] Efficient matrix multiply using accelerate

2013-09-04 Thread Trevor L. McDonell
Hi Morten, On 04/09/2013, at 9:53 PM, Morten Olsen Lysgaard wrote: > I've been trying to get some speed out of the accelerate library today. > What I want to implement is something as simple as a matrix multiply. > I'd like it to be fast and memory efficient. Well, the trouble with something li

[Haskell-cafe] Efficient matrix multiply using accelerate

2013-09-04 Thread Morten Olsen Lysgaard
I've been trying to get some speed out of the accelerate library today. What I want to implement is something as simple as a matrix multiply. I'd like it to be fast and memory efficient. Given the equation C = AB where A is nxr B is rxm C is nxm it seem reasonable to allocate three arrays o