Ignore zero factors in TrySpecialMaxCpu

This commit is contained in:
Marek Lemańczyk committed 2025-10-17 08:54:55 +02:00
1 parent fddec17b3f
commit fada9ff098
3 files changed
+70 -43

No files matched your search

+1 -1
View File
@@ -283,7 +283,7 @@ public class GpuKernelPool
var gpu = RentPreferred(preferCpu: !useGpuOrder);
var accelerator = gpu.Accelerator;
var kernels = GetKernels(accelerator);
return new(limiter, gpu, kernels);
return GpuKernelLease.Rent(limiter, gpu, kernels);
}
/// <summary>