This commit is contained in:
mlemanczyk committed 2025-11-25 00:50:18 +01:00
1 parent e8b4c1fc83
commit 47521e327a
3 files changed
+3 -12

No files matched your search

@@ -180,6 +180,7 @@ public sealed class MersenneNumberTester(
{
tmp[i] = (GpuUInt128)qs[offset + i];
}
// Copy only the populated elements to the device buffer to avoid overrun on pooled arrays.
qBuffer.View.CopyFromCPU(stream, ref tmp[0], count);
gpuUInt128Pool.Return(tmp);