Class ParallelWork
Models parallel work
Implements
Inherited Members
Namespace: DNVGL.One.Compute.Core.FlowModel
Assembly: DNVGL.One.Compute.Core.dll
Syntax
public class ParallelWork : CompositeWork, IFlowModelItem
Constructors
View SourceParallelWork()
Initializes a new instance of the ParallelWork class.
Declaration
public ParallelWork()
ParallelWork(WorkItem[])
Initializes a new instance of the ParallelWork class.
Declaration
public ParallelWork(params WorkItem[] workItems)
Parameters
Type | Name | Description |
---|---|---|
WorkItem[] | workItems | The work items. |
ParallelWork(IEnumerable<WorkItem>)
Initializes a new instance of the ParallelWork class.
Declaration
public ParallelWork(IEnumerable<WorkItem> workItems)
Parameters
Type | Name | Description |
---|---|---|
IEnumerable<WorkItem> | workItems | The work items. |
Properties
View SourceReductionTask
Gets or sets the reduction task.
Declaration
public WorkUnit ReductionTask { get; set; }
Property Value
Type | Description |
---|---|
WorkUnit | The reduction task. |
Remarks
If non-null, this WorkUnit will execute after all the tasks of this instance have completed
SchedulingOptions
Gets or sets the scheduling options for scheduling the work inside this ParallelWork.
Declaration
public SchedulingOptions SchedulingOptions { get; set; }
Property Value
Type | Description |
---|---|
SchedulingOptions | The scheduling options for this ParallelWork. |
Methods
View SourceGetDescendants()
Gets the descendants.
Declaration
public override IEnumerable<WorkItem> GetDescendants()
Returns
Type | Description |
---|---|
IEnumerable<WorkItem> | Descendant items |