summaryrefslogtreecommitdiff
path: root/test/subsat.cl
blob: a83414b4dc850c16128517289e6f217047d310be (plain)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
__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;
}