On Mon, 14 Feb 2011 00:51:13 +0100, Tomasz Rybak <bogom...@post.pl> wrote:
> After discussion with Martin Laprise I have come with the following code
> (see attachment). It uses all available MPs, but I think it needs
> some code to decide whether to use entire GPU (in case generated
> vector is long) or only few blocks (otherwise).
> 
> I can fix attached code to better suit PyCUDA style so you can push
> it to git, and only then try to add code managing number of used blocks.

Please work your changes into the branch I created. The changes there
concerned (much) more than style.

> > - The Sobol' direction vectors need to come from a very specific set to
> >   make sense, see curandGetDirectionVectors32 in the CURAND docs. We
> >   should probably call/wrap this function to get those vectors. Further,
> >   each generator should use a different vector, rather than the same
> >   one.
> > 
> > - The Sobol' initialization needs to be worked out. In particular, I
> >   would like both generators to do something sensible if they're
> >   initialized without arguments.
> 
> Agree on both points. 

Ok, sounds good.

Btw, please do ask Nv to clarify the CURAND license.

Andreas

Attachment: pgpcmwMKUToJo.pgp
Description: PGP signature

_______________________________________________
PyCUDA mailing list
PyCUDA@tiker.net
http://lists.tiker.net/listinfo/pycuda

Reply via email to