CUDA.NET & Textures Using textures with CUDA.NET and accessing from thread

Hi Everybody,

In my project (let’s say particle simulation of the smoke in the air) I want to use texture to store wind speed array, so I could access it from every particle thread.
I am using CUDA.NET wrapper as my projects are based on C#.

I do not know have to access texture defined in *.cu file from my C# code. I was trying to use GetModuleGlobal method of CUDA class, but it trows CUDAException. Google says nothing about it. IMHO CUDA.NET is very poorly documented, but it is only CUDA wrapper I know.

Is there anybody who could help me or show me the way?