summaryrefslogtreecommitdiff
path: root/kernels/compiler_function_argument0.cl
diff options
context:
space:
mode:
Diffstat (limited to 'kernels/compiler_function_argument0.cl')
-rw-r--r--kernels/compiler_function_argument0.cl7
1 files changed, 7 insertions, 0 deletions
diff --git a/kernels/compiler_function_argument0.cl b/kernels/compiler_function_argument0.cl
new file mode 100644
index 00000000..6bc2e921
--- /dev/null
+++ b/kernels/compiler_function_argument0.cl
@@ -0,0 +1,7 @@
+__kernel void
+compiler_function_argument0(__global int *dst, short value)
+{
+ int id = (int)get_global_id(0);
+ dst[id] = value;
+}
+