Tiny cleanup

This commit is contained in:
Marek Lemańczyk committed 2025-09-14 16:28:13 +02:00
1 parent 4e219355c9
commit b1ef9b9512
2 files changed
+1 -2

No files matched your search

+1 -1
View File
@@ -133,7 +133,7 @@ public sealed class PrimeTester(bool useInternal = false)
public Action<Index1D, ArrayView<ulong>, ArrayView<uint>, ArrayView<byte>> Kernel { get; }
public MemoryBuffer1D<uint, Stride1D.Dense> DevicePrimes { get; }
private readonly Accelerator _accel;
private readonly System.Collections.Concurrent.ConcurrentBag<ScratchBuffers> _scratchPool = new();
private readonly System.Collections.Concurrent.ConcurrentBag<ScratchBuffers> _scratchPool = [];
public KernelState(Accelerator accelerator)
{