I think would be nice to alert the user if they are trying to pass a
numpy.array directly to the kernel.
I spent almost 1min trying to figure out what was wrong in the kernel.

What do you think?

patch + test in attachment

Fabrizio
--------------------------
Luck favors the prepared mind. (Pasteur)

Attachment: 0007-throw-a-special-error-message-when-trying-to-pass-a-.patch
Description: Binary data

Attachment: 0008-test-the-exception-must-be-thrown.patch
Description: Binary data

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

Reply via email to