On Montag 26 Oktober 2009, Andreas Klöckner wrote:
> On Montag 26 Oktober 2009, Robert Manning wrote:
> > PyCUDA users,
> >    I've been trying to find how to use pitch 2D linear memory textures
> > in pyCUDA and have been unsuccessful.  I've seen C code that uses
> > "cudaBindTexture2D" and similar functions but it is not accessible (to
> > my knowledge) by pyCUDA.  Any suggestions?
> >
> > Thanks,
> > Bob Manning
> 
> See test_2d_texture() in test/test_driver.py.

Argh, wrong answer.

Try TextureReference.set_address_2d().

http://is.gd/4DBQC

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