Restore per-lease kernel containers
This commit is contained in:
1 parent
dbde6337ea
commit
5a17fa64d5
3 files changed
+12
-18
No files matched your search
@@ -299,11 +299,10 @@ public class GpuKernelPool
|
||||
|
||||
public static GpuKernelLease GetKernel(bool useGpuOrder)
|
||||
{
|
||||
_ = useGpuOrder;
|
||||
|
||||
GpuPrimeWorkLimiter.Acquire();
|
||||
var gpu = Rent();
|
||||
return GpuKernelLease.Rent(gpu);
|
||||
var kernels = GetKernels();
|
||||
return GpuKernelLease.Rent(gpu, kernels);
|
||||
}
|
||||
|
||||
/// <summary>
|
||||
|
||||
Reference in new issue
Block a user