Skip to Content.
Sympa Menu

sm-commit - [[SM-Commit] ] GIT changes to master grimoire by Conner Clere (5936ea3a73f7f72dbd28b7c231050b745b2f2cec)

sm-commit AT lists.ibiblio.org

Subject: Source Mage code commit list

List archive

Chronological Thread  
  • From: Conner Clere <scm AT sourcemage.org>
  • To: sm-commit AT lists.ibiblio.org
  • Subject: [[SM-Commit] ] GIT changes to master grimoire by Conner Clere (5936ea3a73f7f72dbd28b7c231050b745b2f2cec)
  • Date: Wed, 6 Mar 2024 04:08:21 +0000

GIT changes to master grimoire by Conner Clere <xenanthropy AT sourcemage.org>:

ChangeLog | 1 +
utils/ocl-icd/CONFLICTS | 1 +
utils/ocl-icd/DEPENDS | 5 +++++
utils/ocl-icd/DETAILS | 37 +++++++++++++++++++++++++++++++++++++
utils/ocl-icd/HISTORY | 3 +++
utils/ocl-icd/PRE_BUILD | 3 +++
utils/ocl-icd/PROVIDES | 1 +
7 files changed, 51 insertions(+)

New commits:
commit 5936ea3a73f7f72dbd28b7c231050b745b2f2cec
Author: Conner Clere <xenanthropy AT sourcemage.org>
Commit: Conner Clere <xenanthropy AT sourcemage.org>

utils/ocl-icd: new spell, openCL ICD loader

diff --git a/ChangeLog b/ChangeLog
index 782cd17..128c1be 100644
--- a/ChangeLog
+++ b/ChangeLog
@@ -1,5 +1,6 @@
2024-03-05 Conner Clere <xenanthropy AT sourcemage.org>
* libs/clblast: new spell, tuned openCL BLAS libs
+ * utils/ocl-icd: new spell, openCL ICD loader

2024-02-28 Treeve Jelbert <treeve AT sourcemage.org>
* libs/ms-gsl: added, Guidelines Support Library
diff --git a/utils/ocl-icd/CONFLICTS b/utils/ocl-icd/CONFLICTS
new file mode 100755
index 0000000..786164e
--- /dev/null
+++ b/utils/ocl-icd/CONFLICTS
@@ -0,0 +1 @@
+conflicts opencl-icd-loader
diff --git a/utils/ocl-icd/DEPENDS b/utils/ocl-icd/DEPENDS
new file mode 100755
index 0000000..886ebce
--- /dev/null
+++ b/utils/ocl-icd/DEPENDS
@@ -0,0 +1,5 @@
+depends PKG-CONFIG &&
+depends opencl-headers &&
+depends autoconf &&
+depends RUBY &&
+depends MESA
diff --git a/utils/ocl-icd/DETAILS b/utils/ocl-icd/DETAILS
new file mode 100755
index 0000000..b1e921d
--- /dev/null
+++ b/utils/ocl-icd/DETAILS
@@ -0,0 +1,37 @@
+ SPELL=ocl-icd
+ VERSION=2.3.2
+ SOURCE=$SPELL-$VERSION.tar.gz
+SOURCE_DIRECTORY="$BUILD_DIRECTORY/${SPELL}-${VERSION}"
+
SOURCE_URL[0]=https://github.com/OCL-dev/ocl-icd/archive/v${VERSION}.tar.gz
+
SOURCE_HASH=sha512:5129975a10ffade76d20444345a59c82506914347391ad6c0b4c3826f51dcc641924b4a5abcc65c41766597af9cc7a76b9e5821f41898ff0251a05963e117796
+ LICENSE[0]=BSD
+ WEB_SITE=https://github.com/OCL-dev/ocl-icd/
+ ENTERED=20240305
+ KEYWORDS="utils graphics rocm cuda opencl"
+ SHORT="opencl icd bindings"
+cat << EOF
+This package aims at creating an Open Source alternative to vendor specific
+OpenCL ICD loaders.
+
+The main difficulties to create such software is that the order of
+function pointers in a structure is not publicy available.
+ This software maintains a YAML database of all known and guessed
+entries.
+
+ If the configure script is called with --enable-update-database,
+then:
+- a dummy OpenCL implementation using available headers on the system
+ is created
+- this dummy OpenCL implementation is installed system-wide (root
+ access needed) with the file dummy.icd in /etc/OpenCL/vendors/
+- a test program then calls every function defined in the
+ headers and thus obtains the function mapping inside the demultiplexer
+So, if an other OpenCL ICD loader is installed on the system, this
+allows us to discover the mapping of new entries in the structure,
+entries that are then recoreded in the YAML database.
+ Of course, if the currently installed OpenCL ICD loader is this one,
+there wont be any problems but no new mapping will be discovered.
+
+This package also delivers a skeleton of bindings to incorporate inside an
+OpenCL implementation to give it ICD functionalities.
+EOF
diff --git a/utils/ocl-icd/HISTORY b/utils/ocl-icd/HISTORY
new file mode 100644
index 0000000..ca842de
--- /dev/null
+++ b/utils/ocl-icd/HISTORY
@@ -0,0 +1,3 @@
+2024-03-05 Conner Clere <xenanthropy AT sourcemage.org>
+ * CONFLICTS, PRE_BUILD, PROVIDES, DEPENDS, DETAILS: version 2.3.2,
new spell
+
diff --git a/utils/ocl-icd/PRE_BUILD b/utils/ocl-icd/PRE_BUILD
new file mode 100755
index 0000000..8d57f2d
--- /dev/null
+++ b/utils/ocl-icd/PRE_BUILD
@@ -0,0 +1,3 @@
+default_pre_build &&
+cd "${SOURCE_DIRECTORY}/" &&
+autoreconf -fiv
diff --git a/utils/ocl-icd/PROVIDES b/utils/ocl-icd/PROVIDES
new file mode 100755
index 0000000..dd9fe7b
--- /dev/null
+++ b/utils/ocl-icd/PROVIDES
@@ -0,0 +1 @@
+OPENCL-ICD


  • [[SM-Commit] ] GIT changes to master grimoire by Conner Clere (5936ea3a73f7f72dbd28b7c231050b745b2f2cec), Conner Clere, 03/05/2024

Archive powered by MHonArc 2.6.24.

Top of Page