aboutsummaryrefslogtreecommitdiff
path: root/libclc/test/cross.cl
diff options
context:
space:
mode:
Diffstat (limited to 'libclc/test/cross.cl')
-rw-r--r--libclc/test/cross.cl3
1 files changed, 3 insertions, 0 deletions
diff --git a/libclc/test/cross.cl b/libclc/test/cross.cl
new file mode 100644
index 0000000..08955cb
--- /dev/null
+++ b/libclc/test/cross.cl
@@ -0,0 +1,3 @@
+__kernel void foo(float4 *f) {
+ *f = cross(f[0], f[1]);
+}