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 abstraction for now. For > multi-D or other binding paths, just set up the texture as if it consisted > of int2's instead of doubles.
Quick update: The host-side functionality is now conditioned on specifying an "allow_double_hack=True" keyword argument, to provide forward compatibility in case the texture units ever pick up real double precision support. Andreas
signature.asc
Description: This is a digitally signed message part.
_______________________________________________ PyCuda mailing list PyCuda@tiker.net http://tiker.net/mailman/listinfo/pycuda_tiker.net