summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
-rw-r--r--loop_ge.cl2
-rw-r--r--loop_gt.cl2
-rw-r--r--loop_le.cl2
-rw-r--r--loop_lt.cl2
4 files changed, 4 insertions, 4 deletions
diff --git a/loop_ge.cl b/loop_ge.cl
index 8ef8c7c..119d7be 100644
--- a/loop_ge.cl
+++ b/loop_ge.cl
@@ -1,4 +1,4 @@
-__kernel void loop_ge(__global int * out, int iterations)
+__kernel void loop_ge(__global int * out, unsigned iterations)
{
unsigned i;
unsigned base = get_global_id(0) * iterations;
diff --git a/loop_gt.cl b/loop_gt.cl
index 6e95fcc..df43ac4 100644
--- a/loop_gt.cl
+++ b/loop_gt.cl
@@ -1,4 +1,4 @@
-__kernel void loop_gt(__global int * out, int iterations)
+__kernel void loop_gt(__global int * out, unsigned iterations)
{
unsigned i;
unsigned base = get_global_id(0) * iterations;
diff --git a/loop_le.cl b/loop_le.cl
index a798fd4..034f97e 100644
--- a/loop_le.cl
+++ b/loop_le.cl
@@ -1,4 +1,4 @@
-__kernel void loop_le(__global int * out, int iterations)
+__kernel void loop_le(__global int * out, unsigned iterations)
{
unsigned i;
unsigned base = get_global_id(0) * iterations;
diff --git a/loop_lt.cl b/loop_lt.cl
index d52c5a8..d9b7aec 100644
--- a/loop_lt.cl
+++ b/loop_lt.cl
@@ -1,4 +1,4 @@
-__kernel void loop_lt(__global int * out, int iterations)
+__kernel void loop_lt(__global int * out, unsigned iterations)
{
unsigned i;
unsigned base = get_global_id(0) * iterations;