llvm-project/libclc/test/cross.cl

Ignoring revisions in .git-blame-ignore-revs. Click here to bypass and see the normal blame view.

4 lines
59 B
Common Lisp
Raw Normal View History

2012-01-09 06:09:58 +08:00
__kernel void foo(float4 *f) {
*f = cross(f[0], f[1]);
}