summaryrefslogtreecommitdiff
path: root/test/as_type.cl
blob: e8fb1228d28d111f098ee3afa918504dcccb504b (plain)
1
2
3
__kernel void foo(int4 *x, float4 *y) {
  *x = as_int4(*y);
}