llvm-project/libclc/test/add_sat.cl

4 lines
100 B
Common Lisp

__kernel void foo(__global char *a, __global char *b, __global char *c) {
*a = add_sat(*b, *c);
}