summaryrefslogtreecommitdiff
path: root/utests/image_1D_buffer.cpp
Commit message (Collapse)AuthorAgeFilesLines
* fix w of image when simulate image1dbuffer with image2dGuo Yejun2016-09-051-3/+3
| | | | | | | and also change the utest to hit the potential case Signed-off-by: Guo Yejun <yejun.guo@intel.com> Reviewed-by: Yang Rong <rong.r.yang@intel.com>
* remove "\n" in output message when test is failedGuo Yejun2016-08-031-1/+1
| | | | | | | otherwise, "[FAILED]" and the test name is not in the same line. Signed-off-by: Guo Yejun <yejun.guo@intel.com> Reviewed-by: Yang Rong <rong.r.yang@intel.com>
* Utest: Fix utest memleaksPan Xiuli2016-05-181-0/+1
| | | | | | | 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: refine image 1d buffer test case.Zhigang Gong2015-08-271-44/+29
| | | | | | | We need to test large image 1d buffer read and write testing. Signed-off-by: Zhigang Gong <zhigang.gong@intel.com> Reviewed-by: "Yang, Rong R" <rong.r.yang@intel.com>
* utests: Fix a bug in image_1D_buffer.Ruiling Song2014-07-281-1/+1
| | | | | | | Should use buffer_sz to clCreateBuffer(). Signed-off-by: Ruiling Song <ruiling.song@intel.com> Reviewed-by: Zhigang Gong <zhigang.gong@linux.intel.com>
* Add the test case for 1D image from bufferJunyan He2014-06-131-0/+80
v2: should not released the buffer which is handled by the utest helper. Signed-off-by: Junyan He <junyan.he@linux.intel.com> Signed-off-by: Zhigang Gong <zhigang.gong@intel.com>