On Donnerstag 20 November 2008, Nicholas Piël wrote:
> Hi,
>
> I have installed PyCuda on this system and while the test driver runs
> successfully i experience problems with mem_alloc_pitch.
>
> I can allocate memory on the GPU with mem_alloc but when i am trying
> to use mem_alloc_pitch i get the following traceback:
>
> Traceback (most recent call last):
>   File "cudamatch.py", line 183, in <module>
>     query_dev, query_pitch = cuda.mem_alloc_pitch(query_width*sof,
> query_height, sof)
> TypeError: No to_python (by-value) converter found for C++ type:
> cuda::device_allocation

Not your fault. Very apparently, nobody has ever tried to use 
mem_alloc_pitch(). :)

Fixed in git.

Andreas

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

_______________________________________________
PyCuda mailing list
[email protected]
http://tiker.net/mailman/listinfo/pycuda_tiker.net

Reply via email to