summaryrefslogtreecommitdiff
path: root/utests/buildin_work_dim.cpp
Commit message (Collapse)AuthorAgeFilesLines
* fix failed cases for stand alone utest;Luo Xionghu2016-04-221-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>
* utest: Add test case for build-in function get_work_dimYi Sun2013-06-051-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>