Browse Source

Release MKL Provider v2.3.0 (r12 with Intel MKL 2018.0 Update 1)

spatial mkl-v2.3.0
Christoph Ruegg 9 years ago
parent
commit
cd39e69572
  1. 3
      RELEASENOTES-MKL.md
  2. 11
      src/Benchmark/Providers.cs
  3. 2
      src/Benchmark/Transforms/FFT.cs
  4. 2
      src/NativeProviders/MKL/capabilities.cpp
  5. 8
      src/NativeProviders/MKL/resource.rc

3
RELEASENOTES-MKL.md

@ -1,3 +1,6 @@
### 2.3.0 - 2018-02-14
* r12 with Intel MKL 2018.0 Update 1
### 2.2.0 - 2016-10-30 ### 2.2.0 - 2016-10-30
* r11 with Intel MKL 2017.0 * r11 with Intel MKL 2017.0
* Vector Functions v0.1: vector power * Vector Functions v0.1: vector power

11
src/Benchmark/Providers.cs

@ -1,6 +1,5 @@
using System; using System;
using MathNet.Numerics; using MathNet.Numerics;
#if !NETCOREAPP1_1 #if !NETCOREAPP1_1
using MathNet.Numerics.Providers.Common.Mkl; using MathNet.Numerics.Providers.Common.Mkl;
#endif #endif
@ -14,15 +13,13 @@ namespace Benchmark
NativeMKLAutoLow = 2, NativeMKLAutoLow = 2,
NativeMKLAvx2High = 3, NativeMKLAvx2High = 3,
NativeMKLAvx2Low = 4, NativeMKLAvx2Low = 4,
NativeOpenBLAS = 5 //NativeOpenBLAS = 5
} }
public static class Providers public static class Providers
{ {
public static void ForceProvider(Provider provider) public static void ForceProvider(Provider provider)
{ {
//Control.NativeProviderPath = @"..\..\..\..\out\MKL\Windows\";
switch (provider) switch (provider)
{ {
case Provider.Managed: case Provider.Managed:
@ -40,9 +37,9 @@ namespace Benchmark
case Provider.NativeMKLAvx2Low: case Provider.NativeMKLAvx2Low:
Control.UseNativeMKL(MklConsistency.AVX2, MklPrecision.Double, MklAccuracy.Low); Control.UseNativeMKL(MklConsistency.AVX2, MklPrecision.Double, MklAccuracy.Low);
break; break;
case Provider.NativeOpenBLAS: //case Provider.NativeOpenBLAS:
Control.UseNativeOpenBLAS(); // Control.UseNativeOpenBLAS();
break; // break;
default: default:
throw new NotSupportedException($"Provider {provider} not supported."); throw new NotSupportedException($"Provider {provider} not supported.");
} }

2
src/Benchmark/Transforms/FFT.cs

@ -33,7 +33,7 @@ namespace Benchmark.Transforms
} }
} }
[Params(32)] //, 128, 64, 1024, 8192, 65536)] [Params(32, 128, 1024)] // 32, 64, 128, 1024, 8192, 65536
public int N { get; set; } public int N { get; set; }
[Params(Provider.Managed, Provider.NativeMKLAutoHigh)] [Params(Provider.Managed, Provider.NativeMKLAutoHigh)]

2
src/NativeProviders/MKL/capabilities.cpp

@ -66,7 +66,7 @@ extern "C" {
} }
// COMMON/SHARED // COMMON/SHARED
case 64: return 11; // revision case 64: return 12; // revision
case 65: return 1; // numerical consistency, precision and accuracy modes case 65: return 1; // numerical consistency, precision and accuracy modes
case 66: return 1; // threading control case 66: return 1; // threading control
case 67: return 1; // memory management case 67: return 1; // memory management

8
src/NativeProviders/MKL/resource.rc

@ -51,8 +51,8 @@ END
// //
VS_VERSION_INFO VERSIONINFO VS_VERSION_INFO VERSIONINFO
FILEVERSION 2,2,0,0 FILEVERSION 2,3,0,0
PRODUCTVERSION 2,2,0,0 PRODUCTVERSION 2,3,0,0
FILEFLAGSMASK 0x17L FILEFLAGSMASK 0x17L
#ifdef _DEBUG #ifdef _DEBUG
FILEFLAGS 0x1L FILEFLAGS 0x1L
@ -70,12 +70,12 @@ BEGIN
VALUE "Comments", "http://numerics.mathdotnet.com/" VALUE "Comments", "http://numerics.mathdotnet.com/"
VALUE "CompanyName", "Math.NET" VALUE "CompanyName", "Math.NET"
VALUE "FileDescription", "MathNET Numerics MKL Native Provider" VALUE "FileDescription", "MathNET Numerics MKL Native Provider"
VALUE "FileVersion", "2.2.0.0" VALUE "FileVersion", "2.3.0.0"
VALUE "InternalName", "Math.NET" VALUE "InternalName", "Math.NET"
VALUE "LegalCopyright", "Copyright (C) Math.NET 2009-2015" VALUE "LegalCopyright", "Copyright (C) Math.NET 2009-2015"
VALUE "OriginalFilename", "MathNet.Numerics.MKL" VALUE "OriginalFilename", "MathNet.Numerics.MKL"
VALUE "ProductName", "Math.NET Numerics" VALUE "ProductName", "Math.NET Numerics"
VALUE "ProductVersion", "2.2.0.0" VALUE "ProductVersion", "2.3.0.0"
END END
END END
BLOCK "VarFileInfo" BLOCK "VarFileInfo"

Loading…
Cancel
Save