summaryrefslogtreecommitdiff
path: root/mod_nine.cl
diff options
context:
space:
mode:
Diffstat (limited to 'mod_nine.cl')
-rw-r--r--mod_nine.cl5
1 files changed, 5 insertions, 0 deletions
diff --git a/mod_nine.cl b/mod_nine.cl
new file mode 100644
index 0000000..46672a1
--- /dev/null
+++ b/mod_nine.cl
@@ -0,0 +1,5 @@
+
+__kernel void mod_nine(__global int * out, int arg0, int arg1)
+{
+ out[0] = arg0 % 9;
+}