diff options
author | Tom Stellard <thomas.stellard@amd.com> | 2012-07-11 19:56:01 +0000 |
---|---|---|
committer | Tom Stellard <thomas.stellard@amd.com> | 2012-07-11 19:56:01 +0000 |
commit | 38995d80b4a57e3ee8aaed6c133d149d3028b863 (patch) | |
tree | 6010e60a36c227b8384f7d61fe2723ceee74fac6 | |
parent | 77173041785940c41022ec4d8f0994ebefed0ecc (diff) |
Fix bux in loop cl code
-rw-r--r-- | loop_ge.cl | 2 | ||||
-rw-r--r-- | loop_gt.cl | 2 | ||||
-rw-r--r-- | loop_le.cl | 2 | ||||
-rw-r--r-- | loop_lt.cl | 2 |
4 files changed, 4 insertions, 4 deletions
@@ -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; @@ -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; @@ -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; @@ -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; |