Cublas in c# Calling Daxpy
===

Is there Any way to call a function from cublas in C# or do i have to create a dll that is doing that for me?
I tried to call Daxpy. 

I tried the following 

namespace cuda
{ 
    /**cublas wrappers*/
    public sealed class cublas
    {
        private cublas() { }

        public static void saxpy(int N, double a, double[] X, int incx, double[] Y, int incy)
        {
            cublasNative.cublasDaxpy(N, a, X, incx, Y, incy);
        }
    }

    /** cublas native declarations */
    [SuppressUnmanagedCodeSecurity]
    internal sealed class cublasNative
    {
       // cublasHandle_t handle;
        const string DLL_NAME = @"C:\Program Files\NVIDIA GPU Computing Toolkit\CUDA\v4.2\bin\cublas64_42_9.dll";
        [DllImport(DLL_NAME, CallingConvention = CallingConvention.StdCall)]
        public static extern void cublasDaxpy(int N, [In] double a, [In] double[] X, int incx, [In, Out] double[] Y, int incy); 
    }
}

Almost the same code would works with CBLAS. With Cublas i do not get an error but he doesn't make any calculations..

Thanks in advance

 