HLSf can now set max block size, not only 16MB
This commit is contained in:
@@ -51,7 +51,7 @@ namespace StgSharp
|
||||
/**/
|
||||
HybridLayerSegregatedFitAllocator hlsf;
|
||||
unchecked {
|
||||
hlsf = new((nuint)(4 * (ulong)1024 * 1024 * 1024));
|
||||
hlsf = new((nuint)(4 * (ulong)1024 * 1024 * 1024), 32, 1024U * 1024U * 256U);
|
||||
}
|
||||
Matrix<T> m = Matrix<T>.Create(sideLength, sideLength, MatrixLayout.DenseRectangle,
|
||||
hlsf);
|
||||
|
||||
Reference in New Issue
Block a user