Why does MathNet.Numerics.Control.UseManaged require Cuda? -


i'm trying test asp api controller in turn calls out dll uses mathnet.numerics.linearalgebra. first call

mathnet.numerics.control.usemanaged(); 

however call fails error

exception thrown: 'system.notsupportedexception' in mathnet.numerics.dll

additional information: cuda native provider not found.

vsscreenshot

why cuda required when i'm explicitly telling mathnet use managed not native?

it not fail, exception handled internally. can continue debugging.

the exception not thrown within usemanaged call internally @ static construction of control class, first time being accessed , initializes default providers (which includes probing whether of known native providers available). of course, cuda not required when using managed providers.

this indeed small usability issue when debugging "break on exceptions" enabled. may able avoid throwing exception small refactoring. maybe should open github issue track this?


Comments

Popular posts from this blog

javascript - jQuery: Add class depending on URL in the best way -

caching - How to check if a url path exists in the service worker cache -

Redirect to a HTTPS version using .htaccess -