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