Re: [PyCuda] Double precision textures

2009-04-09 Thread Andreas Klöckner
On Mittwoch 08 April 2009, Andreas Klöckner wrote: Host-side, everything should be transparent if you use http://documen.tician.de/pycuda/array.html#pycuda.gpuarray.GPUArray.bind_to _texref_ext to bind a GPUArray to the texture reference. Note: only single-channel textures are supported by this

[PyCuda] Double precision textures

2009-04-08 Thread Andreas Klöckner
Hi all, Another piece of niceness just landed in PyCUDA git: Semi-transparent support for double-precision textures. This code papers over the complications and differences between floats and doubles as far as texturing is concerned. Here's how you use it. Device-side: 8