Browse Source

Bugfix: First core in each die got too big nonce area to work on

Pelle Nilsson 11 years ago
parent
commit
772a6c1197
1 changed files with 1 additions and 0 deletions
  1. 1 0
      driver-titan.c

+ 1 - 0
driver-titan.c

@@ -245,6 +245,7 @@ static void get_nonce_range(int dieno, int coreno, uint32_t *nonce_bottom, uint3
 	}
 	if (dieno > 0) {
 		*nonce_bottom = nonce_tops[dieno - 1][KNC_TITAN_CORES_PER_DIE - 1] + 1;
+		return;
 	}
 	*nonce_bottom = 0;
 }