diff options
author | Luo Xionghu <xionghu.luo@intel.com> | 2016-04-21 18:50:40 +0800 |
---|---|---|
committer | Yang Rong <rong.r.yang@intel.com> | 2016-04-22 18:13:12 +0800 |
commit | 830d3c32d00669f7eec5d80a083b3a0a88b39d11 (patch) | |
tree | 7e5ae3183877cb3e404ee9cc9ba08305b78726cd /utests/utest_helper.cpp | |
parent | 0eebe2536c8e76cd20867d1ca00ba4735736f629 (diff) | |
download | beignet-830d3c32d00669f7eec5d80a083b3a0a88b39d11.tar.gz |
fix failed cases for stand alone utest;
1. use clEnqueueMapBuffer/Image instead of clEnqueueReadBuffer/Image;
2. add sanity check for clEnqueueMapImage;
v2: disable OpenCL 2.0 specific builtin cases for stand alone utest.
v3: don't hide failed cases. fix utest build warnings.
Signed-off-by: Luo Xionghu <xionghu.luo@intel.com>
Reviewed-by: Yang Rong <rong.r.yang@intel.com>
Diffstat (limited to 'utests/utest_helper.cpp')
-rw-r--r-- | utests/utest_helper.cpp | 1 |
1 files changed, 0 insertions, 1 deletions
diff --git a/utests/utest_helper.cpp b/utests/utest_helper.cpp index 426473af..77a19268 100644 --- a/utests/utest_helper.cpp +++ b/utests/utest_helper.cpp @@ -209,7 +209,6 @@ clpanic(const char *msg, int rval) char* cl_do_kiss_path(const char *file, cl_device_id device) { - cl_int ver; const char *sub_path = NULL; char *ker_path = NULL; const char *kiss_path = getenv("OCL_KERNEL_PATH"); |