summaryrefslogtreecommitdiff
path: root/utests/compiler_copy_image_3d.cpp
Commit message (Collapse)AuthorAgeFilesLines
* Add checks for clCreateImage and add 1d image creating logicJunyan He2014-06-131-3/+20
| | | | | | | | | Add more check for Image creating according to the spec. Update the according image utest cases to pass it. The 1d image creating is also be added. Signed-off-by: Junyan He <junyan.he@linux.intel.com> Reviewed-by: Zhigang Gong <zhigang.gong@linux.intel.com>
* Fix the bug of forgetting release sampler in utest.Junyan He2014-05-221-0/+2
| | | | | | | | utest helper will not help us to free the sampler resource as buffer and kernel. So we need to release it by ourself. Signed-off-by: Junyan He <junyan.he@linux.intel.com> Reviewed-by: Zhigang Gong <zhigang.gong@linux.intel.com>
* Utests: refine the previous fake 3D test cases.Zhigang Gong2013-09-181-13/+23
| | | | | | | | All the previous 3D test cases are only using depth 1, and not really touch the 3D read/write code path. Now fix them. Signed-off-by: Zhigang Gong <zhigang.gong@linux.intel.com> Reviewed-by: He Junyan <junyan.he@inbox.com>
* update to OpenCL 1.1 headerHomer Hsing2013-06-191-9/+2
| | | | | | | | | | | | | | | | | | | | | Based on our current progress, we plan to implement OpenCL 1.1 rather than OpenCL 1.2 for the next release. Thus we downgrade the header file to 1.1 in this commit. put OpenCL 1.1 header in include/CL/ add OpenCL 1.2 defs, used by some code, by "#ifndef CL_VERSION_1.2" " some OpenCL 1.2 defs" "#endif" add OCL_CREATE_IMAGE2D, OCL_CREATE_IMAGE3D, OCL_CREATE_GL_IMAGE2D, OCL_CREATE_GL_IMAGE3D update test cases Signed-off-by: Homer Hsing <homer.xing@intel.com> Reviewed-by: Zhigang Gong <zhigang.gong@linux.intel.com>
* test cases for image3d_tHomer Hsing2013-05-081-0/+55
test cases for image3d_t Signed-off-by: Homer Hsing <homer.xing@intel.com> Reviewed-by: Zhigang Gong <zhigang.gong@linux.intel.com>