view libclc/test/subsat.cl @ 266:00f31e85ec16 default tip

Added tag current for changeset 31d058e83c98
author Shinji KONO <kono@ie.u-ryukyu.ac.jp>
date Sat, 14 Oct 2023 10:13:55 +0900
parents 1d019706d866
children
line wrap: on
line source

__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;
}