aboutsummaryrefslogtreecommitdiff
path: root/gnu
diff options
context:
space:
mode:
authorEfraim Flashner <efraim@flashner.co.il>2020-01-21 17:26:30 +0200
committerEfraim Flashner <efraim@flashner.co.il>2020-01-21 17:26:30 +0200
commit2e1100f377bd32994a23ec26207edfa92e6a0074 (patch)
treebe28506272d7e47d17ebea1b296931a1cb6fea48 /gnu
parenta8a5cc6841c1b45f58303eb0f7d97e4b7e1d49c8 (diff)
downloadpatches-2e1100f377bd32994a23ec26207edfa92e6a0074.tar
patches-2e1100f377bd32994a23ec26207edfa92e6a0074.tar.gz
gnu: Add rust-matrixmultiply-0.1.
* gnu/packages/crates-io.scm (rust-matrixmultiply-0.1): New variable.
Diffstat (limited to 'gnu')
-rw-r--r--gnu/packages/crates-io.scm27
1 files changed, 27 insertions, 0 deletions
diff --git a/gnu/packages/crates-io.scm b/gnu/packages/crates-io.scm
index 831c4959c1..0be0136a31 100644
--- a/gnu/packages/crates-io.scm
+++ b/gnu/packages/crates-io.scm
@@ -6014,6 +6014,33 @@ whether an expression matches a pattern.")
(properties '((hidden? . #t)))
(license license:expat)))
+(define-public rust-matrixmultiply-0.1
+ (package
+ (name "rust-matrixmultiply")
+ (version "0.1.15")
+ (source
+ (origin
+ (method url-fetch)
+ (uri (crate-uri "matrixmultiply" version))
+ (file-name (string-append name "-" version ".crate"))
+ (sha256
+ (base32
+ "00p0fpjhm45qdzi37mgv7ggsy8b9gqvq4999yrbgyn1dxkf6gbfw"))))
+ (build-system cargo-build-system)
+ (arguments
+ `(#:skip-build? #t
+ #:cargo-inputs (("rust-rawpointer" ,rust-rawpointer-0.1))
+ #:cargo-development-inputs (("rust-bencher" ,rust-bencher-0.1))))
+ (home-page "https://github.com/bluss/matrixmultiply/")
+ (synopsis "General matrix multiplication for f32 and f64 matrices")
+ (description "General matrix multiplication for f32 and f64 matrices.
+Operates on matrices with general layout (they can use arbitrary row and column
+stride). Detects and uses AVX or SSE2 on x86 platforms transparently for higher
+performance. Uses a microkernel strategy, so that the implementation is easy to
+parallelize and optimize.")
+ (license (list license:asl2.0
+ license:expat))))
+
(define-public rust-md5-0.6
(package
(name "rust-md5")