summaryrefslogtreecommitdiff
path: root/utests/utest_helper.hpp
diff options
context:
space:
mode:
authorRebecca N. Palmer <rebecca_palmer@zoho.com>2016-10-12 23:38:03 +0100
committerYang Rong <rong.r.yang@intel.com>2016-10-20 13:31:37 +0800
commit76f892abb0e8fa1e8ab60a926b84ba6fb14a5a7e (patch)
treeac5c95bab96d782e1fac4b003ccb9f7da1dea80d /utests/utest_helper.hpp
parent26f23c2a73ff08ba0f64333972bb15ce1d7ec155 (diff)
downloadbeignet-76f892abb0e8fa1e8ab60a926b84ba6fb14a5a7e.tar.gz
Utests: Allow testing cl_intel_accelerator via ICD
v3: Use extension check, not beignet check. Treat claiming to have the extension but not having the kernel as a failure. v4: Make extension check a function, use stderr. Signed-off-by: Rebecca N. Palmer <rebecca_palmer@zoho.com> Reviewed-by: Chuanbo Weng <chuanbo.weng@intel.com>
Diffstat (limited to 'utests/utest_helper.hpp')
-rw-r--r--utests/utest_helper.hpp3
1 files changed, 3 insertions, 0 deletions
diff --git a/utests/utest_helper.hpp b/utests/utest_helper.hpp
index 034a411a..b16aac71 100644
--- a/utests/utest_helper.hpp
+++ b/utests/utest_helper.hpp
@@ -307,6 +307,9 @@ typedef cl_int(clGetKernelSubGroupInfoKHR_cb)(cl_kernel, cl_device_id,
size_t *);
extern clGetKernelSubGroupInfoKHR_cb* utestclGetKernelSubGroupInfoKHR;
+/* Check if cl_intel_motion_estimation enabled. */
+extern int cl_check_motion_estimation(void);
+
/* Check is cl version 2.0. */
extern int cl_check_ocl20(void);