Browse Source

Initialise it to localid.

Con Kolivas 14 years ago
parent
commit
da2bba3e9c
1 changed files with 1 additions and 1 deletions
  1. 1 1
      phatk110711.cl

+ 1 - 1
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;