Optix TextureSampler from CUDA buffer/texture

Hi,

Is that possible to use a CUDA buffer for TextureSampler::setBuffer on Optix 4.1.1 ?

In the 4.1.1 examples, I could find setBuffer by map and unmap with CPU writing, and also create TextureSampler directly from OpenGL texture, but I couldn’t find any about CUDA buffer/texture interop.

Thanks,

Yashiz

PS: In the topic below, I made some attempts, but no luck:
https://devtalk.nvidia.com/default/topic/1025424/optix/use-d3d11-textures-with-texturesampler-in-optix-4-1-1/
According to 7.2. Sharing CUDA Device Pointers, it should work though.