PrimeOrderCalculator converted to a template.
This commit is contained in:
1 parent
48df3df290
commit
2bf9ff233c
19 files changed
+3407
-4332
No files matched your search
@@ -10,5 +10,9 @@ public static class PrimeOrderConstants
|
||||
public const int Pow2WindowOddPowerCount = 1 << (Pow2WindowSizeBits - 1);
|
||||
public const int Pow2WindowSizeBits = 8;
|
||||
public const int WideStackThreshold = 12;
|
||||
public const int MaxCompositeSlots = 256;
|
||||
public const int ExponentSlotLimit = 256;
|
||||
public const int PrimeSlotLimit = 256;
|
||||
public const int ScratchSlots = 64;
|
||||
|
||||
}
|
||||
@@ -253,7 +253,7 @@ internal static partial class PrimeOrderGpuHeuristics
|
||||
PrimeOrderCalculatorAccelerator gpu,
|
||||
ulong prime,
|
||||
ulong? previousOrder,
|
||||
PrimeOrderCalculator.PrimeOrderCalculatorConfig config,
|
||||
PrimeOrderCalculatorConfig config,
|
||||
in MontgomeryDivisorData divisorData,
|
||||
out ulong order)
|
||||
{
|
||||
|
||||
Reference in new issue
Block a user