diff options
author | Luo Xionghu <xionghu.luo@intel.com> | 2017-03-08 23:00:37 +0800 |
---|---|---|
committer | Yang Rong <rong.r.yang@intel.com> | 2017-03-13 16:59:37 +0800 |
commit | 9360073d15ec545cd40beef90f863dd28a3a14c9 (patch) | |
tree | b2dbdc5b227eb0d0d631f3fbce8fa9e5eb8be42e /utests/utest_helper.hpp | |
parent | 1ac3088ca716c7f8606e841dab2a24ce4c2127ec (diff) | |
download | beignet-9360073d15ec545cd40beef90f863dd28a3a14c9.tar.gz |
add extension cl_intel_media_block_io READ related function
v2: add #define intel_media_block_io in libocl; move extension check
code to this patch;
Signed-off-by: Luo Xionghu <xionghu.luo@intel.com>
Reviewed-by: Pan Xiuli <xiuli.pan@intel.com>
Diffstat (limited to 'utests/utest_helper.hpp')
-rw-r--r-- | utests/utest_helper.hpp | 3 |
1 files changed, 3 insertions, 0 deletions
diff --git a/utests/utest_helper.hpp b/utests/utest_helper.hpp index e2a6a884..5dc381e3 100644 --- a/utests/utest_helper.hpp +++ b/utests/utest_helper.hpp @@ -303,6 +303,9 @@ extern int cl_check_beignet(void); /* Check is intel subgroups enabled. */ extern int cl_check_subgroups(void); +/* Check is intel_media_block_io enabled. */ +extern int cl_check_media_block_io(void); + typedef cl_int(clGetKernelSubGroupInfoKHR_cb)(cl_kernel, cl_device_id, cl_kernel_sub_group_info, size_t, const void *, size_t, void *, |