Console logging extended with kernel warmup progress

This commit is contained in:
mlemanczyk committed 2025-11-10 18:18:12 +01:00
1 parent fa89958736
commit 45dfa3b724
1 file changed
+2
+2
View File
@@ -63,8 +63,10 @@ internal static class Program
UnboundedTaskScheduler.ConfigureThreadCount(threadCount);
PrimeTester.GpuBatchSize = gpuPrimeBatch;
GpuPrimeWorkLimiter.SetLimit(gpuPrimeThreads);
Console.WriteLine("Warming up GPU kernels");
PrimeTester.WarmUpGpuKernels(1024);
// PrimeTester.WarmUpGpuKernels(gpuPrimeThreads >> 4);
Console.WriteLine("Warming up scratch buffers");
GpuScratchBufferPool.WarmUp(gpuPrimeThreads >> 4, 64, 128);
Console.WriteLine("Starting up threads...");
_ = UnboundedTaskScheduler.Instance;