cuTexRefCreate Example

Hello,

I’m experimenting with the Driver API and textures.
Could you please provide an example in which I create a texture dynamically by using the function cuTexRefCreate and
provide this texture reference to a kernel in which I can use the texture?

Otherwise I see no use of the cuTexRefCreate function.

Thanks in advance
Martin

Hm,

Obviously nVidia doesn’t know how to use cuTexRefCreate? External Image

Hi,

I’m also interested in understanding how to use cuTexRefCreate() and how to pass on the created texture reference to a kernel. Did you find out more about this function?

/Lars