예제 #1
0
 public static void UseNativeMKL(
     Providers.LinearAlgebra.Mkl.MklConsistency consistency = Providers.LinearAlgebra.Mkl.MklConsistency.Auto,
     Providers.LinearAlgebra.Mkl.MklPrecision precision     = Providers.LinearAlgebra.Mkl.MklPrecision.Double,
     Providers.LinearAlgebra.Mkl.MklAccuracy accuracy       = Providers.LinearAlgebra.Mkl.MklAccuracy.High)
 {
     LinearAlgebraProvider = new Providers.LinearAlgebra.Mkl.MklLinearAlgebraProvider(consistency, precision, accuracy);
 }
예제 #2
0
 /// <summary>
 /// Use the Intel MKL native provider for linear algebra.
 /// Throws if it is not available or failed to initialize, in which case the previous provider is still active.
 /// </summary>
 public static void UseNativeMKL()
 {
     LinearAlgebraProvider = new Providers.LinearAlgebra.Mkl.MklLinearAlgebraProvider();
 }