summaryrefslogtreecommitdiff
path: root/kernels/builtin_atan2.cl
blob: aba73be807da30e3ac09ac38d26d4d8b1e616f8c (plain)
1
2
3
4
kernel void builtin_atan2(global float *y, global float *x, global float *dst) {
  int i = get_global_id(0);
  dst[i] = atan2(y[i], x[i]);
};