guix-commits
[Top][All Lists]
Advanced

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

01/02: gnu: Add ocl-icd.


From: guix-commits
Subject: 01/02: gnu: Add ocl-icd.
Date: Fri, 15 Sep 2023 16:47:50 -0400 (EDT)

nckx pushed a commit to branch master
in repository guix.

commit 3341b22f594398b3aa3ff930d99b74a78abd1a30
Author: Tobias Geerinckx-Rice <me@tobias.gr>
AuthorDate: Sun Sep 10 02:00:00 2023 +0200

    gnu: Add ocl-icd.
    
    * gnu/packages/opencl.scm (ocl-icd): New public variable.
---
 gnu/packages/opencl.scm | 25 +++++++++++++++++++++++++
 1 file changed, 25 insertions(+)

diff --git a/gnu/packages/opencl.scm b/gnu/packages/opencl.scm
index caafa6beaf..7275dfb573 100644
--- a/gnu/packages/opencl.scm
+++ b/gnu/packages/opencl.scm
@@ -197,6 +197,31 @@ possible (known) properties of the OpenCL platform and 
devices available on
 the system.")
     (license license:cc0)))
 
+(define-public ocl-icd
+  (package
+    (name "ocl-icd")
+    (version "2.3.2")
+    (source
+     (origin
+       (method git-fetch)
+       (uri (git-reference
+             (url "https://github.com/OCL-dev/ocl-icd";)
+             (commit (string-append "v" version))))
+       (file-name (git-file-name name version))
+       (sha256
+        (base32 "0y0lnxb6zlhfb5vxxib5n1vvxa4b23qc0j3lsih6yjz9j37mj7wz"))))
+    (build-system gnu-build-system)
+    (native-inputs
+     (list autoconf automake libtool ruby))
+    (home-page "https://github.com/OCL-dev/ocl-icd";)
+    (synopsis "Generic OpenCL @acronym{ICD, Installable Client Driver} loader")
+    (description
+     "This package provides an OpenCL @acronym{ICD, Installable Client Driver}
+loader.  It maintains a YAML database of all known and guessed function 
pointers
+from vendor-specific drivers.  It also delivers a skeleton of bindings to
+incorporate inside an OpenCL implementation to give it ICD functionalities.")
+    (license license:bsd-2)))
+
 (define-public beignet
   (package
     (name "beignet")



reply via email to

[Prev in Thread] Current Thread [Next in Thread]