summaryrefslogtreecommitdiff
path: root/kernels/compiler_workitem_builtin.cl
blob: b01dd7d83a676c0135154fc89dc6052e36f93af7 (plain)
1
2
3
4
5
6
7
8
9
10
11
12
/* test case for OpenCL 1.1 work-item built-in functions */
__kernel void compiler_workitem_builtin()
{
  uint x = get_work_dim();
  size_t y = get_global_size(0);
  y = get_global_id(0);
  y = get_local_size(0);
  y = get_local_id(0);
  y = get_num_groups(0);
  y = get_group_id(0);
  y = get_global_offset(0);
}