summaryrefslogtreecommitdiff
path: root/utests/compiler_fill_image_3d.cpp
Commit message (Collapse)AuthorAgeFilesLines
* standalone utest for unified OpenCL implementation.Luo Xionghu2016-04-221-2/+2
| | | | | | | | | | | | | | | | | | | | | | | | use the variable NOT_BUILD_STAND_ALONE_UTEST to control the build type: for beignet build, set it to 1; for stand alone build, do NOT need set it. remove all clXXXIntel extension call and such kind of tests since we intend to provide the unit test independently for viariant OpenCL implementation; replace the clMapBufferIntel/clMapBufferGTTIntel with clEnqueueMapBuffer/clEnqueueMapImage; link the utest binary to libOpenCL to follow the icd standard; remove the useless env in setenv.sh since we need make install the package after build. v2: fix the indent error; use function pointer for extesion case like vme and libva since we link to libOpenCL; v3: builtin_kernel_block_motion_estimate_intel released kernel twice; v4: find OpenCL library for standalone utest and link to libcl for not standalone utest; check default variables in setenv.sh whether empty before use. Signed-off-by: Luo Xionghu <xionghu.luo@intel.com> Reviewed-by: Yang Rong <rong.r.yang@intel.com>
* utests: use OpenCL 1.2 API for image related test cases.Zhigang Gong2014-06-131-1/+12
| | | | Signed-off-by: Zhigang Gong <zhigang.gong@intel.com>
* Utests: refine the previous fake 3D test cases.Zhigang Gong2013-09-181-2/+4
| | | | | | | | 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-8/+1
| | | | | | | | | | | | | | | | | | | | | 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/+44
test cases for image3d_t Signed-off-by: Homer Hsing <homer.xing@intel.com> Reviewed-by: Zhigang Gong <zhigang.gong@linux.intel.com>