vb.Net Runtime error x86/x64


(charlie dump) #1

Hi,
The following code works fine in VisualStudio vb.net when compiled for x64:

Dim X As Double()() = New Double(2)() {}
X(0) = New Double() {10.0, 20.0}
X(1) = New Double() {30.0, 35.0}
X(2) = New Double() {25.0, 54.0}

Dim Y() As Double = {15.0, 20.0, 25.0}
Dim regression_result = MathNet.Numerics.LinearRegression.MultipleRegression.DirectMethod(X, Y, True)

But when compiled for x86 I get the following message:

Unable to load DLL ‘MathNet.Numerics.CUDA.dll’: The specified module could not be found. (Exception from HRESULT: 0x8007007E)
Anyone solved this before? Thanks!
Charlie