From 38995d80b4a57e3ee8aaed6c133d149d3028b863 Mon Sep 17 00:00:00 2001 From: Tom Stellard Date: Wed, 11 Jul 2012 19:56:01 +0000 Subject: Fix bux in loop cl code --- loop_ge.cl | 2 +- loop_gt.cl | 2 +- loop_le.cl | 2 +- loop_lt.cl | 2 +- 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; -- cgit v1.2.3