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