llvm-capstone/libclc/test/cross.cl
Peter Collingbourne d5395fbf03 Initial commit.
llvm-svn: 147756
2012-01-08 22:09:58 +00:00

4 lines
59 B
Common Lisp

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