add scheduler method; fixing buffer parallel errors

This commit is contained in:
Youmu Liu
2025-11-19 19:57:29 +08:00
parent 04fc55d31e
commit a29a442723
5 changed files with 84 additions and 6 deletions
@@ -70,9 +70,11 @@ namespace StgSharp.Mathematics.Numeric
{
RemainThreadCount = _threads.Count;
_AfterWork = (ThreadPriority)afterWork;
MatrixParallelThread leader = handle.GetLeader();
foreach (MatrixParallelWrap w in handle.Wraps) {
w.SetScheduler();
}
leader.MatrixParallelLeader();
}
internal static void Init()