summaryrefslogtreecommitdiff
path: root/kernels/runtime_compile_link_b.cl
blob: 89b5a2d4ebf4df291499f465e9bd7b117f169e1b (plain)
1
2
3
4
5
6
7
8
9
#include "runtime_compile_link.h"
#include "include/runtime_compile_link_inc.h"

kernel void runtime_compile_link_b(global long *src1, global long *src2, global long *dst) {
  int i = get_global_id(0);
  int j = comp_long(src1[i], src2[i]);
  dst[i] = j ? 3 : 4;
  int k = greater(src1[i], src2[i]);
}