On Donnerstag 04 März 2010, Fabrizio Milo aka misto wrote:
> Hi,
> 
> I had to add the patch in attachment to make work a kernel like
> 
> void kernel( float* out, int size){
> 
> }

Unless you're using prepared invocation, you have to use Numpy's sized
integers/floats:
http://documen.tician.de/pycuda/driver.html#pycuda.driver.Function.param_set

I don't think it's advisable to change that.

Andreas

Attachment: signature.asc
Description: This is a digitally signed message part.

_______________________________________________
PyCUDA mailing list
pyc...@host304.hostmonster.com
http://host304.hostmonster.com/mailman/listinfo/pycuda_tiker.net

Reply via email to