utest: Add test case for build-in function get_work_dim
authorYi Sun <yi.sun@intel.com>
Tue, 4 Jun 2013 09:34:30 +0000 (17:34 +0800)
committerZhigang Gong <zhigang.gong@linux.intel.com>
Wed, 5 Jun 2013 02:56:37 +0000 (10:56 +0800)
commitcbb363aadb543a5c6dd41519787ec6dcd1bfeab9
tree9df1262059c0e871d81c5212c9fa8f3e7dcdcd83
parentb9686a0dd699fb4f33f4ed31c2d59a4c1b9560fe
utest: Add test case for build-in function get_work_dim

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>
kernels/buildin_work_dim.cl [new file with mode: 0644]
utests/CMakeLists.txt
utests/buildin_work_dim.cpp [new file with mode: 0644]