[Haskell-cafe] GSoC and Data Parallel Haskell

2012-03-20 Thread Dmitry Dzhus
How are you gentlemen. I'm interested about what additions to DPH would really benefit the community. The only ticket on DPH in GSoC Trac seems a bit stale: http://hackage.haskell.org/trac/summer-of-code/ticket/1537. Any new tips? My field is currently molecular simulation. (I'm doing a Direct

Re: [Haskell-cafe] GSoC and Data Parallel Haskell

2012-03-21 Thread Dmitry Dzhus
22.03.2012, 03:24, Geoffrey Mainland mainl...@apeiron.net: Taking advantage of GHC's SIMD support from within DPH is in the works. I'd love to have some good target applications to help drive the work. An application with DPH, plain C, C+SSE intrinsics, and, say, OpenCL versions would be even

Re: [Haskell-cafe] GSoC and Data Parallel Haskell

2012-03-21 Thread Dmitry Dzhus
21.03.2012, 18:12, Ryan Newton rrnew...@gmail.com: The big topic would seem to be using Geoff Mainland's new simd-ghc support.     http://hackage.haskell.org/trac/ghc/wiki/SIMD Geoff, is that already under way or is it too big a project for a GSOC? Dmitry, do you already have GHC-internals

Re: [Haskell-cafe] Installing REPA

2012-04-06 Thread Dmitry Dzhus
06.04.2012, 18:02, Dominic Steinitz idontgetoutm...@googlemail.com: cabal: cannot configure repa-2.2.0.1. It requires base ==4.4.* Tests-MacBook-Pro:PDE Test$ ghc --version The Glorious Glasgow Haskell Compilation System, version 7.0.3 I think this might be because base-4.3 was shipped with

[Haskell-cafe] Performance with do notation, mwc-random and unboxed vector

2012-06-11 Thread Dmitry Dzhus
Hello everyone. I wonder why using do notation with `-` can ruin the performance. In essence the problem is that, for some action `f :: m Double`, running the code (in my case, `standard` from mwc-random). f for million times is fast but the code do v - f return v is

Re: [Haskell-cafe] Performance with do notation, mwc-random and unboxed vector

2012-06-11 Thread Dmitry Dzhus
11.06.2012, 14:17, Malcolm Wallace malcolm.wall...@me.com: that there are no side-effects There are — PRNG state is updated for RealWorld, that's why monadic replicateM is used. You can add something like print $ (VU.!) e 50 after e is bound and still get 0.057 sec with do-less

Re: [Haskell-cafe] Performance with do notation, mwc-random and unboxed vector

2012-06-12 Thread Dmitry Dzhus
12.06.2012, 01:08, Roman Leshchinskiy r...@cse.unsw.edu.au: perhaps the state hack is getting in the way. I don't quite understand the internals of this yet, but `-fno-state-hack` leads to great performance in both cases! How safe is that? ___

Re: [Haskell-cafe] Are storable-mutable-vectors in two dimensions possible in Haskell?

2012-12-01 Thread Dmitry Dzhus
01.12.2012, 15:14, Fixie Fixie fixie.fi...@rocketmail.com: Hello haskellers I am struggling with this package: Data.Vector.Storable.Mutable I am creating vectors like this: MV.new 1000 :: IO (V.MVector (PrimState IO) Int) Now I would like access to this vectors in linear time, like I could

Re: [Haskell-cafe] Parallel Data.Vector.generate?

2013-03-28 Thread Dmitry Dzhus
28.03.2013, 10:38, Myles C. Maxfield myles.maxfi...@gmail.com: Hello all. I'm using the Data.Vector.generate function with a complicated creation function to create a long vector. Is it possible to parallelize the creation of each element? Alternatively, if there was something like parMap