Skip to content

Commit

Permalink
Some cleanup
Browse files Browse the repository at this point in the history
  • Loading branch information
nelisky committed Apr 17, 2012
1 parent 7fe7d18 commit f9d4d92
Show file tree
Hide file tree
Showing 3 changed files with 0 additions and 10 deletions.
3 changes: 0 additions & 3 deletions libztex.c
Original file line number Diff line number Diff line change
Expand Up @@ -469,7 +469,4 @@ void libztex_freeDevList (struct libztex_dev_list **devs) {
free(devs);
}

int libztex_configreFpga (struct libztex_dev_list* dev) {
return 0;
}

2 changes: 0 additions & 2 deletions todo_ztex.txt
Original file line number Diff line number Diff line change
@@ -1,6 +1,4 @@
- verify setting cgpu.status=DEAD does in fact stop the thread
- make it compile on osx / windows
- read actual bitstream
- allow configuring bitstream directory
- HS fpga config
- allow configuring LIBZTEX_OVERHEATTHRESHOLD
Expand Down
5 changes: 0 additions & 5 deletions ztex.c
Original file line number Diff line number Diff line change
Expand Up @@ -249,11 +249,6 @@ static uint64_t ztex_scanhash(struct thr_info *thr, struct work *work,

}

//if (thr->id == 1 && !work_restart[thr->id]) {
// ztex_disable(thr);
// return 0;
// }

ztex->errorRate[ztex->freqM] = ztex->errorCount[ztex->freqM] / ztex->errorWeight[ztex->freqM] * (ztex->errorWeight[ztex->freqM]<100 ? ztex->errorWeight[ztex->freqM]*0.01 : 1.0);
if (ztex->errorRate[ztex->freqM] > ztex->maxErrorRate[ztex->freqM]) {
ztex->maxErrorRate[ztex->freqM] = ztex->errorRate[ztex->freqM];
Expand Down

0 comments on commit f9d4d92

Please sign in to comment.