GRAPHICAL PARTITIONING FOR PARALLEL EXECUTION OF EXECUTABLE BLOCK DIAGRAM MODELS
First Claim
1. A computer-implemented method comprising:
- interacting with an executable block diagram model, where the model includes a first component and a second component;
partitioning the model graphically, where the partitioning associates;
a first sub graph with the first component, where the first sub graph performs a first operation when the model executes, anda second sub graph with the second component, where the second sub graph performs a second operation when the model executes;
identifying a task group component, where the task group component includes;
a first task identifier, where;
the first task identifier indentifies a first task,the first task is associated with a first concurrent computing resource, where the first task executes on the first concurrent computing resource when the model executes,the first task identifier is associated with the first sub graph, andthe associating allows the first sub graph to execute on the first concurrent computing resource when the model executes, anda second task identifier, wherethe second task identifier indentifies a second task,the second task is associated with a second concurrent computing resource, where the second task executes on the second concurrent computing resource when the model executes,the second task identifier is associated with the second sub graph, andthe associating allows the second sub graph to execute on the second concurrent computing resource when the model executes; and
executing the model, where the executing;
executes the first sub graph on the first resource,executes the second sub graph on the second resource, where the second sub graph concurrently executes when the first sub graph is executing on the first resource, andproduces an execution result.
1 Assignment
0 Petitions
Accused Products
Abstract
Exemplary embodiments allow executable graphical models, such as block diagram models, to be graphically partitioned for execution on concurrent computing resources. Embodiments allow model components to be grouped into subtasks that are affiliated with tasks associated with concurrent computing resources. Tasks and sub graphs can be mapped to concurrent computing resources according to characteristics, such as sample time, solver type, etc. Embodiments further allow mappings to be visually indicated to a user via various display techniques including color, text, icons, shading, grouping of identifiers, etc. Concurrently executing portions of a model allows model results to be obtained faster than can be obtained when models are executed on a single computing resource, such as a single processor.
-
Citations
16 Claims
-
1. A computer-implemented method comprising:
-
interacting with an executable block diagram model, where the model includes a first component and a second component; partitioning the model graphically, where the partitioning associates; a first sub graph with the first component, where the first sub graph performs a first operation when the model executes, and a second sub graph with the second component, where the second sub graph performs a second operation when the model executes; identifying a task group component, where the task group component includes; a first task identifier, where; the first task identifier indentifies a first task, the first task is associated with a first concurrent computing resource, where the first task executes on the first concurrent computing resource when the model executes, the first task identifier is associated with the first sub graph, and the associating allows the first sub graph to execute on the first concurrent computing resource when the model executes, and a second task identifier, where the second task identifier indentifies a second task, the second task is associated with a second concurrent computing resource, where the second task executes on the second concurrent computing resource when the model executes, the second task identifier is associated with the second sub graph, and the associating allows the second sub graph to execute on the second concurrent computing resource when the model executes; and executing the model, where the executing; executes the first sub graph on the first resource, executes the second sub graph on the second resource, where the second sub graph concurrently executes when the first sub graph is executing on the first resource, and produces an execution result. - View Dependent Claims (2, 3, 4, 5, 6, 7, 8, 9, 10, 11, 12, 13, 14, 15)
-
-
16. One or more non-transitory computer-readable media holding executable instructions that when executed on a processor partition a model for concurrent processing, the media holding one or more instructions for:
-
interacting with an executable block diagram model, where the model includes a first component and a second component; partitioning the model graphically, where the partitioning associates; a first sub graph with the first component, where the first sub graph performs a first operation when the model executes, and a second sub graph with the second component, where the second sub graph performs a second operation when the model executes; identifying a task group component, where the task group component includes; a first task identifier, where; the first task identifier indentifies a first task, the first task is associated with a first concurrent computing resource, where the first task executes on the first concurrent computing resource when the model executes, the first task identifier is associated with the first sub graph, and the associating allows the first sub graph to execute on the first concurrent computing resource when the model executes, and a second task identifier, where the second task identifier indentifies a second task, the second task is associated with a second concurrent computing resource, where the second task executes on the second concurrent computing resource when the model executes, the second task identifier is associated with the second sub graph, and the associating allows the second sub graph to execute on the second concurrent computing resource when the model executes; and executing the model, where the executing; executes the first sub graph on the first resource, executes the second sub graph on the second resource, where the second sub graph concurrently executes when the first sub graph is executing on the first resource, and produces an execution result.
-
Specification