summaryrefslogtreecommitdiff
path: root/utests/builtin_kernel_block_motion_estimate_intel.cpp
Commit message (Collapse)AuthorAgeFilesLines
* Utests: Allow testing cl_intel_accelerator via ICDRebecca N. Palmer2016-10-201-1/+5
| | | | | | | | | v3: Use extension check, not beignet check. Treat claiming to have the extension but not having the kernel as a failure. v4: Make extension check a function, use stderr. Signed-off-by: Rebecca N. Palmer <rebecca_palmer@zoho.com> Reviewed-by: Chuanbo Weng <chuanbo.weng@intel.com>
* Utests: Don't end an all-tests run when one test failsRebecca N. Palmer2016-10-101-2/+2
| | | | | Signed-off-by: Rebecca N. Palmer <rebecca_palmer@zoho.com> Reviewed-by: Yang Rong <rong.r.yang@intel.com>
* standalone utest for unified OpenCL implementation.Luo Xionghu2016-04-221-3/+25
| | | | | | | | | | | | | | | | | | | | | | | | 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>
* utest: do not check MV near image borderGuo Yejun2016-04-081-7/+11
| | | | | | | | | if the image width and height is not aligned, the VME hardware block could use the data out of the image, there is no clear rule defines the behavior of this case, so do not check the MVs near the border. Signed-off-by: Guo Yejun <yejun.guo@intel.com> Reviewed-by: Yan Wang <yan.wang@linux.intel.com>
* Add basic utest for block_motion_estimate_intel.Chuanbo Weng2015-11-101-0/+109
If the CL device does not support this builtin kernel, the test returns PASS. Signed-off-by: Guo Yejun <yejun.guo@intel.com> Reviewed-by: Ruiling Song <ruiling.song@intel.com>