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 /kernels/test_get_arg_info.cl | |
parent | 0eebe2536c8e76cd20867d1ca00ba4735736f629 (diff) |
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 'kernels/test_get_arg_info.cl')
-rw-r--r-- | kernels/test_get_arg_info.cl | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/kernels/test_get_arg_info.cl b/kernels/test_get_arg_info.cl index 43a804bc..ae088874 100644 --- a/kernels/test_get_arg_info.cl +++ b/kernels/test_get_arg_info.cl @@ -3,6 +3,6 @@ typedef struct _test_arg_struct { int b; }test_arg_struct; -kernel void test_get_arg_info(read_only global float const volatile *src, read_write local int read_only *dst, test_arg_struct extra) { +kernel void test_get_arg_info(read_only global float const volatile *src, read_write local int *dst, test_arg_struct extra) { } |