hanchenye-llvm-project/libclc/test/cross.cl

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]);
}