summaryrefslogtreecommitdiff
path: root/kernels/builtin_frexp.cl
blob: 766695af4678e4c91fde14e9a8a92cd559d80a90 (plain)
1
2
3
4
kernel void builtin_frexp(global float *src, global float *dst, global int *e) {
  int i = get_global_id(0);
  dst[i] = frexp(src[i], &e[i]);
}