CPU vs GPU work delegation adjusted to better utilize CPU.

This commit is contained in:
mlemanczyk committed 2025-11-29 12:09:33 +01:00
1 parent c311b27dcc
commit 6a1198c417
12 files changed
+576 -344

No files matched your search

+1 -1
View File
@@ -631,7 +631,7 @@ internal static class Program
if (!_cliArguments.UseByDivisor)
{
if (!(_runPrimesOnCpu
? PrimeTester.IsPrime(p)
? PrimeTester.IsPrimeCpu(p)
: HeuristicCombinedPrimeTester.IsPrimeGpu(gpu, p)))
{
_lastCompositeP = true;