[TargetVersion] Only enable on RISC-V and AArch64 (#115991)
[llvm-project.git] / libclc / test / subsat.cl
bloba83414b4dc850c16128517289e6f217047d310be
1 __kernel void test_subsat_char(char *a, char x, char y) {
2 *a = sub_sat(x, y);
3 return;
6 __kernel void test_subsat_uchar(uchar *a, uchar x, uchar y) {
7 *a = sub_sat(x, y);
8 return;
11 __kernel void test_subsat_long(long *a, long x, long y) {
12 *a = sub_sat(x, y);
13 return;
16 __kernel void test_subsat_ulong(ulong *a, ulong x, ulong y) {
17 *a = sub_sat(x, y);
18 return;