Benchmark selection restored

This commit is contained in:
mlemanczyk committed 2025-10-12 20:15:38 +02:00
1 parent 9e5ee36e6e
commit 6c4fa7fcf6
1 file changed
+8 -6
+8 -6
View File
@@ -15,13 +15,15 @@ public static class Program
return; return;
} }
Pow2MontgomeryModCycleComputationBenchmarks benchmarks = new() BenchmarkSwitcher.FromAssembly(typeof(Program).Assembly).Run();
{
Scale = Pow2MontgomeryModCycleComputationBenchmarks.InputScale.Large
};
GpuPrimeWorkLimiter.SetLimit(1); // Pow2MontgomeryModCycleComputationBenchmarks benchmarks = new()
benchmarks.Setup(); // {
// Scale = Pow2MontgomeryModCycleComputationBenchmarks.InputScale.Large
// };
// GpuPrimeWorkLimiter.SetLimit(1);
// benchmarks.Setup();
// Console.WriteLine("Press ENTER to run"); // Console.WriteLine("Press ENTER to run");
// Console.ReadLine(); // Console.ReadLine();