forked from tsai/mathnet-numerics
You can not select more than 25 topics
Topics must start with a letter or number, can include dashes ('-') and can be up to 35 characters long.
21 lines
594 B
21 lines
594 B
using MathNet.Numerics;
|
|
|
|
namespace Benchmark
|
|
{
|
|
public static class Providers
|
|
{
|
|
public static void ForceNativeMKL()
|
|
{
|
|
//Control.NativeProviderPath = @"C:\Triage\NATIVE-Win\";
|
|
Control.NativeProviderPath = @"..\..\..\..\out\MKL\Windows\";
|
|
Control.UseNativeMKL();
|
|
}
|
|
|
|
public static void ForceOpenBLAS()
|
|
{
|
|
//Control.NativeProviderPath = @"C:\Triage\NATIVE-Win\";
|
|
Control.NativeProviderPath = @"..\..\..\..\out\OpenBLAS\Windows\";
|
|
Control.UseNativeOpenBLAS();
|
|
}
|
|
}
|
|
}
|
|
|