summaryrefslogtreecommitdiff
path: root/kernels/builtin_sign.cl
blob: ff9a66ba249467b3da50e2e559b8a1948c22c28a (plain)
1
2
3
4
kernel void builtin_sign(global float *src, global float *dst) {
  int i = get_global_id(0);
  dst[i] = sign(src[i]);
}