File: subsat.cl

package info (click to toggle)
libclc 0~git20140101-5
  • links: PTS
  • area: main
  • in suites: jessie, jessie-kfreebsd
  • size: 1,040 kB
  • ctags: 532
  • sloc: lisp: 863; ansic: 665; python: 578; cpp: 74; makefile: 22; pascal: 5; sh: 1
file content (19 lines) | stat: -rw-r--r-- 378 bytes parent folder | download | duplicates (28)
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;
}