diff options
Diffstat (limited to 'if_le.cl')
-rw-r--r-- | if_le.cl | 7 |
1 files changed, 7 insertions, 0 deletions
diff --git a/if_le.cl b/if_le.cl new file mode 100644 index 0000000..eb672ea --- /dev/null +++ b/if_le.cl @@ -0,0 +1,7 @@ +__kernel void if_le(__global int * out, int arg0, int arg1) +{ + out[0] = 0; + if (arg0 <= arg1) { + out[0] = 1; + } +} |