Daily update on 20250921-173333 by Nitload Youmu. Additional Message : New design of matrix enumeration, capable for parallel task publication.
Signed-off-by: Nitload <YoumuLiu_NSI@whv0t.onmicrosoft.com>
This commit is contained in:
@@ -59,29 +59,21 @@ namespace StgSharp
|
||||
{
|
||||
try
|
||||
{
|
||||
<<<<<<< HEAD
|
||||
World.Init();
|
||||
|
||||
TestMatrixParallel();
|
||||
|
||||
// 原有的矩阵测试代码
|
||||
=======
|
||||
MatrixParallelThreadTest.TestMatrixParallelThreadScheduling();
|
||||
/*
|
||||
>>>>>>> 8007eee8461498a85a9515e8fd076f03cb552b64
|
||||
HybridLayerSegregatedFitAllocator hlsf = new HybridLayerSegregatedFitAllocator(64 * 400 * 400);
|
||||
|
||||
Matrix<float> m = Matrix<float>.FromHlsf(400, 200, hlsf);
|
||||
|
||||
int i = 0, ii = 0;
|
||||
<<<<<<< HEAD
|
||||
foreach (Segment lines in m.GetRowEnumeration())
|
||||
=======
|
||||
foreach (MatrixSegment lines in m.GetRowEnumeration())
|
||||
>>>>>>> 8007eee8461498a85a9515e8fd076f03cb552b64
|
||||
|
||||
foreach (MatrixSegment<float> lines in m.GetRowEnumeration())
|
||||
{
|
||||
i = 0;
|
||||
foreach (MatrixKernel* item in lines)
|
||||
foreach (MatrixKernel<float>* item in lines)
|
||||
{
|
||||
i++;
|
||||
Console.WriteLine(i);
|
||||
|
||||
Reference in New Issue
Block a user