CPU vs GPU work delegation adjusted to better utilize CPU.
This commit is contained in:
1 parent
c311b27dcc
commit
6a1198c417
12 files changed
+576
-344
No files matched your search
@@ -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;
|
||||
|
||||
Reference in new issue
Block a user