guix_mirror_bot pushed a commit to branch master
in repository guix.

commit b5c501ad471bfd9d558219b074dfa41560f6fa4d
Author: David Elsing <[email protected]>
AuthorDate: Tue Feb 3 21:33:21 2026 +0100

    gnu: Add half-rocm.
    
    * gnu/packages/rocm-libs.scm (half-rocm): New variable.
    
    Signed-off-by: Ludovic Courtès <[email protected]>
---
 gnu/packages/rocm-libs.scm | 24 ++++++++++++++++++++++++
 1 file changed, 24 insertions(+)

diff --git a/gnu/packages/rocm-libs.scm b/gnu/packages/rocm-libs.scm
index 124c5bac49..3d7522d3f8 100644
--- a/gnu/packages/rocm-libs.scm
+++ b/gnu/packages/rocm-libs.scm
@@ -772,3 +772,27 @@ based on @code{rocPRIM}.  It is a port of the CUDA Thrust 
library.")
 programming model for writing performance-portable kernels, in particular for
 GPUs using the HIP programming language.")
     (license license:expat)))
+
+(define-public half-rocm
+  (package
+    (name "half-rocm")
+    (version %rocm-version)
+    (source
+     (origin
+       (method git-fetch)
+       (uri (git-reference
+              (url "https://github.com/ROCm/half";)
+              (commit (string-append "rocm-" version))))
+       (file-name (git-file-name name version))
+       (sha256
+        (base32
+         "0vlsmrs3aiv30j1ifks9g9cl8b1xdjv7dd706w5npjhy27j4xzr1"))))
+    (build-system cmake-build-system)
+    (arguments '(#:tests? #f))
+    (native-inputs (list rocm-cmake))
+    (home-page "https://github.com/ROCm/half";)
+    (synopsis "Half-precision floating-point library")
+    (description "This package provides a header-only C++ library for a
+half-precision floating point type (IEEE 754 conformant) together with common
+operations on this type.")
+    (license license:expat)))

Reply via email to