MontgomeryDivisorData converted to a pooled class to limit GC pressure. MontgomeryDivisorDataGpu added for GPU operations. PrimeOrderCalculator kernels precompiled during warmup.
This commit is contained in:
1 parent
07efd5d2a1
commit
070e2a14fd
32 files changed
+310
-192
No files matched your search
@@ -1389,7 +1389,7 @@ internal static partial class PrimeOrderCalculator
|
||||
private static bool RunOnGpu()
|
||||
{
|
||||
// return false;
|
||||
// return true;
|
||||
return true;
|
||||
// int cpuCount;
|
||||
|
||||
// lock(_sync)
|
||||
|
||||
Reference in new issue
Block a user