CUDA.NET

Does anyone know how to copy data from host to cuArray using .NET? Thank You in advance.

cuda.CopyHostToDevice
it is in samples

cuda.net is ok, but is crashing on some calls, just for you to know
use try {} catch {}, it likes to throw exceptions

cuda.CopyHostToDevice does only copies from host to linear memory. i need to copy to cudaArray.