utests: Refine the fill image0 test case to use map gtt.
authorZhigang Gong <zhigang.gong@linux.intel.com>
Thu, 16 May 2013 02:58:51 +0000 (10:58 +0800)
committerZhigang Gong <zhigang.gong@linux.intel.com>
Fri, 17 May 2013 07:19:00 +0000 (15:19 +0800)
commitfce9f3eb89eeee3fba2296cad936fac582b1dc9f
treef133b093015da084cb173bfc9d7adafe7417e4cd
parent2d33298c289fc7194b2770c751b50e079178ee0e
utests: Refine the fill image0 test case to use map gtt.

Now we don't fill the whole image to a const color. we
fill it according to the coords. Then we can use map gtt
to get the result and verify the result easily on cpu
side.

Signed-off-by: Zhigang Gong <zhigang.gong@linux.intel.com>
Tested-by: Simon Richter <Simon.Richter@hogyros.de>
kernels/test_fill_image0.cl
utests/compiler_fill_image0.cpp
utests/utest_helper.hpp