[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]
182/377: gnu: Add opencl-icd-loader.
From: |
guix-commits |
Subject: |
182/377: gnu: Add opencl-icd-loader. |
Date: |
Thu, 2 Sep 2021 17:55:25 -0400 (EDT) |
raghavgururajan pushed a commit to branch wip-gnome
in repository guix.
commit 2c6c1f8d91cbe6fc43162f1ca8f5e4cfc8bd07e7
Author: Lars-Dominik Braun <lars@6xq.net>
AuthorDate: Wed Aug 11 09:48:01 2021 +0200
gnu: Add opencl-icd-loader.
* gnu/packages/opencl.scm (opencl-icd-loader): New variable.
---
gnu/packages/opencl.scm | 37 +++++++++++++++++++++++++++++++++++++
1 file changed, 37 insertions(+)
diff --git a/gnu/packages/opencl.scm b/gnu/packages/opencl.scm
index ee88d92..e550e97 100644
--- a/gnu/packages/opencl.scm
+++ b/gnu/packages/opencl.scm
@@ -121,6 +121,43 @@
"This package provides the @dfn{host API} C++ headers for OpenCL.")
(license license:expat)))
+(define-public opencl-icd-loader
+ (package
+ (name "opencl-icd-loader")
+ (version "2021.06.30")
+ (source (origin
+ (method git-fetch)
+ (uri (git-reference
+ (url
"https://github.com/KhronosGroup/OpenCL-ICD-Loader.git")
+ (commit (string-append "v" version))))
+ (file-name (git-file-name name version))
+ (sha256
+ (base32
+ "007ws357n1ijrxal1bf9lwy68p0dz1sm9cfcfnnz5f88iwc9xd6m"))))
+ (build-system cmake-build-system)
+ (arguments `(#:tests? #f)) ; Tests need stub loader setup.
+ (native-search-paths
+ (list (search-path-specification
+ (variable "OCL_ICD_VENDORS")
+ (files '("etc/OpenCL/vendors")))))
+ (home-page "https://github.com/KhronosGroup/OpenCL-ICD-Loader")
+ (inputs `(("opencl-headers" ,opencl-headers)))
+ (synopsis "OpenCL Installable Client Driver")
+ (description
+ "OpenCL defines an Installable Client Driver (ICD) mechanism to allow
+developers to build applications against an Installable Client Driver loader
+(ICD loader) rather than linking their applications against a specific OpenCL
+implementation. The ICD Loader is responsible for:
+
+@itemize
+@item Exporting OpenCL API entry points
+@item Enumerating OpenCL implementations
+@item Forwarding OpenCL API calls to the correct implementation
+@end itemize
+
+This package contains the Khronos official OpenCL ICD Loader.")
+ (license license:asl2.0)))
+
(define-public ocl-icd
(package
(name "ocl-icd")
- 161/377: gnu: ccache: Update to 3.4., (continued)
- 161/377: gnu: ccache: Update to 3.4., guix-commits, 2021/09/02
- 163/377: gnu: emacs-vertico: Add new phase after unpack., guix-commits, 2021/09/02
- 165/377: gnu: python-pytest-xprocess: Update to 0.18.1., guix-commits, 2021/09/02
- 167/377: gnu: emacs-auctex: Update to 13.0.14., guix-commits, 2021/09/02
- 168/377: gnu: emacs-dash: Update to 2.19.1., guix-commits, 2021/09/02
- 169/377: gnu: Add r-emdist., guix-commits, 2021/09/02
- 173/377: gnu: postgresql-11: Update to 11.13., guix-commits, 2021/09/02
- 175/377: gnu: postgresql-9.6: Update to 9.6.23., guix-commits, 2021/09/02
- 178/377: gnu: man-pages: Update to 5.13., guix-commits, 2021/09/02
- 179/377: gnu: opencl-headers: Update to 2021.06.30 and switch to CMake., guix-commits, 2021/09/02
- 182/377: gnu: Add opencl-icd-loader.,
guix-commits <=
- 183/377: gnu: ocl-icd: Replace with opencl-icd-loader., guix-commits, 2021/09/02
- 184/377: gnu: Add clpeak., guix-commits, 2021/09/02
- 188/377: gnu: mame: Update to 0.235., guix-commits, 2021/09/02
- 190/377: images: pinebook-pro: Fix the agetty baud rate., guix-commits, 2021/09/02
- 196/377: gnu: Add python-resolvelib., guix-commits, 2021/09/02
- 197/377: gnu: Add python-resolvelib-0.5., guix-commits, 2021/09/02
- 193/377: gnu: bootloader: Support multiple targets., guix-commits, 2021/09/02
- 199/377: gnu: Add python-pyspnego., guix-commits, 2021/09/02
- 200/377: gnu: python-pytest-6: Update to 6.2.4 and propagate iniconfig., guix-commits, 2021/09/02
- 202/377: gnu: python-rope: Update to 0.19.0 and remove python2-rope., guix-commits, 2021/09/02