summaryrefslogtreecommitdiff
path: root/kernels/null_kernel_arg.cl
blob: 68a42809ae1acd7543559ed70062a222ad52c53b (plain)
1
2
3
4
5
6
7
8
9
__kernel void
null_kernel_arg(__global unsigned int *dst, __global unsigned int * mask_global, __constant unsigned int* mask_const)
{
  if(dst && mask_global==0 && mask_const == NULL)
  {
    uint idx = (uint)get_global_id(0);
    dst[idx] = idx;
  }
}