summaryrefslogtreecommitdiff
path: root/utests/compare_image_2d_and_1d_array.cpp
Commit message (Collapse)AuthorAgeFilesLines
* Utest: Fix utest memleaksPan Xiuli2016-05-181-0/+2
| | | | | | | Free all memory allocated and release all cl objects. Signed-off-by: Pan Xiuli <xiuli.pan@intel.com> Reviewed-by: Yang Rong <rong.r.yang@intel.com>
* utests: reduce work group size to 256 to satisfy BYT platform.Zhigang Gong2014-11-271-1/+1
| | | | | | The maximum work group size on BYT is 256. Signed-off-by: Zhigang Gong <zhigang.gong@intel.com>
* Fix the compare_image_2d_and_1d_array test case bugJunyan He2014-10-281-5/+16
| | | | | | | | | | | | | The test case use OCL_MAP_BUFFER_GTT to map the image buffers and then do the result comparison, which may cause problems. On IVB and HSW, the slice pitch is equal but on BDW, because we change the slice pitch of image array, it cause this bug. Modify it by using the standard clEnqueueReadImage API. Signed-off-by: Junyan He <junyan.he@linux.intel.com> Reviewed-by: Zhigang Gong <zhigang.gong@linux.intel.com>
* Add the test cases for 1D Image ArrayJunyan He2014-06-231-0/+79
Signed-off-by: Junyan He <junyan.he@linux.intel.com> Reviewed-by: Zhigang Gong <zhigang.gong@linux.intel.com>