summaryrefslogtreecommitdiff
path: root/utests/compiler_box_blur_image.cpp
diff options
context:
space:
mode:
authorZhigang Gong <zhigang.gong@intel.com>2014-10-31 10:04:50 +0800
committerZhigang Gong <zhigang.gong@intel.com>2014-11-04 19:15:20 +0800
commit8cff1fda829bf886f07209bbb5a196039124028d (patch)
treebac2c4a3f88f7f3f585ff62c7217f5a25879acf5 /utests/compiler_box_blur_image.cpp
parent04a8b4e8a4e484f6c9346d5af969aed8606be774 (diff)
downloadbeignet-8cff1fda829bf886f07209bbb5a196039124028d.tar.gz
utest: change the box_blur_image to be identical to box_blur.
Change box_blur_image to read integer type surface thus it could be totally identical to the box_blur thus they can share the same reference image. Signed-off-by: Zhigang Gong <zhigang.gong@intel.com> Reviewed-by: "Yang, Rong R" <rong.r.yang@intel.com>
Diffstat (limited to 'utests/compiler_box_blur_image.cpp')
-rw-r--r--utests/compiler_box_blur_image.cpp2
1 files changed, 1 insertions, 1 deletions
diff --git a/utests/compiler_box_blur_image.cpp b/utests/compiler_box_blur_image.cpp
index d94a97c9..711f2b38 100644
--- a/utests/compiler_box_blur_image.cpp
+++ b/utests/compiler_box_blur_image.cpp
@@ -15,7 +15,7 @@ static void compiler_box_blur_image()
src = cl_read_bmp("lenna128x128.bmp", &w, &h);
format.image_channel_order = CL_RGBA;
- format.image_channel_data_type = CL_UNORM_INT8;
+ format.image_channel_data_type = CL_UNSIGNED_INT8;
desc.image_type = CL_MEM_OBJECT_IMAGE2D;
desc.image_width = w;
desc.image_height = h;