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