summaryrefslogtreecommitdiff
path: root/kernels/builtin_mad_sat.cl
blob: 1739a4dd49c97c4ca07318e91afa2e28757832eb (plain)
1
2
3
4
kernel void builtin_mad_sat(global short *src1, global short *src2, global short *src3, global short *dst) {
  short i = get_global_id(0);
  dst[i] = mad_sat(src1[i], src2[i], src3[i]);
}