summaryrefslogtreecommitdiff
path: root/kernels/builtin_global_linear_id.cl
blob: 6810ffd6c89fd232cffb2295575812621050d35b (plain)
1
2
3
4
kernel void builtin_global_linear_id( __global int *ret) {
  int id = get_global_linear_id();
  ret[id] = id;
}