Split CPU and GPU exponent steppers
This commit is contained in:
1 parent
035956cdb6
commit
1e5a9128cb
9 files changed
+366
-128
No files matched your search
@@ -42,7 +42,7 @@ internal sealed class MersenneCpuDivisorScanSession : IMersenneNumberDivisorByDi
|
||||
|
||||
// Keep these remainder steppers in place so future updates continue reusing the previously computed residues.
|
||||
// They are critical for avoiding repeated full Montgomery exponentiation work when scanning divisors.
|
||||
var exponentStepper = new ExponentRemainderStepper(cachedData);
|
||||
var exponentStepper = new ExponentRemainderStepperCpu(cachedData);
|
||||
|
||||
var cycleStepper = new CycleRemainderStepper(divisorCycle);
|
||||
|
||||
|
||||
Reference in new issue
Block a user