[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]
[bug#61611] [PATCH 09/10] gnu: Add julia-muladdmacro.
From: |
Sharlatan Hellseher |
Subject: |
[bug#61611] [PATCH 09/10] gnu: Add julia-muladdmacro. |
Date: |
Sun, 19 Feb 2023 00:04:52 +0000 |
* gnu/packages/julia-xyz.scm (julia-muladdmacro): New variable.
---
gnu/packages/julia-xyz.scm | 27 +++++++++++++++++++++++++++
1 file changed, 27 insertions(+)
diff --git a/gnu/packages/julia-xyz.scm b/gnu/packages/julia-xyz.scm
index 0a8e1a81cd..a07326df6f 100644
--- a/gnu/packages/julia-xyz.scm
+++ b/gnu/packages/julia-xyz.scm
@@ -4223,6 +4223,33 @@ (define-public julia-msgpack
Julia, with type-driven, overloadable packing/unpacking functionality.")
(license license:expat)))
+(define-public julia-muladdmacro
+ (package
+ (name "julia-muladdmacro")
+ (version "0.2.4")
+ (source
+ (origin
+ (method git-fetch)
+ (uri (git-reference
+ (url "https://github.com/SciML/MuladdMacro.jl")
+ (commit (string-append "v" version))))
+ (file-name (git-file-name name version))
+ (sha256
+ (base32 "0pvmfw7f3igpwx0w8c8i40pls0wfm248b1i662wnlrkqiw56j0yq"))))
+ (build-system julia-build-system)
+ (home-page "https://github.com/SciML/MuladdMacro.jl")
+ (synopsis "Julia macro to convert expressions to use muladd calls and FMA
operations")
+ (description
+ "This package provides the @code{@@muladd} macro. It automatically
converts
+expressions with multiplications and additions or subtractions to calls with
+muladd which then fuse via FMA when it would increase the performance of the
+code. The @code{@@muladd} macro can be placed on code blocks and it will
automatically
+find the appropriate expressions and nest muladd expressions when necessary.
In
+mixed expressions summands without multiplication will be grouped together and
+evaluated first but otherwise the order of evaluation of multiplications and
+additions is not changed.")
+ (license license:expat)))
+
(define-public julia-mutablearithmetics
(package
(name "julia-mutablearithmetics")
--
2.39.1
- [bug#61611] [PATCH 00/10]: gnu: Add julia-astrotime, Sharlatan Hellseher, 2023/02/18
- [bug#61611] [PATCH 01/10] gnu: Add julia-leapseconds., Sharlatan Hellseher, 2023/02/18
- [bug#61611] [PATCH 02/10] gnu: Add julia-optionaldata., Sharlatan Hellseher, 2023/02/18
- [bug#61611] [PATCH 04/10] gnu: Add julia-earthorientation., Sharlatan Hellseher, 2023/02/18
- [bug#61611] [PATCH 08/10] gnu: Add julia-itemgraphs., Sharlatan Hellseher, 2023/02/18
- [bug#61611] [PATCH 05/10] gnu: Add julia-inflate., Sharlatan Hellseher, 2023/02/18
- [bug#61611] [PATCH 07/10] gnu: Add julia-lightgraphs., Sharlatan Hellseher, 2023/02/18
- [bug#61611] [PATCH 03/10] gnu: Add julia-remotefiles., Sharlatan Hellseher, 2023/02/18
- [bug#61611] [PATCH 06/10] gnu: Add julia-arnoldimethod., Sharlatan Hellseher, 2023/02/18
- [bug#61611] [PATCH 09/10] gnu: Add julia-muladdmacro.,
Sharlatan Hellseher <=
- [bug#61611] [PATCH 10/10] gnu: Add julia-astrotime., Sharlatan Hellseher, 2023/02/18