diff options
Diffstat (limited to 'kernels/compiler_long_not.cl')
-rw-r--r-- | kernels/compiler_long_not.cl | 6 |
1 files changed, 6 insertions, 0 deletions
diff --git a/kernels/compiler_long_not.cl b/kernels/compiler_long_not.cl new file mode 100644 index 00000000..39ce77b8 --- /dev/null +++ b/kernels/compiler_long_not.cl @@ -0,0 +1,6 @@ +__kernel void compiler_long_not_vec8(__global ulong8 *src, __global long8 *dst) +{ + int tid = get_global_id(0); + dst[tid] = !src[tid]; +} + |