On Sun, 18 Dec 2011 20:25:18 +0100, Thomas Wiecki <[email protected]> 
wrote:
> I think it just allocates the maximum number. Previously I wondered
> how I could find this maximum number, it is stored in
> generator.generators_per_block (=512 on my card).
> 
> So I guess if my matrix is bigger than 512  I would have to execute
> the kernel more than once and have it work on different chunks (each
> of size 512) of the array? Is there any helper function for this?

Not for 2D arrays, but for 1D-arrays-viewed-as-2D-arrays--that's
generator.fill_uniform() for example. There was a doc bug that kept
these from showing up, fixed.

Andreas

Attachment: pgpNysVB0Ns9Y.pgp
Description: PGP signature

_______________________________________________
PyCUDA mailing list
[email protected]
http://lists.tiker.net/listinfo/pycuda

Reply via email to