summaryrefslogtreecommitdiff
path: root/backend/kernels/cmp.cl
blob: fc5bd67b5896e43b07e2970e198a9f0b88315e95 (plain)
1
2
3
4
5
6
7
#include "stdlib.h"
__kernel void test_cmp(__global bool *dst, int x, int y, float z, float w)
{
  dst[0] = (x < y) + (z > w);
}