summaryrefslogtreecommitdiff
path: root/if_eq.cl
blob: 3cdcfdafd10252aa5a3e4195508a8548484c8ac2 (plain)
1
2
3
4
5
6
7
__kernel void if_eq(__global int * out, int arg0, int arg1)
{
   out[0] = 0;
   if (arg0 == arg1) {
      out[0] = 1;
   }
}