1__kernel void foo(float4 *f) {
2  *f = cos(*f);
3}
4