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