Clean up resolved windowed pow2 TODOs on CPU paths

This commit is contained in:
Marek Lemańczyk committed 2025-10-20 18:36:51 +02:00
1 parent 798ae455b1
commit 4831fc84d1
5 files changed
-38

No files matched your search

@@ -94,8 +94,6 @@ public sealed class MersenneNumberTester(
continue;
}
// TODO: Swap this fallback to the shared windowed order helper once CalculateOrder migrates
// to the ProcessEightBitWindows pipeline so warm-ups stop invoking the slower legacy powmod.
ulong ord = q.CalculateOrder();
OrderCache[q] = ord;
}
@@ -184,8 +182,6 @@ public sealed class MersenneNumberTester(
ulong order = orders[i];
if (order == 0UL)
{
// TODO: Replace this CalculateOrder call with the upcoming windowed helper so
// GPU warm-ups reuse the faster pow2 ladder measured in the CPU order benchmarks.
order = qs[offset + i].CalculateOrder();
}