Not sure if this suggestion has already been made, but would it be
possible to add an __int__() method to GPUArray that would return the
output of the instance's gpudata.__int__() method?  This would
somewhat facilitate manipulating GPUArray instances with
ctypes-wrapped library functions that expect a pointer to GPU memory.

                                                        L.G.

_______________________________________________
PyCUDA mailing list
PyCUDA@tiker.net
http://lists.tiker.net/listinfo/pycuda

Reply via email to