aboutsummaryrefslogtreecommitdiff
path: root/libclc/test/cross.cl
blob: 08955cbd9af5689a1e81874f66d3e070208e709d (plain)
1
2
3
__kernel void foo(float4 *f) {
  *f = cross(f[0], f[1]);
}