--mersenne=bydivisor testers and sessions integrated and converted to structs.

This commit is contained in:
mlemanczyk committed 2025-12-18 05:07:31 +01:00
1 parent 3c80221105
commit 2abc6aae49
32 files changed
+3814 -1505

No files matched your search

@@ -12,14 +12,14 @@ public static class PerfectNumberConstants
public const int DefaultThreadPoolCapacity = 30_000;
public const int DefaultSpecialMaxFactorCapacity = 1024;
public const ulong ExtraDivisorCycleSearchLimit = 64UL;
public static int GpuRatio = 16384 - 1;
public const int GpuRatio = 16384 - 1;
public const int MaxQForDivisorCycles = 4_000_000;
public static readonly uint PrimesLimit = 1_000_000; //(ulong)Array.MaxLength;// 1_000_000;
public static readonly uint PrimesLimit = 1_000_000;
public const int DefaultStringBuilderCapacity = 10_240;
public const int MaxOddPowersCount = 128;
public const int PooledArrayThreshold = 64;
public const int Pow2WindowSize = 8;
public static int RollingAccelerators = 298; //SharedGpuContext.Device.MaxNumThreadsPerGroup;
public const int RollingAccelerators = 298;
public const int ThreadsByAccelerator = 1;
public const int ByDivisorStateSaveInterval = 200_000;
public const string ByDivisorStateDirectory = "Checks";