Re: [PyCUDA] casting arguments to memset to unsigned int ?

2009-07-03 Thread Andreas Klöckner
On Mittwoch 01 Juli 2009, Andreas Klöckner wrote: Would you mind adding FAQ items for these two? http://wiki.tiker.net/PyCuda/FrequentlyAskedQuestions Thanks for writing the FAQ item! FYI--I've slightly reworked and expanded it. http://is.gd/1mMDg Andreas signature.asc Description: This is

Re: [PyCUDA] casting arguments to memset to unsigned int ?

2009-07-01 Thread Andreas Klöckner
On Dienstag 30 Juni 2009, Michael Rule wrote: Ok, fixed that ( needed to use uint not uint32. Numpy basic types don't seem to be anywhere near the surface of Google and are hard to find ). I now have another related question : the documentation for the pycuda prepare function states setting

[PyCUDA] casting arguments to memset to unsigned int ?

2009-06-30 Thread Michael Rule
I'm sorry to bother the list, but I can't seem to generate appropriately typed arguments for the memset_d32 function my current attempt looks like : array=pycuda.driver.mem_alloc(bytes) pycuda.driver.memset_d32(numpy.uint32(array),numpy.uint32(0),numpy.uint32(N)) Which