Update the texture filtering after texture creation

Like said here in the doc, we can create a texture with linear filtering. But in OpenGL, we can set the filtering for example setting linear to nearest after having created the texture with glTexParameteri .

Can we do so with CUDA?

If not, that would mean we have to recreate a texture with cudaCreateTextureObject . So as auxiliary question, is cudaCreateTextureObject() a cheap call ? That seems to be the case because the textures depends on array that have already been uploaded to the GPU, and this defines only the parameters on the textures.