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