Console logging extended with kernel warmup progress
This commit is contained in:
1 parent
fa89958736
commit
45dfa3b724
1 file changed
+2
@@ -63,8 +63,10 @@ internal static class Program
|
|||||||
UnboundedTaskScheduler.ConfigureThreadCount(threadCount);
|
UnboundedTaskScheduler.ConfigureThreadCount(threadCount);
|
||||||
PrimeTester.GpuBatchSize = gpuPrimeBatch;
|
PrimeTester.GpuBatchSize = gpuPrimeBatch;
|
||||||
GpuPrimeWorkLimiter.SetLimit(gpuPrimeThreads);
|
GpuPrimeWorkLimiter.SetLimit(gpuPrimeThreads);
|
||||||
|
Console.WriteLine("Warming up GPU kernels");
|
||||||
PrimeTester.WarmUpGpuKernels(1024);
|
PrimeTester.WarmUpGpuKernels(1024);
|
||||||
// PrimeTester.WarmUpGpuKernels(gpuPrimeThreads >> 4);
|
// PrimeTester.WarmUpGpuKernels(gpuPrimeThreads >> 4);
|
||||||
|
Console.WriteLine("Warming up scratch buffers");
|
||||||
GpuScratchBufferPool.WarmUp(gpuPrimeThreads >> 4, 64, 128);
|
GpuScratchBufferPool.WarmUp(gpuPrimeThreads >> 4, 64, 128);
|
||||||
Console.WriteLine("Starting up threads...");
|
Console.WriteLine("Starting up threads...");
|
||||||
_ = UnboundedTaskScheduler.Instance;
|
_ = UnboundedTaskScheduler.Instance;
|
||||||
|
|||||||
Reference in new issue
Block a user