[clinfo] 10/55: Support cl_intel_device_side_avc_motion_estimation
Andreas Beckmann
anbe at moszumanska.debian.org
Sat Jan 13 14:39:59 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 d1c9a8f0c8af23a3edd1d3c384cdfee55d155fb9
Author: Giuseppe Bilotta <giuseppe.bilotta at gmail.com>
Date: Fri Jan 20 20:28:57 2017 +0100
Support cl_intel_device_side_avc_motion_estimation
---
man/clinfo.1 | 3 +++
src/clinfo.c | 6 ++++++
src/ext.h | 5 +++++
3 files changed, 14 insertions(+)
diff --git a/man/clinfo.1 b/man/clinfo.1
index f1125ae..dc4a0f2 100644
--- a/man/clinfo.1
+++ b/man/clinfo.1
@@ -93,6 +93,9 @@ the current host thread;
.B cl_intel_advanced_motion_estimation
for the version of the Intel Motion Estimation accelerator version;
.TP
+.B cl_intel_device_side_avc_motion_estimation
+for the version and supported features of Intel's device-side AVC Motion;
+.TP
.B cl_intel_simultaneous_sharing
for simultaneous CL/GL/DirectX context sharing (only partial support);
.TP
diff --git a/src/clinfo.c b/src/clinfo.c
index cee2391..b588c00 100644
--- a/src/clinfo.c
+++ b/src/clinfo.c
@@ -568,6 +568,7 @@ struct device_info_checks {
char has_image2d_buffer[27];
char has_intel_local_thread[30];
char has_intel_AME[36];
+ char has_intel_AVC_ME[43];
char has_intel_required_subgroup_size[32];
char has_altera_dev_temp[29];
char has_spir[12];
@@ -592,6 +593,7 @@ DEFINE_EXT_CHECK(atomic_counters)
DEFINE_EXT_CHECK(image2d_buffer)
DEFINE_EXT_CHECK(intel_local_thread)
DEFINE_EXT_CHECK(intel_AME)
+DEFINE_EXT_CHECK(intel_AVC_ME)
DEFINE_EXT_CHECK(intel_required_subgroup_size)
DEFINE_EXT_CHECK(altera_dev_temp)
DEFINE_EXT_CHECK(spir)
@@ -710,6 +712,7 @@ void identify_device_extensions(const char *extensions, struct device_info_check
CHECK_EXT(image2d_buffer, cl_khr_image2d_from_buffer);
CHECK_EXT(intel_local_thread, cl_intel_exec_by_local_thread);
CHECK_EXT(intel_AME, cl_intel_advanced_motion_estimation);
+ CHECK_EXT(intel_AVC_ME, cl_intel_device_side_avc_motion_estimation);
CHECK_EXT(intel_required_subgroup_size, cl_intel_required_subgroup_size);
CHECK_EXT(altera_dev_temp, cl_altera_device_temperature);
CHECK_EXT(qcom_ext_host_ptr, cl_qcom_ext_host_ptr);
@@ -1828,6 +1831,9 @@ struct device_info_traits dinfo_traits[] = {
{ CLINFO_BOTH, DINFO(CL_DEVICE_PRINTF_BUFFER_SIZE, "printf() buffer size", mem), dev_is_12 },
{ CLINFO_BOTH, DINFO(CL_DEVICE_BUILT_IN_KERNELS, "Built-in kernels", str), dev_is_12 },
{ CLINFO_BOTH, DINFO(CL_DEVICE_ME_VERSION_INTEL, "Motion Estimation accelerator version (Intel)", int), dev_has_intel_AME },
+ { CLINFO_BOTH, DINFO(CL_DEVICE_AVC_ME_VERSION_INTEL, INDENT "Device-side AVC Motion Estimation version", int), dev_has_intel_AVC_ME },
+ { CLINFO_BOTH, DINFO(CL_DEVICE_AVC_ME_SUPPORTS_TEXTURE_SAMPLER_USE_INTEL, INDENT INDENT "Supports texture sampler use", bool), dev_has_intel_AVC_ME },
+ { CLINFO_BOTH, DINFO(CL_DEVICE_AVC_ME_SUPPORTS_PREEMPTION_INTEL, INDENT INDENT "Supports preemption", bool), dev_has_intel_AVC_ME },
};
/* Process all the device info in the traits, except if param_whitelist is not NULL,
diff --git a/src/ext.h b/src/ext.h
index 0393d95..c8970ef 100644
--- a/src/ext.h
+++ b/src/ext.h
@@ -148,6 +148,11 @@ typedef cl_ulong cl_device_partition_property_ext;
/* cl_intel_advanced_motion_estimation */
#define CL_DEVICE_ME_VERSION_INTEL 0x407E
+/* cl_intel_device_side_avc_motion_estimation */
+#define CL_DEVICE_AVC_ME_VERSION_INTEL 0x410B
+#define CL_DEVICE_AVC_ME_SUPPORTS_TEXTURE_SAMPLER_USE_INTEL 0x410C
+#define CL_DEVICE_AVC_ME_SUPPORTS_PREEMPTION_INTEL 0x410D
+
/* cl_qcom_ext_host_ptr */
#define CL_DEVICE_EXT_MEM_PADDING_IN_BYTES_QCOM 0x40A0
#define CL_DEVICE_PAGE_SIZE_QCOM 0x40A1
--
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