summaryrefslogtreecommitdiff
path: root/utests/buildin_work_dim.cpp
AgeCommit message (Collapse)AuthorFilesLines
2016-04-22fix failed cases for stand alone utest;Luo Xionghu1-10/+3
1. use clEnqueueMapBuffer/Image instead of clEnqueueReadBuffer/Image; 2. add sanity check for clEnqueueMapImage; v2: disable OpenCL 2.0 specific builtin cases for stand alone utest. v3: don't hide failed cases. fix utest build warnings. Signed-off-by: Luo Xionghu <xionghu.luo@intel.com> Reviewed-by: Yang Rong <rong.r.yang@intel.com>
2013-06-05utest: Add test case for build-in function get_work_dimYi Sun1-0/+37
v2: Refine the case, verifying the result of function get_work_dim. v3: Since the 16 work group size limitation is fixed, re-side the global size and local size with 1. Signed-off-by: Yi Sun <yi.sun@intel.com> Reviewed-by: Zhigang Gong <zhigang.gong@linux.intel.com>