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,the block diagram model including a first component and a second component, andinteracting with the block diagram model being performed by a processor;
partitioning the block diagram model graphically,partitioning the block diagram model being performed by the processor, andthe partitioning associating;
a first sub graph with the first component,the first sub graph performing a first operation during an execution of the block diagram model, anda second sub graph with the second component,the second sub graph performing a second operation during the execution of the block diagram model;
identifying a task group component,identifying the task group component being performed by the processor, andthe task group component including;
a first task identifier,the first task identifier identifying a first task,
the first task being associated with a first concurrent computing resource,
the first task executing on the first concurrent computing resource during the execution of the block diagram model,the first task identifier being graphically associated with the first sub graph and allowing the first sub graph to execute on the first concurrent computing resource during the execution of the block diagram model, anda second task identifier,the second task identifier identifying a second task,
the second task being associated with a second concurrent computing resource,
the second task executing on the second concurrent computing resource during the execution of the block diagram model,the second task identifier being graphically associated with the second sub graph and allowing the second sub graph to execute on the second concurrent computing resource during the execution of the block diagram model;
executing causing the execution of the block diagram model,causing the execution of the block diagram model being performed by the processor, andthe executing the execution of the block diagram model including;
executing the first sub graph on the first concurrent computing resource concurrently with the second sub graph executing on the second concurrent computing resource, andobtaining an execution result,obtaining the execution result being performed by the processor.
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, the block diagram model including a first component and a second component, and interacting with the block diagram model being performed by a processor; partitioning the block diagram model graphically, partitioning the block diagram model being performed by the processor, and the partitioning associating; a first sub graph with the first component, the first sub graph performing a first operation during an execution of the block diagram model, and a second sub graph with the second component, the second sub graph performing a second operation during the execution of the block diagram model; identifying a task group component, identifying the task group component being performed by the processor, and the task group component including; a first task identifier, the first task identifier identifying a first task,
the first task being associated with a first concurrent computing resource,
the first task executing on the first concurrent computing resource during the execution of the block diagram model,the first task identifier being graphically associated with the first sub graph and allowing the first sub graph to execute on the first concurrent computing resource during the execution of the block diagram model, and a second task identifier, the second task identifier identifying a second task,
the second task being associated with a second concurrent computing resource,
the second task executing on the second concurrent computing resource during the execution of the block diagram model,the second task identifier being graphically associated with the second sub graph and allowing the second sub graph to execute on the second concurrent computing resource during the execution of the block diagram model; executing causing the execution of the block diagram model, causing the execution of the block diagram model being performed by the processor, and the executing the execution of the block diagram model including; executing the first sub graph on the first concurrent computing resource concurrently with the second sub graph executing on the second concurrent computing resource, and obtaining an execution result, obtaining the execution result being performed by the processor. - 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 storing instructions, the instructions comprising:
one or more instructions that, when executed on a processor, cause the processor to; interact with an executable block diagram model, the block diagram model includes a first component and a second component; partition the block diagram model graphically, the partitioning associating; a first sub graph with the first component,
the first sub graph performing a first operation during an execution of the block diagram model, anda second sub graph with the second component,
the second sub graph performing a second operation during the execution of the block diagram model;identify a task group component, the task group component including; a first task identifier,
the first task identifier identifying a first task,
the first task being associated with a first concurrent computing resource,
the first task executing on the first concurrent computing resource during the execution of the block diagram model,
the first task identifier being graphically associated with the first sub graph and allowing the first sub graph to execute on the first concurrent computing resource during the execution of the block diagram model, anda second task identifier,
the second task identifier identifying a second task,
the second task being associated with a second concurrent computing resource,
the second task executing on the second concurrent computing resource during the execution of the block diagram model,
the second task identifier being graphically associated with the second sub graph and allowing the second sub graph to execute on the second concurrent computing resource during the execution of the block diagram model; andcause the execution of the block diagram model, where the executing the execution of the block diagram model causing; the first sub graph to execute on the first concurrent computing resource concurrently with the second sub graph executing on the second concurrent computing resource, and
produces a generation of an execution result.
Specification