opencl kernels update to use Vortex llvm compiler

This commit is contained in:
Blaise Tine
2021-10-11 17:11:07 -04:00
parent d94dc37cfe
commit e324c9a90a
32 changed files with 37209 additions and 34792 deletions

View File

@@ -24,6 +24,12 @@ __kernel void psortf (__global const float *in, __global float *out)
for (int i = 0; i < n; ++i) {
float cur = in[i];
pos += (cur < ref) || ((cur == ref) && (i < gid));
/*int cl = (cur < ref);
int ce = (cur == ref);
int ls = (i < gid);
int x = ce && ls;
int y = cl || x;
pos += y;*/
}
out[pos] = ref;
}