diff options
| author | Cayetano Santos <csantosb@inventati.org> | 2026-01-25 19:59:43 +0100 |
|---|---|---|
| committer | Cayetano Santos <csantosb@inventati.org> | 2026-01-31 21:00:18 +0100 |
| commit | 695c45e742c6007c05f2be07d78513ebaa09336f (patch) | |
| tree | fa560b0915c6a06d9bd7eadeeee0d092ce91b8c6 /gnu/packages/maths.scm | |
| parent | 6c2f16fd6d52ced7e88fb51f5b6249c8212d91e4 (diff) | |
gnu: Add clblast.
* gnu/packages/maths.scm (clblast): New variable.
Merges guix/guix!5913
Change-Id: I48f19c902fc3299a19ccf867e99cfd11b542f080
Diffstat (limited to 'gnu/packages/maths.scm')
| -rw-r--r-- | gnu/packages/maths.scm | 31 |
1 files changed, 31 insertions, 0 deletions
diff --git a/gnu/packages/maths.scm b/gnu/packages/maths.scm index 33efda7087d..ca4713dfa7e 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") |
