Browse Source

Titan flush optimization fix: Don't send get_info commands when FPGA is speaking to ASIC

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

+ 1 - 1
driver-titan.c

@@ -668,7 +668,7 @@ static void knc_titan_poll(struct thr_info * const thr)
 				continue;
 				continue;
 			die_info.cores = die_p->cores; /* core hint */
 			die_info.cores = die_p->cores; /* core hint */
 			die_info.version = KNC_VERSION_TITAN;
 			die_info.version = KNC_VERSION_TITAN;
-			if (!knc_titan_get_info(cgpu->dev_repr, knc->ctx, asic, die, &die_info))
+			if (knc->asic_served_by_fpga[asic] || !knc_titan_get_info(cgpu->dev_repr, knc->ctx, asic, die, &die_info))
 				continue;
 				continue;
 			for (proc = die_p->first_proc; proc; proc = proc->next_proc) {
 			for (proc = die_p->first_proc; proc; proc = proc->next_proc) {
 				mythr = proc->thr[0];
 				mythr = proc->thr[0];