From 6357eebd52ba82ba0f22bc9eab0dc09125527657 Mon Sep 17 00:00:00 2001 From: Toshiki Teramura Date: Tue, 5 Sep 2017 18:25:13 +0900 Subject: [PATCH 1/7] Add intel-mkl backend --- Cargo.toml | 5 +++++ 1 file changed, 5 insertions(+) diff --git a/Cargo.toml b/Cargo.toml index d85f67d51..acd838058 100644 --- a/Cargo.toml +++ b/Cargo.toml @@ -21,6 +21,7 @@ default = ["openblas"] accelerate = ["accelerate-src"] netlib = ["netlib-src"] openblas = ["openblas-src"] +intel-mkl = ["intel-mkl-src"] [dependencies] libc = "0.2" @@ -36,3 +37,7 @@ optional = true [dependencies.openblas-src] version = "0.5" optional = true + +[dependencies.intel-mkl-src] +version = "0.1" +optional = true From bc0baa87f9152a3b1f5f6af2edf3b3c72dd54e35 Mon Sep 17 00:00:00 2001 From: Toshiki Teramura Date: Tue, 5 Sep 2017 18:41:04 +0900 Subject: [PATCH 2/7] Add test for intel-mkl feature --- .travis.yml | 1 + 1 file changed, 1 insertion(+) diff --git a/.travis.yml b/.travis.yml index 4e586ca45..aeb3112aa 100644 --- a/.travis.yml +++ b/.travis.yml @@ -18,6 +18,7 @@ env: - FEATURE=accelerate - FEATURE=netlib - FEATURE=openblas + - FEATURE=intel-mkl matrix: exclude: From ffd0cbde9b57e0ebbfd8b8d0a4f35b020dfb9243 Mon Sep 17 00:00:00 2001 From: Toshiki Teramura Date: Wed, 6 Sep 2017 19:28:44 +0900 Subject: [PATCH 3/7] Add extern crate intel_mkl_src --- src/lib.rs | 3 +++ 1 file changed, 3 insertions(+) diff --git a/src/lib.rs b/src/lib.rs index dea4d9d7c..ebcbbd2f5 100644 --- a/src/lib.rs +++ b/src/lib.rs @@ -15,6 +15,9 @@ extern crate netlib_src as raw; #[cfg(feature = "openblas")] extern crate openblas_src as raw; +#[cfg(feature = "intel-mkl")] +extern crate intel_mkl_src as raw; + /// A complex number with 64-bit parts. #[allow(bad_style)] pub type c_double_complex = [libc::c_double; 2]; From 6f23559ed2a07c73a1c14ff90aa841df1daa7d1b Mon Sep 17 00:00:00 2001 From: Toshiki Teramura Date: Wed, 6 Sep 2017 22:14:13 +0900 Subject: [PATCH 4/7] Use intel-mkl-src v0.2.1 --- Cargo.toml | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/Cargo.toml b/Cargo.toml index acd838058..0e9925795 100644 --- a/Cargo.toml +++ b/Cargo.toml @@ -39,5 +39,5 @@ version = "0.5" optional = true [dependencies.intel-mkl-src] -version = "0.1" +version = "0.2.1" optional = true From 3187c543d971d4f781c60c52f31211063f8ccb72 Mon Sep 17 00:00:00 2001 From: Toshiki Teramura Date: Fri, 8 Sep 2017 09:30:36 +0900 Subject: [PATCH 5/7] Use v0.2.2 --- Cargo.toml | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/Cargo.toml b/Cargo.toml index 0e9925795..f0c9de5cd 100644 --- a/Cargo.toml +++ b/Cargo.toml @@ -39,5 +39,5 @@ version = "0.5" optional = true [dependencies.intel-mkl-src] -version = "0.2.1" +version = "0.2.2" optional = true From 32671aa4b299c679cce8ccb626f6ca01887360b3 Mon Sep 17 00:00:00 2001 From: Toshiki Teramura Date: Wed, 13 Sep 2017 15:01:12 +0900 Subject: [PATCH 6/7] Use v0.2.4 --- Cargo.toml | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/Cargo.toml b/Cargo.toml index f0c9de5cd..f1794847f 100644 --- a/Cargo.toml +++ b/Cargo.toml @@ -39,5 +39,5 @@ version = "0.5" optional = true [dependencies.intel-mkl-src] -version = "0.2.2" +version = "0.2.4" optional = true From 016a15bbc64b7cc32b4f2189782ed977eb020645 Mon Sep 17 00:00:00 2001 From: Toshiki Teramura Date: Thu, 14 Sep 2017 16:45:56 +0900 Subject: [PATCH 7/7] Use intel-mkl-src v0.2.5 (support macOS) --- Cargo.toml | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/Cargo.toml b/Cargo.toml index f1794847f..9a1b07789 100644 --- a/Cargo.toml +++ b/Cargo.toml @@ -39,5 +39,5 @@ version = "0.5" optional = true [dependencies.intel-mkl-src] -version = "0.2.4" +version = "0.2.5" optional = true