llvm-project/libclc/test/cos.cl

4 lines
49 B
Common Lisp

__kernel void foo(float4 *f) {
*f = cos(*f);
}