summaryrefslogtreecommitdiff
path: root/kernels/compiler_hadd.cl
blob: fe50195bf2859dfe675f2ed33a47c3b53a13a1aa (plain)
1
2
3
4
kernel void compiler_hadd(global int *src1, global int *src2, global int *dst) {
  int i = get_global_id(0);
  dst[i] = hadd(src1[i], src2[i]);
}