1
0
mirror of https://github.com/GOSTSec/sgminer synced 2025-03-10 20:51:03 +00:00

Make opt_queue a function of mining threads in clone_work as well.

This commit is contained in:
Con Kolivas 2012-08-21 21:10:23 +10:00
parent 652efc6939
commit caa266ca3b

View File

@ -3972,7 +3972,7 @@ static bool reuse_work(struct work *work)
* the future */
static struct work *clone_work(struct work *work)
{
int mrs = mining_threads + opt_queue - total_staged();
int oq = opt_queue * mining_threads, mrs = mining_threads + oq - total_staged();
struct work *work_clone;
bool cloned;