Browse Source

Release MKL Native Provider v2.1.0 (rev 10)

netstandard mkl-v2.1.0
Christoph Ruegg 10 years ago
parent
commit
d148fedce0
  1. 3
      RELEASENOTES-MKL.md
  2. 65
      build.fsx
  3. 2
      src/NativeProviders/MKL/capabilities.cpp
  4. 8
      src/NativeProviders/MKL/resource.rc

3
RELEASENOTES-MKL.md

@ -1,3 +1,6 @@
### 2.1.0 - 2016-09-08
* r10 with Intel MKL 2017
### 2.0.0 - 2015-09-26 ### 2.0.0 - 2015-09-26
* r9 with Intel MKL 11.3 * r9 with Intel MKL 11.3
* Linear Algebra v2.0: automatic work array/buffer handling (breaking change) * Linear Algebra v2.0: automatic work array/buffer handling (breaking change)

65
build.fsx

@ -496,72 +496,37 @@ let test target =
NUnit3 (fun p -> NUnit3 (fun p ->
{ p with { p with
ShadowCopy = false ShadowCopy = false
Labels = LabelsLevel.Off
TimeOut = TimeSpan.FromMinutes 60. } |> quick) target
let test32 target =
let quick p = if hasBuildParam "quick" then { p with Where="cat!=LongRunning" } else p
NUnit3 (fun p ->
{ p with
Force32bit = true
ShadowCopy = false
Labels = LabelsLevel.Off
TimeOut = TimeSpan.FromMinutes 60. } |> quick) target TimeOut = TimeSpan.FromMinutes 60. } |> quick) target
Target "Test" (fun _ -> test !! "out/test/**/*UnitTests*.dll") Target "Test" (fun _ -> test !! "out/test/**/*UnitTests*.dll")
"Build" ?=> "Test" "Build" ?=> "Test"
FinalTarget "CloseTestRunner" (fun _ -> Target "MklWin32Test" (fun _ -> test32 !! "out/MKL/Windows/*UnitTests*.dll")
ProcessHelper.killProcess "nunit-agent.exe"
ProcessHelper.killProcess "nunit-agent-x86.exe"
)
Target "MklWin32Test" (fun _ ->
ActivateFinalTarget "CloseTestRunner"
!! "out/MKL/Windows/*UnitTests*.dll"
|> NUnit (fun p ->
{ p with
ToolName = "nunit-console-x86.exe"
DisableShadowCopy = true
TimeOut = TimeSpan.FromMinutes 60.
OutputFile = "TestResults.xml" }))
Target "MklWin64Test" (fun _ ->
ActivateFinalTarget "CloseTestRunner"
!! "out/MKL/Windows/*UnitTests*.dll"
|> NUnit (fun p ->
{ p with
ToolName = "nunit-console.exe"
DisableShadowCopy = true
TimeOut = TimeSpan.FromMinutes 60.
OutputFile = "TestResults.xml" }))
"MklWin32Build" ?=> "MklWin32Test" "MklWin32Build" ?=> "MklWin32Test"
Target "MklWin64Test" (fun _ -> test !! "out/MKL/Windows/*UnitTests*.dll")
"MklWin64Build" ?=> "MklWin64Test" "MklWin64Build" ?=> "MklWin64Test"
Target "MklWinTest" DoNothing Target "MklWinTest" DoNothing
"MklWin32Test" ==> "MklWinTest" "MklWin32Test" ==> "MklWinTest"
"MklWin64Test" ==> "MklWinTest" "MklWin64Test" ==> "MklWinTest"
Target "CudaWin64Test" (fun _ -> Target "CudaWin64Test" (fun _ -> test !! "out/CUDA/Windows/*UnitTests*.dll")
ActivateFinalTarget "CloseTestRunner"
!! "out/CUDA/Windows/*UnitTests*.dll"
|> NUnit (fun p ->
{ p with
ToolName = "nunit-console.exe"
DisableShadowCopy = true
TimeOut = TimeSpan.FromMinutes 60.
OutputFile = "TestResults.xml" }))
"CudaWin64Build" ?=> "CudaWin64Test" "CudaWin64Build" ?=> "CudaWin64Test"
Target "CudaWinTest" DoNothing Target "CudaWinTest" DoNothing
"CudaWin64Test" ==> "CudaWinTest" "CudaWin64Test" ==> "CudaWinTest"
Target "OpenBlasWin32Test" (fun _ -> Target "OpenBlasWin32Test" (fun _ -> test32 !! "out/OpenBLAS/Windows/*UnitTests*.dll")
ActivateFinalTarget "CloseTestRunner"
!! "out/OpenBLAS/Windows/*UnitTests*.dll"
|> NUnit (fun p ->
{ p with
ToolName = "nunit-console-x86.exe"
DisableShadowCopy = true
TimeOut = TimeSpan.FromMinutes 60.
OutputFile = "TestResults.xml" }))
Target "OpenBlasWin64Test" (fun _ ->
ActivateFinalTarget "CloseTestRunner"
!! "out/OpenBLAS/Windows/*UnitTests*.dll"
|> NUnit (fun p ->
{ p with
ToolName = "nunit-console.exe"
DisableShadowCopy = true
TimeOut = TimeSpan.FromMinutes 60.
OutputFile = "TestResults.xml" }))
"OpenBlasWin32Build" ?=> "OpenBlasWin32Test" "OpenBlasWin32Build" ?=> "OpenBlasWin32Test"
Target "OpenBlasWin64Test" (fun _ -> test !! "out/OpenBLAS/Windows/*UnitTests*.dll")
"OpenBlasWin64Build" ?=> "OpenBlasWin64Test" "OpenBlasWin64Build" ?=> "OpenBlasWin64Test"
Target "OpenBlasWinTest" DoNothing Target "OpenBlasWinTest" DoNothing
"OpenBlasWin32Test" ==> "OpenBlasWinTest" "OpenBlasWin32Test" ==> "OpenBlasWinTest"

2
src/NativeProviders/MKL/capabilities.cpp

@ -41,7 +41,7 @@ extern "C" {
#endif #endif
// COMMON/SHARED // COMMON/SHARED
case 64: return 9; // revision case 64: return 10; // 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,0,0,0 FILEVERSION 2,1,0,0
PRODUCTVERSION 2,0,0,0 PRODUCTVERSION 2,1,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.0.0.0" VALUE "FileVersion", "2.1.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.0.0.0" VALUE "ProductVersion", "2.1.0.0"
END END
END END
BLOCK "VarFileInfo" BLOCK "VarFileInfo"

Loading…
Cancel
Save