llvm-project/libclc/test/cross.cl

4 lines
59 B
Common Lisp

__kernel void foo(float4 *f) {
*f = cross(f[0], f[1]);
}