summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorTom Stellard <thomas.stellard@amd.com>2012-07-11 19:56:01 +0000
committerTom Stellard <thomas.stellard@amd.com>2012-07-11 19:56:01 +0000
commit38995d80b4a57e3ee8aaed6c133d149d3028b863 (patch)
tree6010e60a36c227b8384f7d61fe2723ceee74fac6
parent77173041785940c41022ec4d8f0994ebefed0ecc (diff)
Fix bux in loop cl code
-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;