From da2bba3e9ca032d4c1cbcbc46443e5389b1713c3 Mon Sep 17 00:00:00 2001 From: Con Kolivas Date: Tue, 12 Jul 2011 23:08:02 +1000 Subject: [PATCH] Initialise it to localid. --- phatk110711.cl | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/phatk110711.cl b/phatk110711.cl index 5f1aa6c8..14069c93 100644 --- a/phatk110711.cl +++ b/phatk110711.cl @@ -84,7 +84,7 @@ __kernel void search( const uint state0, const uint state1, const uint state2, c { u W[124]; u Vals[8]; - uint it; + uint it = get_local_id(0); Vals[1] = B1; Vals[2] = C1;