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