bolt/deps/llvm-18.1.8/libclc/test/subsat.cl
2025-02-14 19:21:04 +01:00

19 lines
No EOL
378 B
Common Lisp

__kernel void test_subsat_char(char *a, char x, char y) {
*a = sub_sat(x, y);
return;
}
__kernel void test_subsat_uchar(uchar *a, uchar x, uchar y) {
*a = sub_sat(x, y);
return;
}
__kernel void test_subsat_long(long *a, long x, long y) {
*a = sub_sat(x, y);
return;
}
__kernel void test_subsat_ulong(ulong *a, ulong x, ulong y) {
*a = sub_sat(x, y);
return;
}