예제 #1
0
 public static void UseNativeMKL(
     Common.Mkl.MklConsistency consistency = Common.Mkl.MklConsistency.Auto,
     Common.Mkl.MklPrecision precision     = Common.Mkl.MklPrecision.Double,
     Common.Mkl.MklAccuracy accuracy       = Common.Mkl.MklAccuracy.High)
 {
     Provider = CreateNativeMKL(consistency, precision, accuracy);
 }
예제 #2
0
 public static bool TryUseNativeMKL(
     Common.Mkl.MklConsistency consistency = Common.Mkl.MklConsistency.Auto,
     Common.Mkl.MklPrecision precision     = Common.Mkl.MklPrecision.Double,
     Common.Mkl.MklAccuracy accuracy       = Common.Mkl.MklAccuracy.High)
 {
     return(TryUse(CreateNativeMKL(consistency, precision, accuracy)));
 }
예제 #3
0
 public static bool TryUseNativeMKL(
     Common.Mkl.MklConsistency consistency = Common.Mkl.MklConsistency.Auto,
     Common.Mkl.MklPrecision precision     = Common.Mkl.MklPrecision.Double,
     Common.Mkl.MklAccuracy accuracy       = Common.Mkl.MklAccuracy.High)
 {
     return(TryUse(new Mkl.MklLinearAlgebraProvider(consistency, precision, accuracy)));
 }
예제 #4
0
 public static ILinearAlgebraProvider CreateNativeMKL(
     Common.Mkl.MklConsistency consistency = Common.Mkl.MklConsistency.Auto,
     Common.Mkl.MklPrecision precision     = Common.Mkl.MklPrecision.Double,
     Common.Mkl.MklAccuracy accuracy       = Common.Mkl.MklAccuracy.High)
 {
     return(new Mkl.MklLinearAlgebraProvider(GetCombinedHintPath(), consistency, precision, accuracy));
 }
예제 #5
0
 public static void UseNativeMKL(
     Common.Mkl.MklConsistency consistency = Common.Mkl.MklConsistency.Auto,
     Common.Mkl.MklPrecision precision     = Common.Mkl.MklPrecision.Double,
     Common.Mkl.MklAccuracy accuracy       = Common.Mkl.MklAccuracy.High)
 {
     Control.LinearAlgebraProvider = new Mkl.MklLinearAlgebraProvider(consistency, precision, accuracy);
 }
예제 #6
0
 public MklLinearAlgebraProvider(
     Common.Mkl.MklConsistency consistency = Common.Mkl.MklConsistency.Auto,
     Common.Mkl.MklPrecision precision     = Common.Mkl.MklPrecision.Double,
     Common.Mkl.MklAccuracy accuracy       = Common.Mkl.MklAccuracy.High)
 {
     _consistency = consistency;
     _precision   = precision;
     _accuracy    = accuracy;
 }
예제 #7
0
 public MklLinearAlgebraProvider(
     MklConsistency consistency = MklConsistency.Auto,
     MklPrecision precision     = MklPrecision.Double,
     MklAccuracy accuracy       = MklAccuracy.High)
 {
     _consistency = (Common.Mkl.MklConsistency)consistency;
     _precision   = (Common.Mkl.MklPrecision)precision;
     _accuracy    = (Common.Mkl.MklAccuracy)accuracy;
 }
 public MklLinearAlgebraProvider()
 {
     _consistency = Common.Mkl.MklConsistency.Auto;
     _precision = Common.Mkl.MklPrecision.Double;
     _accuracy = Common.Mkl.MklAccuracy.High;
 }
 public MklLinearAlgebraProvider(
     Common.Mkl.MklConsistency consistency = Common.Mkl.MklConsistency.Auto,
     Common.Mkl.MklPrecision precision = Common.Mkl.MklPrecision.Double,
     Common.Mkl.MklAccuracy accuracy = Common.Mkl.MklAccuracy.High)
 {
     _consistency = consistency;
     _precision = precision;
     _accuracy = accuracy;
 }
 public MklLinearAlgebraProvider(
     MklConsistency consistency = MklConsistency.Auto,
     MklPrecision precision = MklPrecision.Double,
     MklAccuracy accuracy = MklAccuracy.High)
 {
     _consistency = (Common.Mkl.MklConsistency)consistency;
     _precision = (Common.Mkl.MklPrecision)precision;
     _accuracy = (Common.Mkl.MklAccuracy)accuracy;
 }
예제 #11
0
 public MklLinearAlgebraProvider()
 {
     _consistency = Common.Mkl.MklConsistency.Auto;
     _precision   = Common.Mkl.MklPrecision.Double;
     _accuracy    = Common.Mkl.MklAccuracy.High;
 }