Class OpenBlasMissingBackendException
- Namespace
- NumSharp
- Assembly
- NumSharp.dll
A MissingBackendException whose message says how to make the operation work:
reference the NumSharp.Interop.OpenBLAS NuGet package.
public class OpenBlasMissingBackendException : MissingBackendException, ISerializable, INumSharpException
- Inheritance
-
OpenBlasMissingBackendException
- Implements
- Inherited Members
Remarks
NumSharp.Core is 100 % managed C# and ships no matrix factorisation of its own — unlike the
matrix products, which always have a managed kernel to fall back to. The factorisations
(inv, det, solve, svd, eig, qr, …) are served by an
IBlasBackend assigned to
NumSharp.Backends.TensorEngine.Blas, and the package that supplies one is
PackageId. There is no separate seam to install: the one
NumSharp.Interop.OpenBLAS reference fills the whole Blas property — products and
factorisations alike — from a [ModuleInitializer], so adding the reference is the whole
opt-in.
Distinct from the interop package's own OpenBlasRequiredOverrideException: that is
thrown when the package IS referenced but a hard-required build override cannot load. This one
is thrown by Core when no backend is referenced at all.
Constructors
OpenBlasMissingBackendException(string)
public OpenBlasMissingBackendException(string message)
Parameters
messagestring
OpenBlasMissingBackendException(string, Exception)
public OpenBlasMissingBackendException(string message, Exception innerException)
Parameters
Fields
PackageId
The NuGet package that supplies the IBlasBackend.
public const string PackageId = "NumSharp.Interop.OpenBLAS"
Field Value
Properties
HowToFix
The sentence that tells a caller how to make the operation work — the single source of truth for the package name across every message that raises this exception.
public static string HowToFix { get; }