From 9bd4c35aac3b38e1302ac0c614dcbc3cb4f4e674 Mon Sep 17 00:00:00 2001 From: zimoun Date: Tue, 4 Jan 2022 23:47:47 +0100 Subject: gnu: Add julia-simd. * gnu/packages/julia-xyz.scm (julia-simd): New variable. Signed-off-by: Efraim Flashner --- gnu/packages/julia-xyz.scm | 27 ++++++++++++++++++++++++++- 1 file changed, 26 insertions(+), 1 deletion(-) diff --git a/gnu/packages/julia-xyz.scm b/gnu/packages/julia-xyz.scm index 2872addaa3..9e88987643 100644 --- a/gnu/packages/julia-xyz.scm +++ b/gnu/packages/julia-xyz.scm @@ -1,6 +1,6 @@ ;;; GNU Guix --- Functional package management for GNU ;;; Copyright © 2020, 2021 Nicolò Balzarotti -;;; Copyright © 2021 Simon Tournier +;;; Copyright © 2021, 2022 Simon Tournier ;;; Copyright © 2021 Efraim Flashner ;;; Copyright © 2021 Vinicius Monego ;;; Copyright © 2021 jgart @@ -4406,6 +4406,31 @@ formatting an array of n things, e.g. numbers, dates, unitful values. It's used in @code{Gadfly}, @code{Plots} and @code{Makie} to label axes and keys.") (license license:expat))) +(define-public julia-simd + (package + (name "julia-simd") + (version "3.3.1") + (source + (origin + (method git-fetch) + (uri (git-reference + (url "https://github.com/eschnett/SIMD.jl") + (commit (string-append "v" version)))) + (file-name (git-file-name name version)) + (sha256 + (base32 "1jiic2hcl9l6zh6jgqzbd3ik2girmgvni4bq65kdci5l12k9la68")))) + (build-system julia-build-system) + (home-page "https://github.com/eschnett/SIMD.jl") + (synopsis "Explicit SIMD vectorization") + (description "This package allows programmers to explicitly SIMD-vectorize +their Julia code. By exposing SIMD vector types and corresponding operations, +the programmer can explicitly vectorize their code. While this does not +guarantee that the generated machine code is efficient, it relieves the +compiler from determining whether it is legal to vectorize the code, deciding +whether it is beneficial to do so, and rearranging the code to synthesize +vector instructions.") + (license license:expat))) + (define-public julia-simpletraits (package (name "julia-simpletraits") -- cgit v1.2.3