summaryrefslogtreecommitdiff
path: root/kernels/builtin_remquo.cl
blob: d66c1646c9dd2ee59f61351da3d1eae80d5456c5 (plain)
1
2
3
4
5
6
kernel void builtin_remquo(global float *x, global float *y, global float *dst, global int *quo) {
  int i = get_global_id(0);
  int q;
  dst[i] = remquo(x[i], y[i], & q);
  quo[i] = q;
}