MPSLab-ASU-CCF-20-04/llvm-project/libclc/test/cross.cl

4 lines
59 B
Common Lisp

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