Re: [parallel][incanter]State, how to do it right ? (rng state for parallel computing)

2011-07-24 Thread Lee Spector
On Jul 22, 2011, at 11:20 AM, bernardH wrote: But there is a small catch : most of the time is spent in the Random Number Generator [3] so it would be sub-optimal to just have worker threads processing the output of a single threaded rng. I am not very confident in my solution to a similar

Re: [incanter]State, how to do it right ? (rng state for parallel computing)

2011-07-24 Thread bernardH
(@cej38: thanks for bringing that up to my radar ! However, I'd have to check the fine prints because I like the Open in OpenCL and dispise vendor lock-ins, no matter how shiny the shackles :) ) On Jul 24, 1:11 pm, Lee Spector lspec...@hampshire.edu wrote: On Jul 22, 2011, at 11:20 AM, bernardH

[parallel][incanter]State, how to do it right ? (rng state for parallel computing)

2011-07-23 Thread bernardH
Context : I'm currently comparing (ease of implementation *and* performance) C++ and Clojure (no flame war intented : I *love* them both) trying to find when / how one can code in Clojure rather than in C++. Problem : Rewriting some financial computing code, I was very pleased with my first

Re: [incanter]State, how to do it right ? (rng state for parallel computing)

2011-07-23 Thread cej38
I don't know if calx is the best choice or not. Also, I know that this suggestion isn't clojure, but AMD is working on a java API for running on code on in openCL: http://developer.amd.com/zones/java/aparapi/pages/default.aspx I haven't used it at all (my java knowledge is about zero, and I