On Thu, Nov 8, 2012 at 3:47 AM, Lev Givon <[email protected]> wrote:
<snip>
> When N*N > 512, the mismatch between array size
> (np.double().nbytes*N*N) and the default alignment assumed by
> pycuda.driver.aligned_empty() (4096) prevents all of the array elements from
> being properly updated; if you preallocate a device-mapped array, you
> don't need to worry about setting the alignment.

Much appreciated Lev, you were absolutely right: I used the
pre-allocated example and was golden. I hope the delay won't dampen my
many thanks!
Ahmed

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

Reply via email to