add scheduler method; fixing buffer parallel errors
This commit is contained in:
@@ -97,6 +97,13 @@ namespace StgSharp.Mathematics.Numeric
|
||||
|
||||
private bool IsMultithread { get; init; }
|
||||
|
||||
public MatrixParallelThread DefineLeader()
|
||||
{
|
||||
MatrixParallelThread leader = _threads[1];
|
||||
leader.Role = 2;
|
||||
return leader;
|
||||
}
|
||||
|
||||
public void Dispose()
|
||||
{
|
||||
if (_disposed) {
|
||||
|
||||
Reference in New Issue
Block a user