summaryrefslogtreecommitdiff
path: root/utests/utest_helper.hpp
diff options
context:
space:
mode:
authorLuo Xionghu <xionghu.luo@intel.com>2016-04-21 18:50:41 +0800
committerYang Rong <rong.r.yang@intel.com>2016-04-22 18:13:17 +0800
commit6e62f6eca7f4abed71728b92d9d9aee9799c8cb7 (patch)
treea7f7f519865028ec49a54b5eb92e6bcf5dc50760 /utests/utest_helper.hpp
parent830d3c32d00669f7eec5d80a083b3a0a88b39d11 (diff)
downloadbeignet-6e62f6eca7f4abed71728b92d9d9aee9799c8cb7.tar.gz
add functions cl_check_beignet.
__gen_ocl_get_timestamp functions is beignet builtin. Signed-off-by: Luo Xionghu <xionghu.luo@intel.com> Reviewed-by: Yang Rong <rong.r.yang@intel.com>
Diffstat (limited to 'utests/utest_helper.hpp')
-rw-r--r--utests/utest_helper.hpp2
1 files changed, 2 insertions, 0 deletions
diff --git a/utests/utest_helper.hpp b/utests/utest_helper.hpp
index 8ce77074..95c32d12 100644
--- a/utests/utest_helper.hpp
+++ b/utests/utest_helper.hpp
@@ -281,5 +281,7 @@ float select_ulpsize(float ULPSIZE_FAST_MATH, float ULPSIZE_NO_FAST_MATH);
/* Check is FP64 enabled. */
extern int cl_check_double(void);
+/* Check is beignet device. */
+extern int cl_check_beignet(void);
#endif /* __UTEST_HELPER_HPP__ */