[PyCUDA] adding an __int__ method to GPUArray?