cbuchner1 / ccminer

Christian Buchner's & Christian H.'s CUDA miner project
Other
273 stars 1.7k forks source link

Phi2 use_roots flag per job. not fixed #105

Open laakie opened 4 years ago

laakie commented 4 years ago

the use_roots flag is now being triggered and activated whenever a job contains a root. However the flag will never gets false after this.

When using profit switching this causes a serious problem.

Please move the initial ' int use_roots = 0; ' To inside the ' work_decode ' function, so it gets checked on new jobs.