Texture interpolation inside a kernel is done by passing a texture object and using regular indexing, see the test suite for some examples: https://github.com/JuliaGPU/CUDA.jl/blob/master/test/texture.jl
There’s also an example in one of the previous blog posts: CUDA.jl 1.1 ⋅ JuliaGPU