[clinfo] 60/148: Support cl_khr_icd extension
Andreas Beckmann
anbe at moszumanska.debian.org
Mon Nov 17 14:09:45 UTC 2014
This is an automated email from the git hooks/post-receive script.
anbe pushed a commit to branch clinfo
in repository clinfo.
commit 4661c122b34d8053d234e25cec8ded90c4ea4edb
Author: Giuseppe Bilotta <giuseppe.bilotta at gmail.com>
Date: Fri Aug 22 17:53:45 2014 +0200
Support cl_khr_icd extension
---
man/clinfo.1 | 3 +++
src/clinfo.c | 2 ++
2 files changed, 5 insertions(+)
diff --git a/man/clinfo.1 b/man/clinfo.1
index e4c242e..60defdc 100644
--- a/man/clinfo.1
+++ b/man/clinfo.1
@@ -34,6 +34,9 @@ of buffers to be used as base for 2D images;
for information about the supported SPIR (Standard Portable Intermediate
Representation) versions;
.TP
+.B cl_khr_icd
+for the suffix of vendor extensions functions;
+.TP
.B cl_ext_device_fission
for device fission support in OpenCL 1.1 devices;
.TP
diff --git a/src/clinfo.c b/src/clinfo.c
index df70b71..ef78190 100644
--- a/src/clinfo.c
+++ b/src/clinfo.c
@@ -90,6 +90,8 @@ printPlatformInfo(cl_uint p)
PARAM(VERSION, "Version");
PARAM(PROFILE, "Profile");
PARAM(EXTENSIONS, "Extensions");
+ if (strstr(strbuf, "cl_khr_icd"))
+ PARAM(ICD_SUFFIX_KHR, "Extensions function suffix");
#undef PARAM
error = clGetDeviceIDs(pid, CL_DEVICE_TYPE_ALL, 0, NULL, num_devs + p);
--
Alioth's /usr/local/bin/git-commit-notice on /srv/git.debian.org/git/pkg-opencl/clinfo.git
More information about the Pkg-opencl-commits
mailing list