summaryrefslogtreecommitdiff
path: root/kernels/compiler_integer_remainder.cl
blob: 73558cb68dfe18337e298ff1c0e4edb1d518c4dd (plain)
1
2
3
4
5
6
__kernel void
compiler_integer_remainder(__global int *src, __global int *dst, int x)
{
  dst[get_global_id(0)] = src[get_global_id(0)] % x;
}