This is an automated email from the git hooks/post-receive script.

guix_mirror_bot pushed a commit to branch master
in repository guix.

The following commit(s) were added to refs/heads/master by this push:
     new 695c45e742 gnu: Add clblast.
695c45e742 is described below

commit 695c45e742c6007c05f2be07d78513ebaa09336f
Author: Cayetano Santos <[email protected]>
AuthorDate: Sun Jan 25 19:59:43 2026 +0100

    gnu: Add clblast.
    
    * gnu/packages/maths.scm (clblast): New variable.
    
    Merges guix/guix!5913
    
    Change-Id: I48f19c902fc3299a19ccf867e99cfd11b542f080
---
 gnu/packages/maths.scm | 31 +++++++++++++++++++++++++++++++
 1 file changed, 31 insertions(+)

diff --git a/gnu/packages/maths.scm b/gnu/packages/maths.scm
index 33efda7087..ca4713dfa7 100644
--- a/gnu/packages/maths.scm
+++ b/gnu/packages/maths.scm
@@ -175,6 +175,7 @@
   #:use-module (gnu packages ocaml)
   #:use-module (gnu packages onc-rpc)
   #:use-module (gnu packages oneapi)
+  #:use-module (gnu packages opencl)
   #:use-module (gnu packages parallel)
   #:use-module (gnu packages pcre)
   #:use-module (gnu packages popt)
@@ -367,6 +368,36 @@ finite domain propagation and Boolean satisfiability.")
     (home-page "https://github.com/chuffed/chuffed";)
     (license license:expat)))
 
+(define-public clblast
+  (package
+    (name "clblast")
+    (version "1.6.3")
+    (source
+     (origin
+       (method git-fetch)
+       (uri (git-reference
+              (url "https://github.com/CNugteren/CLBlast";)
+              (commit version)))
+       (file-name (git-file-name name version))
+       (sha256
+        (base32 "1zp8rfkscnh4l9x71kp39hsg5zxfhkkf88886mv40hw0a1hafdvz"))))
+    (build-system cmake-build-system)
+    (arguments (list #:tests? #f))      ;no device available during tests
+    (inputs
+     (list opencl-icd-loader opencl-headers))
+    (native-inputs
+     (list python-minimal-wrapper))
+    (home-page "https://cnugteren.github.io/clblast/";)
+    (synopsis "Tunable OpenCL BLAS library")
+    (description
+     "CLBlast is a lightweight, performant and tunable OpenCL BLAS library
+written in C++11.  It is designed to leverage the full performance potential
+of a wide variety of OpenCL devices from different vendors, including desktop
+and laptop GPUs, embedded GPUs, and other accelerators.  CLBlast implements
+BLAS routines: basic linear algebra subprograms operating on vectors and
+matrices.")
+    (license license:asl2.0)))
+
 (define-public coda
   (package
     (name "coda")

Reply via email to