Fix for 100% CPU burning loop workaround for slow hashes

This commit is contained in:
jsteube
2016-06-14 09:17:03 +02:00
parent 8abc42e346
commit d275772b9f
2 changed files with 35 additions and 13 deletions

View File

@@ -988,7 +988,12 @@ struct __hc_device_param
uint exec_pos;
double exec_ms[EXEC_CACHE];
double exec_prev;
// workaround cpu spinning
double exec_us_prev1;
double exec_us_prev2;
double exec_us_prev3;
// this is "current" speed