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:
[url]Use D3D11 textures with TextureSampler in Optix 4.1.1 - OptiX - NVIDIA Developer Forums
According to 7.2. Sharing CUDA Device Pointers, it should work though.