On Thu, Sep 27, 2012 at 08:51:12PM +0200, Tomasz Rybak wrote:
> Dnia 2012-09-27, czw o godzinie 19:27 +0200, Tomasz Rybak pisze:
> > Dnia 2012-09-27, czw o godzinie 15:23 +0100, Freddie Witherden pisze:
> > > Hello,
> > > 
> > > While attempting to compile PyCUDA under Python 3:
> > > 
> > [ cut ]
> > > Also, are there any other potential issues with PyCUDA and Python 3.x 
> > > that I should be aware of?
> > > 
> > 
> > I was able to build Debian package python3-pycuda.
> > Version from git compiles without any problems.
> > I have not uploaded it into Debian though, as there
> > are problems with compiling kernels under Python 3,
> > and I was not able to fix it yet.
> > 
> 
> When I try to run tests (e.g. python3 test_cumath.py) I get
> TypeError: Type str doesn't support the buffer API 20 times,

That comes from different types: str in py2 is a bytestring, but in
py3k it's unicode string. In other words, pycuda hasn't been ported to
py3k.

-- 
Tomi Pieviläinen, +358 400 487 504
A: Because it disrupts the natural way of thinking.
Q: Why is top posting frowned upon?

_______________________________________________
PyCUDA mailing list
[email protected]
http://lists.tiker.net/listinfo/pycuda

Reply via email to