Refine GPU prime tester leasing
This commit is contained in:
1 parent
6395b06b19
commit
08499fdda1
2 files changed
+20
-50
No files matched your search
@@ -48,7 +48,7 @@ internal static class PrimeTesterKernels
|
||||
break;
|
||||
}
|
||||
|
||||
int length = XMath.Min((int)primes.Length, (int)primeSquares.Length);
|
||||
int length = (int)primes.Length;
|
||||
for (int i = 0; i < length; i++)
|
||||
{
|
||||
ulong prime = primes[i];
|
||||
|
||||
Reference in new issue
Block a user