[clinfo] 31/55: Add tentative missing defines for cl_khr_terminate_context
Andreas Beckmann
anbe at moszumanska.debian.org
Sat Jan 13 14:40:01 UTC 2018
This is an automated email from the git hooks/post-receive script.
anbe pushed a commit to branch master
in repository clinfo.
commit f6a827ad9c45c4764021f703bc3dde52d212efa4
Author: Giuseppe Bilotta <giuseppe.bilotta at gmail.com>
Date: Thu Aug 17 23:35:57 2017 +0200
Add tentative missing defines for cl_khr_terminate_context
---
src/ext.h | 6 ++++++
1 file changed, 6 insertions(+)
diff --git a/src/ext.h b/src/ext.h
index 3d85d0f..86894f9 100644
--- a/src/ext.h
+++ b/src/ext.h
@@ -74,6 +74,12 @@ typedef cl_bitfield cl_device_svm_capabilities;
/* cl_khr_terminate_context */
#define CL_DEVICE_TERMINATE_CAPABILITY_KHR 0x200F
+/* TODO: I cannot find official definitions for these,
+ * so I'm currently extrapolating them from the specification
+ */
+typedef cl_bitfield cl_device_terminate_capability_khr;
+#define CL_DEVICE_TERMINATE_CAPABILITY_CONTEXT (1<<0)
+
/* cl_khr_subgroup_named_barrier */
#define CL_DEVICE_MAX_NAMED_BARRIER_COUNT_KHR 0x2035
--
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