summaryrefslogtreecommitdiff
path: root/kernels/compiler_event.cl
blob: a901b0536dd9d840c3b2053977845e902972f217 (plain)
1
2
3
4
5
6
__kernel void
compiler_event(__global int *dst, int value)
{
  int id = (int)get_global_id(0);
  dst[id] += value;
}