Manage GPU lease buffers without kernel scratch pool
This commit is contained in:
1 parent
13b59abb1c
commit
aab785650d
3 files changed
+97
-119
No files matched your search
@@ -213,7 +213,7 @@ public sealed class HeuristicCombinedPrimeTester
|
||||
ulong[] divisorArray = divisorPool.Rent(batchCapacity);
|
||||
|
||||
var limiter = GpuPrimeWorkLimiter.Acquire();
|
||||
var gpu = PrimeTester.PrimeTesterGpuContextPool.Rent(batchCapacity, 1);
|
||||
var gpu = PrimeTester.PrimeTesterGpuContextPool.Rent(batchCapacity);
|
||||
var accelerator = gpu.Accelerator;
|
||||
var state = gpu.State;
|
||||
|
||||
|
||||
Reference in new issue
Block a user