summaryrefslogtreecommitdiff
path: root/backend/kernels/loop.cl
diff options
context:
space:
mode:
authorBenjamin Segovia <segovia.benjamin@gmail.com>2012-03-12 19:26:24 -0700
committerKeith Packard <keithp@keithp.com>2012-08-10 16:15:37 -0700
commite1197ba018595e5114f9174ce8b7babd9d44b580 (patch)
treed45f1c6b112d7fffbf6e4c318edbb1762224e84e /backend/kernels/loop.cl
parent752e4940f0f8529351649917f6c0e2503b2f4b0a (diff)
Removed unused returnStruct field from function Included stdlib.h for all files
Diffstat (limited to 'backend/kernels/loop.cl')
-rw-r--r--backend/kernels/loop.cl1
1 files changed, 1 insertions, 0 deletions
diff --git a/backend/kernels/loop.cl b/backend/kernels/loop.cl
index e8ab6305..af64abdf 100644
--- a/backend/kernels/loop.cl
+++ b/backend/kernels/loop.cl
@@ -1,3 +1,4 @@
+#include <stdlib.h>
__kernel void add(__global int *dst, unsigned int x)
{
for (int i = 0; i < x; ++i) dst[i]++;