US20150220309A1 - Parallelism From Functional Decomposition - Google Patents

Parallelism From Functional Decomposition Download PDF

Info

Publication number
US20150220309A1
US20150220309A1 US14/617,416 US201514617416A US2015220309A1 US 20150220309 A1 US20150220309 A1 US 20150220309A1 US 201514617416 A US201514617416 A US 201514617416A US 2015220309 A1 US2015220309 A1 US 2015220309A1
Authority
US
United States
Prior art keywords
data
control
bubble
decomposition
level
Prior art date
Legal status (The legal status is an assumption and is not a legal conclusion. Google has not performed a legal analysis and makes no representation as to the accuracy of the status listed.)
Abandoned
Application number
US14/617,416
Inventor
Kevin D. Howard
Current Assignee (The listed assignees may be inaccurate. Google has not performed a legal analysis and makes no representation or warranty as to the accuracy of the list.)
Massively Parallel Technologies Inc
Original Assignee
Massively Parallel Technologies Inc
Priority date (The priority date is an assumption and is not a legal conclusion. Google has not performed a legal analysis and makes no representation as to the accuracy of the date listed.)
Filing date
Publication date
Application filed by Massively Parallel Technologies Inc filed Critical Massively Parallel Technologies Inc
Priority to US14/617,416 priority Critical patent/US20150220309A1/en
Assigned to MASSIVELY PARALLEL TECHNOLOGIES, INC. reassignment MASSIVELY PARALLEL TECHNOLOGIES, INC. ASSIGNMENT OF ASSIGNORS INTEREST (SEE DOCUMENT FOR DETAILS). Assignors: HOWARD, KEVIN D.
Publication of US20150220309A1 publication Critical patent/US20150220309A1/en
Abandoned legal-status Critical Current

Links

Images

Classifications

    • GPHYSICS
    • G06COMPUTING; CALCULATING OR COUNTING
    • G06FELECTRIC DIGITAL DATA PROCESSING
    • G06F8/00Arrangements for software engineering
    • G06F8/20Software design
    • GPHYSICS
    • G06COMPUTING; CALCULATING OR COUNTING
    • G06FELECTRIC DIGITAL DATA PROCESSING
    • G06F8/00Arrangements for software engineering
    • G06F8/30Creation or generation of source code
    • GPHYSICS
    • G06COMPUTING; CALCULATING OR COUNTING
    • G06FELECTRIC DIGITAL DATA PROCESSING
    • G06F8/00Arrangements for software engineering
    • G06F8/30Creation or generation of source code
    • G06F8/34Graphical or visual programming
    • G06F9/444
    • GPHYSICS
    • G06COMPUTING; CALCULATING OR COUNTING
    • G06FELECTRIC DIGITAL DATA PROCESSING
    • G06F9/00Arrangements for program control, e.g. control units
    • G06F9/06Arrangements for program control, e.g. control units using stored programs, i.e. using an internal store of processing equipment to receive or retain programs
    • G06F9/44Arrangements for executing specific programs
    • G06F9/448Execution paradigms, e.g. implementations of programming paradigms
    • G06F9/4498Finite state machines

Definitions

  • control transformations decompose into state transition diagrams which represent the real-time aspects of the system.
  • control transformations were used by Yourdon, Ward and Millor, and Hatley and Pirbhai to define real-time control transformation events, their definition of control transformation does not include any of the following types of software statements: goto, if-then-else, switch loops, and subroutine calls.
  • a simple graph created in accordance with the multiprocessor functional decomposition (MPfd) model described herein, is constrained to a single control structure per decomposition level and exposes all transitions, preparing the graph for translation into a finite state machine (FSM).
  • MPfd multiprocessor functional decomposition
  • FSMs have been used to create compilers and have also been used in sequential circuit design. Being able to use FSMs in general software design and thus in general programming offers huge benefits for general programming including increased software clarity and the ability better combine computer software with computer hardware. That is, instead of simply compiling a source program into an FSM as part of the process of generating an executable code, it is highly advantageous to utilize the FSM, such as by manipulating a graphical depiction of the FSM, when generating the software design.
  • the software design is received in a form wherein functions in the software design are repetitively decomposed into (1) data and control transformations. Included between the functions are control flow indicators which have transformation-selection conditions associated therewith.
  • the data transformations and the control transformations are translated into states in the finite state machine.
  • the transformation-selection conditions associated with the control transformations are translated into state transitions in the finite state machine.
  • FIG. 1 is a system diagram showing an exemplary computing environment in which the present system functions.
  • FIG. 2 is a prior art standard functional decomposition diagram.
  • FIG. 3 shows an example of multiple threads from decomposition of function with dissimilar parameters.
  • FIG. 4 shows an example of functional decomposition with transition conditions and threads.
  • FIG. 5 shows an example of functional decomposition with conditions, threads and added loops.
  • FIG. 6 is an example illustrating the highest level decomposition (level 0).
  • FIG. 6 a is a flowchart showing an exemplary algorithm for converting an MPfd to a finite state machine.
  • FIG. 7 shows an exemplary functional decomposition diagram.
  • FIG. 8 shows a finite state machine view of the translation of a single-process bubble into its state machine equivalent.
  • FIG. 9 shows an exemplary lower level decomposition diagram, functional decomposition view.
  • FIG. 10 shows an exemplary lower level decomposition diagram, finite state machine view.
  • FIG. 11 shows multiple loops, functional decomposition view.
  • FIG. 12 shows an example of multiple loops, finite state machine view.
  • FIG. 13 shows an example of a loop with label, functional decomposition view.
  • FIG. 14 shows an example of a loop with label, finite state machine view.
  • FIG. 15 shows an example of multiple data on lines and multiple conditions on transition.
  • FIG. 16 shows an example of transition and data lines using labels.
  • FIG. 17 is an exemplary lower level decomposition diagram with composite variable names, functional decomposition view.
  • FIG. 18 is an exemplary lower level decomposition diagram without composite array names and dimensionality.
  • FIG. 19 is an exemplary lower level decomposition diagram with composite array names and dimensionality.
  • FIG. 20 is an exemplary lower level decomposition diagram with composite matrix names with multiple dimensions.
  • FIG. 21 shows an example of associated bubbles linked via control-flows.
  • FIG. 22 shows an example of unassociated bubbles.
  • FIG. 23 shows an example of data associated bubble.
  • FIG. 24 shows an example of control linked, unassociated level-2 bubbles.
  • FIG. 25 shows an example of transformation to standard unassociated form.
  • FIG. 26 shows an example of transformation to standard associated form.
  • FIG. 27 shows an example of unassociated process bubbles to task parallel indicating finite state machine.
  • FIG. 28 shows an example of transpose notation, functional decomposition view.
  • FIG. 29 shows an example of transpose notation, finite state machine view.
  • FIG. 30 shows an example of scatter/gather notation, functional decomposition view.
  • FIG. 31 shows an example of scatter/gather, finite state machine view.
  • FIG. 32 shows an example of parallel i/o indication.
  • FIG. 33 shows an example of selecting particular matrix elements.
  • FIGS. 34 a and 34 b show examples of incomplete decomposition.
  • FIG. 35 shows an example of a 1-dimensional monotonic workload symbol, functional decomposition view.
  • FIG. 36 shows an example of a 1-dimensional monotonic workload symbol, finite state machine view.
  • FIG. 37 shows an example of a 2-dimensional monotonic workload symbol, functional decomposition view.
  • FIG. 38 shows an example of a 2-dimensional monotonic workload symbol, finite state machine view.
  • FIG. 39 shows an example of a 3-dimensional monotonic workload symbol, functional decomposition view.
  • FIG. 40 shows an example of a 3-dimensional monotonic workload symbol, finite state machine view.
  • FIG. 41 shows an example of a left-right exchange symbol—no stride, functional decomposition view.
  • FIG. 42 shows an example of a left-right exchange symbol—no stride, finite state machine view.
  • FIG. 43 shows an example of a left-right exchange—with stride, functional decomposition view.
  • FIG. 44 shows an example of a left-right exchange—with stride, finite state machine view.
  • FIG. 45 shows an example of a next-neighbor exchange symbol—no stride, functional decomposition view.
  • FIG. 46 shows an example of a next-neighbor exchange—no stride, finite state machine view.
  • FIG. 47 shows an example of a next-neighbor exchange symbol—with stride, functional decomposition view.
  • FIG. 48 shows an example of a next-neighbor exchange—with stride, finite state machine view.
  • FIG. 49 shows an example of a 3-dimensional next-neighbor exchange symbol—no stride, functional decomposition view.
  • FIG. 50 shows an example of a 3-dimensional next-neighbor exchange—no stride, finite state machine view.
  • FIG. 51 shows an example of a 3-dimensional next-neighbor exchange symbol—with stride, functional decomposition view.
  • FIG. 52 shows an example of a 3-dimensional next-neighbor exchange—with stride, finite state machine view.
  • FIG. 53 shows an example of a 2-dimensional matrix with 2-dimensional stencil for 2-d next-n-neighbor exchange symbol—no stride, functional decomposition view.
  • FIG. 54 shows an example of a 2-dimensional matrix with 2-dimensional stencil for 2-d next-n-neighbor exchange—no stride, finite state machine view.
  • FIG. 55 shows an example of a 2-dimensional matrix with 2-dimensional stencil for 2-d next-n-neighbor exchange symbol—with stride, functional decomposition view.
  • FIG. 56 shows an example of a 2-dimensional matrix with 2-dimensional stencil for 2-d next-n-neighbor exchange—with stride, finite state machine view.
  • FIG. 57 shows an example of a 1-dimensional all-to-all exchange symbol—no stride, functional decomposition view.
  • FIG. 58 shows an example of a 1-dimensional all-to-all exchange—no stride, finite state machine view.
  • FIG. 59 shows an example of a 1-dimensional all-to-all exchange symbol—with stride, functional decomposition view.
  • FIG. 60 shows an example of a 1-dimensional all-to-all exchange—with stride, finite state machine view.
  • FIG. 61 shows an example of a 2-dimensional all-to-all exchange symbol—no stride, functional decomposition view.
  • FIG. 62 shows an example of a 2-dimensional all-to-all exchange—no stride, finite state machine view.
  • FIG. 63 shows an example of a 2-dimensional all-to-all exchange symbol—with stride, functional decomposition view.
  • FIG. 64 shows an example of a 2-dimensional all-to-all—with stride, finite state machine view.
  • FIG. 65 shows an example of a 3-dimensional all-to-all exchange symbol—no stride, functional decomposition view.
  • FIG. 66 shows an example of a 3-dimensional all-to-all exchange—no stride, finite state machine view.
  • FIG. 67 shows an example of a 3-dimensional all-to-all exchange symbol—with stride, functional decomposition view.
  • FIG. 68 shows an example of a 3-dimensional all-to-all exchange—with stride, finite state machine view.
  • MPfd multiprocessor functional decomposition
  • MPfd elements are annotated with information concerning the use of any data, not just the data type.
  • MPfd model to automatically find task-level and non-task-level parallelism from design, instead of the user finding it within the code, allows separate compute threads to simultaneously process data.
  • a task in the present system is equivalent to one or more data transformations (or simply “transformations”) and since a transformation is a state in the present finite state machine (FSM), showing which states can be executed in parallel is equivalent to indicating the task parallelism.
  • FSM finite state machine
  • Function a software routine, or more simply an algorithm that performs one or more transformations.
  • Control Kernel A control kernel is a software routine or function that contains only the following types of computer-language constructs: subroutine calls, looping statements (for, while, do, etc.), decision statements (if-then-else, etc.), and branching statements (goto, jump, continue, exit, etc.).
  • Process Kernel is a software routine or function that does not contain the following types of computer-language constructs: subroutine calls, looping statements, decision statements, or branching statements. Information is passed to and from a process kernel via RAM.
  • State Machine The state machine employed herein is a two-dimensional network which links together all associated control kernels into a single non-language construct that provides for the activation of process kernels in the correct order.
  • the process kernels form the “states” of the state-machine while the activation of those states form the state transition. This eliminates the need for software linker-loaders.
  • a State Machine Interpreter for the purpose of the present document, is a method whereby the states and state transitions of a state machine are used as active software, rather than as documentation.
  • Node is a processing element comprised of a processing core, or processor, memory and communication capability.
  • Data transformation is a task that accepts data as input and transforms the data to generate output data.
  • Control transformation A control transformation evaluates conditions and sends and receives control to/from other control transformations and/or data transformations.
  • Control bubble A control bubble is a graphical indicator of a control transformation.
  • a control bubble symbol indicates a structure that performs only transitions and does not perform processing.
  • Process bubble is a graphical indicator of a data transformation.
  • Finite state machine is an executable program constructed from the linear code blocks resulting from transformations, where the transformation-selection conditions are state transitions constructed from the control flow.
  • Graphics means both the display by a computer of concepts such as a software design and FSM using visible objects, as well as the ability of a user to manipulate those objects to manipulate the concepts represented by the graphics.
  • FIG. 1 is an exemplary diagram of the computing environment in which the present system and method operates.
  • system 100 includes a processor 101 which executes tasks and programs including a kernel management module 110 , an algorithm management module 105 , state machine 124 , a kernel execution module 130 , and an algorithm execution module 125 .
  • System 100 further includes storage 107 , in which is stored data including libraries 115 / 120 which respectively store algorithms 117 and kernels 122 .
  • Storage 107 may be RAM, or a combination of RAM and other storage such as a disk drive.
  • Module 102 performs a translation of a graphical input functional decomposition diagram 700 (see, e.g., FIG. 7 ) to corresponding MPfd functions (ultimately, states in a state machine), and stores the translated functions in appropriate libraries in storage area 108 .
  • Module 103 generates appropriate FSMs from the translated functions.
  • System 100 is coupled to a host management system 145 , which provides management of system functions, and issues system requests.
  • Algorithm execution module 125 initiates execution of kernels invoked by algorithms that are executed.
  • Algorithm execution system 135 may comprise any computing system with multiple computing nodes 140 which can execute kernels stored in system 100 .
  • Management system 145 can be any external client computer system which requests services from the present system 100 . These services include requesting that kernels or algorithms be added/changed/deleted from a respective library within the current system.
  • the external client system can request that a kernel/algorithm be executed. It should be noted that the present system is not limited to the specific file names, formats and instructions presented herein.
  • kernels 122 are stored in a kernel library file 121 in kernel library 120 .
  • An algorithm is a state machine that comprises states (kernel invocations) and state transitions (the conditions needed to go from one state to another). References to the “system” in this section refer in general to system 100 , and in applicable embodiments, to algorithm management module 105 .
  • Each algorithm 117 is kept in an algorithm definition file 116 in algorithm library 115 with a name (Algorithm_Title) that is the concatenation of the organization name, the category name, algorithm name, and user name with a ‘_’ character between each of the names.
  • the parallel tasks are executed at the same time as “StateNumber”.
  • a control transformation evaluates conditions and sends and receives control.
  • One primary difference between the Yourdon model and the present MPfd model is in how control transformations are handled.
  • MPfd allows a control transformation to contain non-event control items.
  • Non-event control items are conditions that change the sequence of execution of a program (if-then-else, go to, function calls, function returns), and a condition is a regular conditional expression.
  • Variables used by a control transformation can only be used in a condition; they cannot be transformed into any other value.
  • An Invoke instruction initiates system operation; variables and constants are used in conditions to transition to a control transformation; and a Return instruction gives control back to the control transformation with the name of the returning routine.
  • a control transformation can have only one selection condition per transformation, and there can be, at most, one control transformation per decomposition level.
  • the MPfd model creates hierarchical finite state machines (HFSM) whose state transitions have conditions and whose states are data transformations and control transformations. Data transformations can always, eventually, be associated with linear code blocks, while control transformations contain only transitions with no associated code blocks.
  • HFSM hierarchical finite state machines
  • Data transformations represent the parallelizable portion of the software design.
  • MPfd designs there are three data transformation types: associated, unassociated, and ambiguous. These types are concerned with the relationship between an upper-level transformation and its immediate next-level decomposition.
  • Associated transformations are grouped together and share data and/or control. Unassociated transformations are grouped together but share no data or control. Unassociated transformations can be executed in parallel. This is called task-level parallelization. Ambiguous transformations can always be converted to either associated or unassociated forms.
  • a data transformation can contain three types of looping structures: pre-work, post-work and recursion.
  • Pre-work means that the loop-ending condition is checked prior to performing the work and is denoted by a downward-pointing solid-loop symbol on a transformation.
  • Post-work means that the loop-ending condition is checked after performing the work and is denoted by an upward-pointing solid-loop symbol on a transformation.
  • Recursion means that the transformation calls itself and is denoted by a downward-pointing dashed-loop symbol on a transformation.
  • the lowest level of transformation decomposition represents a linear code block. Decomposition ends when a data transformation cannot decompose into a set of data transformations grouped together with a control transformation or when the decomposition results in the same graph as the decomposed transformation.
  • the “hx( )” functions can also be decomposed, and this decomposition can continue.
  • standard decomposition there is no specified last decomposition.
  • MPfd the decomposition continues until only a series of function calls depicting the structure of the function remains. A final decomposition then occurs when there are no function calls, and only a single data transformation remains. At that point, the decomposition has progressed to the kernel level, with the non-transformation functions equivalent to control kernels and the transformation-only functions equivalent to process kernels.
  • an MPfd forms a disjoint, fully reduced set of functions.
  • Transforming a function into its decomposed equivalent set of functions means hierarchically identifying functions within functions such that the equivalent functionality of the original function is maintained while the complexity of the component functions simplifies. This can be illustrated using the “g( )” function from Equation 1.
  • the function g(h1(h2(a, b), c), h3(d, h4(e)), . . . hn (a, b, c, d, e, f)) uses the various “hx( )” functions as its parameters.
  • the “hx( )” functions can, thus, be ordered by the “g( )” function in the same way as variables are ordered within a function.
  • FIG. 2 is a diagram showing a standard, prior art, functional decomposition.
  • the function-order arrows (control flow indicators) on the standard functional decomposition diagram of FIG. 2 indicate the calling order of the functions. This calling order comes from a combination of the decomposition level (indicated by the level number shown on the diagram) and the parameter order of the functions as shown in FIG. 2 . If the parameters used by some functions are different from those used by some other functions, those disjoint functions can be executed in parallel. The functions that share the same parameters are said to be joint and are executed serially.
  • each function in a particular algorithm receives an execution-stream identifier.
  • this execution-stream identifier is represented as a program thread.
  • this MPfd-type decomposition takes the form shown in the diagram of FIG. 3 , which shows multiple threads from decomposition of a function with dissimilar parameters.
  • FIG. 3 shows multiple threads from decomposition of a function with dissimilar parameters.
  • the function-order arrows contain no information other than indicating a general relationship.
  • a condition is added to the function-order arrows and this additional information can be used to identify additional parallelism.
  • the MPfd control flow indicators each comprise a function-order arrow plus an associated condition. Adding function-calling or transition information to a function-order arrow is a way to graphically depict the circumstances under which a function is called; that is, it shows the underlying logical/mathematical rationale for transitioning to another function. For example, separate threads containing functions with the same parameters can be identified if their transition conditions are different, as shown on FIG. 4 , which shows an example of functional decomposition with transition conditions and threads.
  • function transitions containing one of two types of transition conditions are required to externalize the control elements of functions, allowing them to be gathered together as threads. It is also clear that the transition is a separate entity type from the functions themselves. Loops or looping structures can be thought of as special, more generalized cases of function transition. Whereas a function transition contains only a condition, a looping structure contains a loop order, an initial loop-index value, a loop-index change calculation, and a loop-ending calculation.
  • FIG. 5 shows an exemplary functional decomposition with conditions, threads and added loops.
  • the example in FIG. 5 shows three loops: a single loop for a specific function, an outer loop across functions, and an inner loop.
  • the loop across functions can be used to loop at the thread level.
  • An inner loop, indicated by having the lowest number in a multiple-loop system, is incremented first with subsequent numbers then incremented in successive order. It should be noted that it is not possible to loop between threads.
  • a functional decomposition diagram 700 described below with respect to FIG. 7 , et. seq.
  • the functional decomposition diagram 700 is then input into graphics storage 108 , and translated via graphics translation module 102 into corresponding functions in accordance with the MPfd decomposition methods described herein.
  • the translated functions may be stored in memory area 108 .
  • a looping structure can be attached to any decomposition element. This looping structure initializes some data element (variable, array element, or matrix element), performs a calculation on the data element, tests the changed element value for the ending condition, and then transitions to the next functional decomposition element required if the condition is met.
  • the data element used as the loop index is one of the function parameters, allowing the looping structure to interact with the functional element.
  • Level 0 of the MPfd consists of only three types of objects: (1) terminators, (2) a single-process bubble (or other indicator) corresponding to the un-decomposed function, and (3) data stores, along with function transitions, loops, and function parameters.
  • the purpose of the highest level of decomposition is to place a function into a larger context. This is accomplished by allowing systems that are external to the function to transmit data and control to/from the function.
  • a terminator represents a complete external system.
  • FIG. 6 shows an example of the highest level (level-0) decomposition.
  • the “Function Transition Conditions” of FIG. 6 correspond to the “Transition Conditions” shown in FIG. 4 .
  • the “Process Bubble Name” of FIG. 6 corresponds to function “go” of Equation 1 and FIGS. 2-5 .
  • the “Function Parameter Names” of FIG. 6 correspond to the parameters shown in Equation 1 and FIGS. 2-5 .
  • a terminator may be represented as a labeled square.
  • the purpose of terminators is to be able to identify interfaces to outside systems. These interfaces do not correspond to any mathematical functions but instead represent access to data outside of the un-decomposed function.
  • a terminator can be used to represent anything from another computer system to a display screen. Functionally, a terminator behaves similarly to a data store in that data can be sent from/to the terminator from/to the un-decomposed function. The difference between a terminator and a data store is that a terminator can transition from/to the un-decomposed function.
  • a process bubble adds data, changes data, deletes data, or moves data. Since a process-bubble manipulates data, all activities associated with sending and receiving data to various stores is allowed. Furthermore, since a data element can also serve as a signal, activities associated with various signals are also allowed.
  • a process bubble, as employed in the MPfd model, is a graphical indicator of a data transformation, which is a task that accepts input data and transforms it to generate output data.
  • the single-process bubble of the highest level of decomposition represents the un-decomposed function. Since the function is not decomposed, there can be only one level-0 process bubble. It is assumed that the level-0 process bubble will be decomposed into other functions.
  • a function typically transforms data.
  • One way to graphically depict the transmission of data from/to the single-process bubble is via a terminator.
  • Another way is with a data store.
  • the displayed data stores can send/receive parameter data to/from the single-process bubble.
  • a control bubble is a graphical indicator of a control transformation, which evaluates conditions and sends and receives control to/from other control transformations and/or data transformations.
  • a control bubble symbol indicates a structure that performs only transitions that control the processing flow of a system, and which does not perform processing.
  • a primary goal of functional decomposition is the conversion of an MPfd into a finite state machine. This conversion is enabled by adhering to the following rules:
  • FIG. 6A An exemplary algorithm for converting an MPfd to a finite state machine is shown in FIG. 6A and described below.
  • Step 605 Compare decomposition level x with level (x+1) and determine if level (x+1) process bubbles are associated or un-associated.
  • a functional decomposition element herein represented by a bubble symbol, can decompose into two types: associated and unassociated. Association has to do with the next-level decomposition of the bubble. Depending on the association type, loops defined at a higher decomposition level behave differently when they are integrated into a lower decomposition level.
  • an un-decomposed bubble labeled “A” is decomposed into bubbles labeled “1”, “2”, “3”, and “C”, then the un-decomposed bubble is said to reside at Level 1.
  • Bubbles “1”, “2”, “3”, and “C” are said to reside at Level 2.
  • a control-flow links together any level 2 bubbles, then those bubbles are said to be associated. If the control-flows do not link together the level 2 bubbles, those bubbles are said to be unassociated.
  • Step 610 If level (x+1) process bubbles are associated, then perform the following steps 615 - 630 .
  • Step 615 Any loops found at level x start with the first associated process bubble and end with the last associated process bubble. That is, multiple states are in the loop. All loops are associated with the set of process bubbles. This step machine-analyzes the design and correctly interprets how the loops work. Using information from one decomposition level to next allows the system to change the algorithm definition file 116 such that the loops are executed correctly.
  • Step 620 The single control bubble that associates the level process bubbles will be the first state on the FSM of level (x+1) .
  • Step 625 Level (x+1) control flows are translated into state transition vectors of the level (x+1) FSM.
  • Step 630 Level (x+1) process bubbles are translated into the state of the FSM.
  • Step 635 If level (x+1) process bubbles are un-associated, then perform the following.
  • Step 640 Any loops found at level x will form a loop of the same type on each un-associated level (x+1) process bubble.
  • Step 645 Decompose any non-recursively defined process bubble into an “x+1” level of the decomposed process bubble.
  • Decomposition levels are complete when an “x+1” decomposition has no control bubble (a group of un-associated process bubbles) or when there is no “x+1” level (step 650 ). All level (x+1) data stores are hidden within the states of the FSM.
  • the various “x+1” levels are represented as nested states, that is, each state is also an FSM.
  • FIG. 7 shows an exemplary functional decomposition diagram 700 and FIG. 8 shows a finite state machine view of the translation of a single-process bubble into its state machine equivalent.
  • bubble refers to a graphical element such as a solid or dashed line having the approximate form of a circle, ellipse, polygon, or the like. Notice that the control bubble is shown in the finite state machine view as the first state; only the control flows are seen, and these act as state transitions.
  • the looping structure is captured as a looping state transition in the finite state machine 800 .
  • the process bubbles are translated into the states of the finite state machine.
  • the data stores are captured as part of the states. Throughout this document, where applicable, both the functional decomposition and finite state machine view are shown in the Drawings.
  • control bubble There is only one control bubble per function decomposition.
  • the purpose of the control bubble symbol is to indicate a structure that performs only transitions and does not perform processing. This symbol has the effect of insuring that all non-looping control is fully exposed. Allowing only a single control bubble per function decomposition forces the complexity of the work to be expressed primarily through decomposition, insuring a structured decomposition with the minimum amount of complexity for each of the decompositions.
  • the control bubble retains the name of the higher-level process bubble.
  • FIGS. 9 and 10 respectively show functional decomposition and finite state machine views of an example of a lower level decomposition.
  • the process bubbles cannot directly send information from one process bubble to another but can do so through a data store. If the data store has the same name, the finite state machine view assumes it will have the same memory addresses. Likewise, a process bubble cannot directly transition to another process bubble but can do so through a control bubble, which is always the initial state.
  • FIGS. 11 and 12 respectively show functional decomposition and finite state machine views of multiple loops.
  • “LPBN 1 ” represents “Lower Process Bubble Name 1 ”:
  • FIGS. 13 and 14 respectively show functional decomposition and finite state machine views of an exemplary looping operation.
  • Selecting the loop name can cause the loop definition(s) to be displayed as shown in Table 1, below:
  • All loops associated with a process bubble are considered nested loops: one loop is within another loop.
  • the first loop defined is considered the inner-most loop, with each successive outer loop defined as surrounding the inner loop.
  • Loop 2 is inside of Loop 1 ; that is, Loop 1 is invoked after Loop 2 .
  • Parallel loops occur when two or more process bubbles, without any mutual dependency and occurring at the same decomposition level, each have a loop. The loops of these independent, loop-bearing process bubbles can occur in parallel.
  • Variables, arrays, and matrices represent data elements of various orders.
  • a variable is a single data element of a certain type and can be thought of as a zero-dimensional object.
  • An array consists of multiple data elements arranged linearly and can be thought of as a single-dimensional object.
  • a matrix consists of multiple data elements arranged into greater than one dimension and can be thought of as a higher-dimensional object. Transitions and loops can use these data objects in their conditions and calculations. This means that there must be a precise way to discuss all data objects.
  • variable only requires a label and a type in order to identify it.
  • the following composite label will fully identify a variable:
  • the composite variable name changes the “Function Parameters Names” to a comma-separated list of composite variable names, as shown in FIG. 17 , which is a functional decomposition view of an exemplary lower level decomposition with composite variable names.
  • An array requires a composite consisting of a label, a type, and an array index or element number to identify it.
  • the following composite label will fully identify an array:
  • the symbol after the second colon is a Greek symbol, it represents an index; otherwise, it represents an array element.
  • the first index represents a row in MPfd, the second index a column, and the third index the matrix depth.
  • Designating multiple array elements does not designate a loop, only the movement of a certain number of variables.
  • the composite array name changes the “Function Parameters Names” to a comma-separated list of composite array names, as shown in FIG. 18 (lower level decomposition diagram without composite array names and dimensionality) and
  • FIG. 19 lower level decomposition diagram with composite array names and dimensionality.
  • a matrix requires a composite consisting of a label, a type, and multiple array element designations to identify it.
  • the following composite label will fully identify an array:
  • Each matrix element represents a matrix dimension.
  • the first element represents the first dimension, the second element the second dimension, etc.
  • the composite matrix name changes the “Function Parameters Names” to a comma-separated list of composite matrix names, as shown in FIG. 20 , which illustrates a lower level decomposition with composite matrix names with multiple dimensions.
  • Determining how well a process bubble will scale requires knowing how much exposed work and how much exposed communication time is present.
  • the work time can be obtained by measuring the execution time of the process bubble's attached code with data of a known size.
  • the data comes from the test plans and procedures that are attached to every process bubble of every project designed using the MPfd model.
  • the communication time comes from the a priori determination of actual communication time and actual latency time. As long as the following criteria is met, computational elements can be added to increase the processing performance of a process bubble, as shown in Equation 2:
  • the target value T can be set by the present system. Profiling will continue until the condition is no longer met.
  • the minimum, maximum, and median dataset sizes associated with a design bubble for an particular kernel or algorithm are used to calculate the number of processing elements for any dataset size greater than the minimum and less than the maximum.
  • Pass-by-value simply means that only the contents of some memory location are transmitted to the function. Sending the contents of a memory location is equivalent to having a constant as an input parameter. That is, all changes made to the value are kept internal to the function with none of those changes accessible outside of the function. This provides for the “encapsulation” of data, insuring that unwanted side effects do not occur between functions. Pass-by-reference allows a function to have multiple output parameters.
  • the following information is associated with a data element on an MPfd: composite name, input designation, and output designation.
  • the input/output designations are a function of the directions of the lines associated with the composite name. The three possibilities are input, output, or both.
  • pass-by-value is another way of saying that a scalar data element (not an array or matrix) is only input into a function, never output from a function.
  • a constant value must also be passed by value as there is no variable, hence no possibility of referencing a memory location.
  • the input-only scalar data element or constant must use pass-by-value, insuring that the data use is encapsulated.
  • a scalar or constant input is used in an MPfd, it will signify the use of the pass-by-value method.
  • the composite name in an MPfd refers to vector data (an array or matrix)
  • particular data elements must be accessible. In computer programming, such access occurs as an offset to some base location. Thus, the base memory location must be transmitted to the function. Also, if the contents of a memory location must change (as is the case for output scalars), the memory location of the data element needs to be known. In both cases, a memory location is passed to the function, called referencing, and the contents of the memory location(s) accessed, called dereferencing. This allows the memory locations to be accessed and changed, with the changes visible to other functions simply using the same differencing method.
  • Structural parallel indicators are determined by the design without any extra information.
  • Task parallelism is an example of structural indication.
  • Other types of parallelism detectable via structural indication include: transpose detection, parallel I/O detection, scatter detection, and gather detection.
  • Non-structural parallel indicators need more information than is usually given in design in order to determine the type of parallelism.
  • Variable definitions in computer languages only support the following information: variable name, variable type, and number of dimensions.
  • Parallelizing a code requires two other types of information: topology and data intent.
  • Topology defines the computational behavior at the edges of a vector or matrix—examples include: Cartesian, toroidal, and spherical.
  • Data intent is the intended use of the data; examples include:
  • the present MPfd method allows a designer to indicate the algorithm processing topology and the data intent, giving the design the information required to complete the parallel processing.
  • the topology can be calculated by the present system 100 based upon the data intent.
  • the topology information can be added to the vector or matrix information of the input data of a transformation by the designer.
  • an algorithm is defined as a functional decomposition element, it can be decomposed into multiple, simpler algorithms and/or kernels.
  • a functional decomposition element herein represented by a bubble symbol, can decompose into two types: associated and unassociated. Association has to do with the next-level decomposition of the bubble. Depending on the association type, loops defined at a higher decomposition level behave differently when they are integrated into a lower decomposition level.
  • FIG. 21 shows an example of associated level-2 bubbles linked via control-flows.
  • Level 1 (Bubble A) then this is interpreted to have the following effect on Level 2: 1) the loop will start with the activation of the first process bubble and end with the last process-bubble ending, 2) the loop will continue to restart the first process bubble until the end-of-loop condition occurs, and 3) upon completion of the loop, control will be transferred back to the original level-1-defined control bubble or terminator. This is also shown in FIG. 21 .
  • FIG. 22 shows an example of unassociated level-2 bubbles.
  • Level 1 (Bubble A) then the looping structure is added to each of the unassociated level 2 bubbles. This is shown in FIG. 23 . It is possible for level 2 bubbles to appear to be unassociated because no control-flow binds them but be associated instead via data. Data-associated level 2 bubbles are shown in FIG. 23 .
  • level-2 bubbles which use the same control structure actually be unassociated as long as neither the control-flows nor the data associates them.
  • This type of unassociated bubble structure is shown in FIG. 24 .
  • FIG. 27 shows unassociated process bubbles to task parallel indicating finite state machine.
  • Block 2700 indicates a new state made by the system, creating task level parallelism.
  • FIG. 28 shows a transpose notation in functional decomposition view.
  • the accent mark by the second “A” means that at least one element of array A has been changed.
  • FIG. 29 shows a transpose notation in finite state machine view.
  • a scatter/gather moves data to multiple nodes or gathers information from multiple nodes.
  • the indices of the loops match the active indices of the data, and the order of the data indices does not change.
  • FIG. 30 shows an example of scatter/gather notation, functional decomposition view
  • FIG. 31 shows the corresponding finite state machine view. Note that if bubble 1 is the first activated process bubble then “A′” is an input. if bubble 1 is the last process bubble then “A” is an output matrix.
  • Parallel input and output is defined as being from/to a terminator block. Since a terminator block represents another system interfacing with the currently under-design system, obtaining data from this external system is considered input and transmitting data to this external system is considered output. Inputs and outputs to/from terminator blocks can designate that data for the same vector or matrix is being received or sent via separate, parallel data lines by adding the “[ ]” designator to the vector or matrix index. For example, the following are parallel input-data streams defined, as shown in FIG. 32 :
  • Output works analogously. If separate vector or matrix elements are input/output to/from a process bubble but not to/from a terminator, then a simple element selection is indicated. An example of selecting particular matrix elements is shown in FIG. 33 , wherein process element “1” receives data elements from the “A” matrix rows 0 through 100 and columns 0 through 10.
  • the present system can automatically determine if a functional decomposition is complete, as indicated in FIGS. 34 A/ 34 B, which illustrate examples of incomplete decomposition.
  • FIGS. 34 A/ 34 B illustrate examples of incomplete decomposition.
  • One example of incomplete decomposition is shown in FIG. 34A . If there is at least one algorithm (bubble 3 in the left-hand diagram, or bubble 2 in the right-hand diagram) which does not decompose into only process and control kernels (the remaining bubbles in FIG. 34A ) then the decomposition is incomplete.
  • Another example of incomplete decomposition is shown in FIG. 34B . If there is a bubble that does not have at least one input and one output then the decomposition is considered incomplete.
  • Data-type issues typically revolve around the concept of data primitive types: integer, real, double, complex, float, string, binary, etc. Groups of data entities are discussed via their dimensionality, as structures, or as structures containing data entities with various dimensionalities. Data primitives, data group structure, and dimensionality all represent a static view of the data. In an MPfd, this information is placed in a table that appears on data flows and data stores. Table 2, below, is an example of a table that provides this information.
  • variable name gives a name to an object for the Decomposition Analysis graph.
  • the description is a text description of the variable just named.
  • the variable type is the data-primitive type.
  • the number of dimensions describes the dimensionality of the variable: 0-dimension means a standard variable, 1-dimension a vector, and >1-dimension a matrix.
  • the dimension size is required for >1-dimensional objects to indicate the number of variable objects that occur in each dimension.
  • the topology explains how the >0-dimensional object treats its space.
  • unconnected edges Cartesian
  • connected edges 1-dimension (ring), 2-dimensions (cylindrical, toroid, spherical), and 3-dimensions (hyper-cube).
  • the topology information follows the variable.
  • Action Create a mesh to provide load balancing.
  • Action Example The purpose of this mesh type is to provide load balancing when there is a monotonic change to the work load as a function of which data item is used.
  • the profiler shall calculate the time it takes to process each element.
  • Below shows a naive attempt to parallelize such a problem. Sixteen work elements are distributed over four computational nodes. The work increases or decreases monotonically with the work-element number. Below is a 1-dimensional example of a naive work distribution of a monotonic workload-changing problem.
  • the mesh shown in Table 3 decomposes the work elements by dividing the number of work elements by the number of nodes and assigning each work element to each node in a linear fashion.
  • the work elements can be alternated to balance the work. For monotonic workload changes, this means the first and last elements are paired, the second and second-to-last elements are paired, etc., as shown in Table 4:
  • FIG. 35 shows a 1-dimensional monotonic workload symbol in functional decomposition view. If a one-dimensional workload is monotonic, then that information is given to MPfd with the symbols shown in FIG. 35 .
  • the symbol ⁇ * * means that the work (represented as the work within a loop) changes monotonically and that this workload effect applies to vector “A”. That is, ⁇ * * means that index alpha is intended to access the data monotonically. Thus the alpha is the loop index and the *mu* is the intended use of the data accessed using the alpha index.
  • FIG. 36 shows a 1-dimensional monotonic workload symbol in finite state machine view.
  • Table 5, below, shows a two-dimensional version of the monotonic workload-changing mesh.
  • FIG. 37 shows a 2-dimensional monotonic workload symbol in functional decomposition view
  • FIG. 38 shows a 2-dimensional monotonic workload symbol in finite state machine view.
  • Table 6 shows a three-dimensional version of the monotonic workload-changing mesh.
  • FIG. 39 3-dimensional monotonic workload symbol in functional decomposition view
  • FIG. 40 shows a 3-dimensional monotonic workload symbol in finite state machine view. If a three-dimensional workload is monotonic then that information is given to MPfd with the symbol shown in FIG. 39 . There are three symbols attached to the three loops (, and) These symbols mean that the work (represented as the work within a loop) changes monotonically and that this workload effect applies to vector “A”.
  • Particles are used to define discrete objects that move about a vector or array.
  • a one-dimensional particle exchange with Cartesian topology generates the following version (shown in Tables 7 and 8) of a left-right exchange.
  • a one-dimensional particle exchange with a Ring topology generates the following version (shown in Table 9 and 10) of a left-right exchange.
  • Node 4 edge information wraps around to node 1 and node 1 wraps around to node 4 in the Ring topology version of the left-right exchange.
  • FIG. 41 depicts a left-right exchange symbol (* ⁇ *) indicating no stride, also shown in the finite state machine view of FIG. 42 . If a one-dimensional vector is used to depict particles then the * ⁇ * symbol shown in FIG. 41 is used.
  • FIG. 43 depicts a left-right exchange—with stride in a functional decomposition view
  • FIG. 44 depicts a left-right exchange in finite state machine view.
  • a two-dimensional particle exchange with Cartesian topology generates the following version (shown in Table 11 below) of a next-neighbor exchange (edge-number exchange only).
  • Parenthesis indicates that the information here is overlaid such that the underlying code treats it as if it were adjacent memory.
  • a two-dimensional particle exchange with Cylindrical topology generates the following version (shown in Tables 13 and 14) of a next-neighbor exchange (edge-number exchange only).
  • a two-dimensional particle exchange with Toroid topology generates the version of a next-neighbor exchange (edge-number exchange only) shown in Tables 15 and 16 below.
  • FIG. 45 shows a next-neighbor exchange—no stride, in functional decomposition view
  • FIG. 46 shows a next-neighbor exchange—no stride, in finite state machine view
  • FIG. 47 shows a next-neighbor exchange symbol—with stride, in functional decomposition view
  • FIG. 48 shows a next-neighbor exchange—with stride, in finite state machine view. If a two-dimensional matrix is used to depict particles then the symbol shown in FIGS. 45 / 47 is used. A new state is automatically added when the system recognizes that a next neighbor exchange is to be used. The data exchange is modified with the “stride” information indicating how much data to skip with each exchange.
  • a three-dimensional particle exchange with Cartesian topology generates the version of a next-neighbor exchange (edge-number exchange only) shown in Tables 17 and 18, below.
  • FIG. 49 shows a 3-dimensional next-neighbor exchange symbol [* *] indicating no stride, in functional decomposition view
  • FIG. 50 shows a 3-dimensional next-neighbor exchange—no stride, in finite state machine view
  • FIG. 51 shows a 3-dimensional next-neighbor exchange—with stride, in functional decomposition view
  • FIG. 52 shows a 3-dimensional next-neighbor exchange—with stride, in finite state machine view. If a three-dimensional matrix is used to depict particles, then the symbol shown in FIG. 49 is used.
  • FIG. 53 shows a 2-dimensional matrix with 2-dimensional stencil for 2-d next-n-neighbor exchange symbol—no stride, in functional decomposition view
  • FIG. 54 shows a 2-dimensional matrix with 2-dimensional stencil for 2-d next-n-neighbor exchange—no stride, in finite state machine view
  • FIG. 55 shows a 2-dimensional matrix with 2-dimensional stencil for 2-d next-n-neighbor exchange symbol—with stride, in functional decomposition view.
  • the next-neighbor exchange can be extended to a next-n-neighbor exchange. Frequently, the depth of the exchange is a function of some size of the stencil that is applied to it. The exchange will consist of using the number of elements along the dimension of the exchange found in the stencil.
  • the stencil is itself a vector or matrix
  • the symbol for a two-dimensional matrix with a two-dimensional stencil can be used to generate a next-n-neighbor exchange.
  • FIG. 56 shows a 2-dimenssional matrix with 2-dimensional stencil for 2-d next-n-neighbor exchange—with stride, in finite state machine view. Since B cannot change (depicted by the lack of an accent mark) and has the same number of dimensions as A′, it is assumed to be a stencil. Note that the stencil must be smaller than the processed vector or matrix in every dimension; otherwise, it is considered a non-stenciled matrix operation, and the next-n-matrix does not apply.
  • Action Example Perform an all-to-all exchange of data.
  • FIG. 57 shows a 1-dimensional all-to-all exchange symbol—no stride, in functional decomposition view
  • FIG. 58 shows a 1-dimensional all-to-all exchange—no stride, in finite state machine view
  • FIG. 59 shows a 1-dimensional all-to-all exchange symbol—with stride, in functional decomposition view
  • FIG. 60 shows a 1-dimensional all-to-all exchange—with stride, in finite state machine view
  • a one-dimensional vector is used to depict a field then the symbol shown in FIG. 57 is used.
  • FIG. 61 shows a 2-dimensional all-to-all exchange symbol —no stride, in functional decomposition view
  • FIG. 62 shows a 2-dimensional all-to-all exchange—no stride, in finite state machine view
  • FIG. 63 shows a 2-dimensional all-to-all exchange symbol—with stride, in functional decomposition view figure
  • FIG. 64 shows a 2-dimensional all-to-all—with stride, IN finite state machine view. If a two-dimensional matrix is used to depict fields then the symbol shown in FIG. 61 is used.
  • FIG. 65 shows a 3-dimensional all-to-all exchange symbol—no stride, in functional decomposition view
  • FIG. 66 shows a 3-dimensional all-to-all exchange—no stride, in finite state machine view
  • FIG. 67 shows a 3-dimensional all-to-all exchange symbol—with stride, in functional decomposition view
  • FIG. 68 shows a 3-dimensional all-to-all exchange—with stride, in finite state machine view. If a three-dimensional matrix is used to depict fields then the symbol shown in FIG. 65 is used.

Abstract

A system and method for performing functional decomposition of a software design to generate a computer-executable finite state machine. Initially, the software design is received in a form wherein functions in the software design are repetitively decomposed into (1) data and control transformations. Included between the functions are control flow indicators which have transformation-selection conditions associated therewith. The data transformations and the control transformations are translated into states in the finite state machine. The transformation-selection conditions associated with the control transformations are translated into state transitions in the finite state machine.

Description

    RELATED APPLICATIONS
  • This application is a continuation of U.S. patent application Ser. No. 13/425,136, filed Mar. 20, 2012 and which is incorporated by reference in its entirety herein.
  • BACKGROUND
  • Traditional models for functional decomposition of algorithms are vague in their definition of lower decomposition levels. In the Yourdon structured model, control transformations decompose into state transition diagrams which represent the real-time aspects of the system. Although control transformations were used by Yourdon, Ward and Millor, and Hatley and Pirbhai to define real-time control transformation events, their definition of control transformation does not include any of the following types of software statements: goto, if-then-else, switch loops, and subroutine calls.
  • If the transformations decompose from the highest to the lower levels, but the complexity is not constrained by the developer as the functionality decomposes, as in the McCabe model, the amount of control is unconstrained, and it is not clear when the decomposition should end. Furthermore, since the unconstrained decomposition does not inherently simplify the design, it does not actually meet the criteria of mathematical functional decomposition.
  • SOLUTION
  • To eliminate the above-noted shortcomings of previous decomposition methods, a simple graph, created in accordance with the multiprocessor functional decomposition (MPfd) model described herein, is constrained to a single control structure per decomposition level and exposes all transitions, preparing the graph for translation into a finite state machine (FSM).
  • Traditionally, FSMs have been used to create compilers and have also been used in sequential circuit design. Being able to use FSMs in general software design and thus in general programming offers huge benefits for general programming including increased software clarity and the ability better combine computer software with computer hardware. That is, instead of simply compiling a source program into an FSM as part of the process of generating an executable code, it is highly advantageous to utilize the FSM, such as by manipulating a graphical depiction of the FSM, when generating the software design.
  • Disclosed herein are a system and method for performing functional decomposition of a software design to generate a computer-executable finite state machine. Initially, the software design is received in a form wherein functions in the software design are repetitively decomposed into (1) data and control transformations. Included between the functions are control flow indicators which have transformation-selection conditions associated therewith. The data transformations and the control transformations are translated into states in the finite state machine. The transformation-selection conditions associated with the control transformations are translated into state transitions in the finite state machine.
  • BRIEF DESCRIPTION OF THE DRAWINGS
  • FIG. 1 is a system diagram showing an exemplary computing environment in which the present system functions.
  • FIG. 2 is a prior art standard functional decomposition diagram.
  • FIG. 3 shows an example of multiple threads from decomposition of function with dissimilar parameters.
  • FIG. 4 shows an example of functional decomposition with transition conditions and threads.
  • FIG. 5 shows an example of functional decomposition with conditions, threads and added loops.
  • FIG. 6 is an example illustrating the highest level decomposition (level 0).
  • FIG. 6 a is a flowchart showing an exemplary algorithm for converting an MPfd to a finite state machine.
  • FIG. 7 shows an exemplary functional decomposition diagram.
  • FIG. 8 shows a finite state machine view of the translation of a single-process bubble into its state machine equivalent.
  • FIG. 9 shows an exemplary lower level decomposition diagram, functional decomposition view.
  • FIG. 10 shows an exemplary lower level decomposition diagram, finite state machine view.
  • FIG. 11 shows multiple loops, functional decomposition view.
  • FIG. 12 shows an example of multiple loops, finite state machine view.
  • FIG. 13 shows an example of a loop with label, functional decomposition view.
  • FIG. 14 shows an example of a loop with label, finite state machine view.
  • FIG. 15 shows an example of multiple data on lines and multiple conditions on transition.
  • FIG. 16 shows an example of transition and data lines using labels.
  • FIG. 17 is an exemplary lower level decomposition diagram with composite variable names, functional decomposition view.
  • FIG. 18 is an exemplary lower level decomposition diagram without composite array names and dimensionality.
  • FIG. 19 is an exemplary lower level decomposition diagram with composite array names and dimensionality.
  • FIG. 20 is an exemplary lower level decomposition diagram with composite matrix names with multiple dimensions.
  • FIG. 21 shows an example of associated bubbles linked via control-flows.
  • FIG. 22 shows an example of unassociated bubbles.
  • FIG. 23 shows an example of data associated bubble.
  • FIG. 24 shows an example of control linked, unassociated level-2 bubbles.
  • FIG. 25 shows an example of transformation to standard unassociated form.
  • FIG. 26 shows an example of transformation to standard associated form.
  • FIG. 27 shows an example of unassociated process bubbles to task parallel indicating finite state machine.
  • FIG. 28 shows an example of transpose notation, functional decomposition view.
  • FIG. 29 shows an example of transpose notation, finite state machine view.
  • FIG. 30 shows an example of scatter/gather notation, functional decomposition view.
  • FIG. 31 shows an example of scatter/gather, finite state machine view.
  • FIG. 32 shows an example of parallel i/o indication.
  • FIG. 33 shows an example of selecting particular matrix elements.
  • FIGS. 34 a and 34 b show examples of incomplete decomposition.
  • FIG. 35 shows an example of a 1-dimensional monotonic workload symbol, functional decomposition view.
  • FIG. 36 shows an example of a 1-dimensional monotonic workload symbol, finite state machine view.
  • FIG. 37 shows an example of a 2-dimensional monotonic workload symbol, functional decomposition view.
  • FIG. 38 shows an example of a 2-dimensional monotonic workload symbol, finite state machine view.
  • FIG. 39 shows an example of a 3-dimensional monotonic workload symbol, functional decomposition view.
  • FIG. 40 shows an example of a 3-dimensional monotonic workload symbol, finite state machine view.
  • FIG. 41 shows an example of a left-right exchange symbol—no stride, functional decomposition view.
  • FIG. 42 shows an example of a left-right exchange symbol—no stride, finite state machine view.
  • FIG. 43 shows an example of a left-right exchange—with stride, functional decomposition view.
  • FIG. 44 shows an example of a left-right exchange—with stride, finite state machine view.
  • FIG. 45 shows an example of a next-neighbor exchange symbol—no stride, functional decomposition view.
  • FIG. 46 shows an example of a next-neighbor exchange—no stride, finite state machine view.
  • FIG. 47 shows an example of a next-neighbor exchange symbol—with stride, functional decomposition view.
  • FIG. 48 shows an example of a next-neighbor exchange—with stride, finite state machine view.
  • FIG. 49 shows an example of a 3-dimensional next-neighbor exchange symbol—no stride, functional decomposition view.
  • FIG. 50 shows an example of a 3-dimensional next-neighbor exchange—no stride, finite state machine view.
  • FIG. 51 shows an example of a 3-dimensional next-neighbor exchange symbol—with stride, functional decomposition view.
  • FIG. 52 shows an example of a 3-dimensional next-neighbor exchange—with stride, finite state machine view.
  • FIG. 53 shows an example of a 2-dimensional matrix with 2-dimensional stencil for 2-d next-n-neighbor exchange symbol—no stride, functional decomposition view.
  • FIG. 54 shows an example of a 2-dimensional matrix with 2-dimensional stencil for 2-d next-n-neighbor exchange—no stride, finite state machine view.
  • FIG. 55 shows an example of a 2-dimensional matrix with 2-dimensional stencil for 2-d next-n-neighbor exchange symbol—with stride, functional decomposition view.
  • FIG. 56 shows an example of a 2-dimensional matrix with 2-dimensional stencil for 2-d next-n-neighbor exchange—with stride, finite state machine view.
  • FIG. 57 shows an example of a 1-dimensional all-to-all exchange symbol—no stride, functional decomposition view.
  • FIG. 58 shows an example of a 1-dimensional all-to-all exchange—no stride, finite state machine view.
  • FIG. 59 shows an example of a 1-dimensional all-to-all exchange symbol—with stride, functional decomposition view.
  • FIG. 60 shows an example of a 1-dimensional all-to-all exchange—with stride, finite state machine view.
  • FIG. 61 shows an example of a 2-dimensional all-to-all exchange symbol—no stride, functional decomposition view.
  • FIG. 62 shows an example of a 2-dimensional all-to-all exchange—no stride, finite state machine view.
  • FIG. 63 shows an example of a 2-dimensional all-to-all exchange symbol—with stride, functional decomposition view.
  • FIG. 64 shows an example of a 2-dimensional all-to-all—with stride, finite state machine view.
  • FIG. 65 shows an example of a 3-dimensional all-to-all exchange symbol—no stride, functional decomposition view.
  • FIG. 66 shows an example of a 3-dimensional all-to-all exchange—no stride, finite state machine view.
  • FIG. 67 shows an example of a 3-dimensional all-to-all exchange symbol—with stride, functional decomposition view.
  • FIG. 68 shows an example of a 3-dimensional all-to-all exchange—with stride, finite state machine view.
  • DETAILED DESCRIPTION
  • Although functional decomposition has long been used to design software, the multiprocessor functional decomposition (MPfd) techniques and methods described herein extend beyond mere design. First, any design created using the presently described MPfd methods can, by definition, be translated directly into a finite state machine (FSM). Since field programmable gate arrays (FPGAs) and graphical processing units (GPUs) use FSMs in their programming, the MPfd is useful in creating not only CPU but GPU and FPGA codes as well. Second, incorrect MPfd structures can be automatically detected and corrected. Third, MPfd techniques incorporate the automatic selection of the pass-by-value or the pass-by-reference data movement model for moving data between functional elements. This allows the presently-described system to combine computer languages like “C” and “C++” with other computer languages like Fortran or Java. Fourth, MPfd elements are annotated with information concerning the use of any data, not just the data type. Using the MPfd model to automatically find task-level and non-task-level parallelism from design, instead of the user finding it within the code, allows separate compute threads to simultaneously process data.
  • Since a task in the present system is equivalent to one or more data transformations (or simply “transformations”) and since a transformation is a state in the present finite state machine (FSM), showing which states can be executed in parallel is equivalent to indicating the task parallelism.
  • DEFINITIONS
  • For the purpose of this document, the following definitions are supplied to provide guidelines for interpretation of the terms below as used herein:
  • Function—a software routine, or more simply an algorithm that performs one or more transformations.
  • Control Kernel—A control kernel is a software routine or function that contains only the following types of computer-language constructs: subroutine calls, looping statements (for, while, do, etc.), decision statements (if-then-else, etc.), and branching statements (goto, jump, continue, exit, etc.).
  • Process Kernel—A process kernel is a software routine or function that does not contain the following types of computer-language constructs: subroutine calls, looping statements, decision statements, or branching statements. Information is passed to and from a process kernel via RAM.
  • State Machine—The state machine employed herein is a two-dimensional network which links together all associated control kernels into a single non-language construct that provides for the activation of process kernels in the correct order. The process kernels form the “states” of the state-machine while the activation of those states form the state transition. This eliminates the need for software linker-loaders.
  • State Machine Interpreter—for the purpose of the present document, a State Machine Interpreter is a method whereby the states and state transitions of a state machine are used as active software, rather than as documentation.
  • Node—A node is a processing element comprised of a processing core, or processor, memory and communication capability.
  • Data transformation—A data transformation is a task that accepts data as input and transforms the data to generate output data.
  • Control transformation—A control transformation evaluates conditions and sends and receives control to/from other control transformations and/or data transformations.
  • Control bubble—A control bubble is a graphical indicator of a control transformation. A control bubble symbol indicates a structure that performs only transitions and does not perform processing.
  • Process bubble—A process bubble is a graphical indicator of a data transformation.
  • Finite state machine—A finite state machine is an executable program constructed from the linear code blocks resulting from transformations, where the transformation-selection conditions are state transitions constructed from the control flow.
  • Graphics—Graphics means both the display by a computer of concepts such as a software design and FSM using visible objects, as well as the ability of a user to manipulate those objects to manipulate the concepts represented by the graphics.
  • Computing Environment
  • FIG. 1 is an exemplary diagram of the computing environment in which the present system and method operates. As shown in FIG. 1, system 100 includes a processor 101 which executes tasks and programs including a kernel management module 110, an algorithm management module 105, state machine 124, a kernel execution module 130, and an algorithm execution module 125. System 100 further includes storage 107, in which is stored data including libraries 115/120 which respectively store algorithms 117 and kernels 122. Storage 107 may be RAM, or a combination of RAM and other storage such as a disk drive. Module 102 performs a translation of a graphical input functional decomposition diagram 700 (see, e.g., FIG. 7) to corresponding MPfd functions (ultimately, states in a state machine), and stores the translated functions in appropriate libraries in storage area 108. Module 103 generates appropriate FSMs from the translated functions.
  • System 100 is coupled to a host management system 145, which provides management of system functions, and issues system requests. Algorithm execution module 125 initiates execution of kernels invoked by algorithms that are executed. Algorithm execution system 135 may comprise any computing system with multiple computing nodes 140 which can execute kernels stored in system 100. Management system 145 can be any external client computer system which requests services from the present system 100. These services include requesting that kernels or algorithms be added/changed/deleted from a respective library within the current system. In addition, the external client system can request that a kernel/algorithm be executed. It should be noted that the present system is not limited to the specific file names, formats and instructions presented herein.
  • A kernel is an executable computer program or program segment that contains data transformation/data code, and no program execution control code, where execution control code is any code that can change which code is to be executed next. In the exemplary embodiment described herein, kernels 122 are stored in a kernel library file 121 in kernel library 120.
  • An algorithm is a state machine that comprises states (kernel invocations) and state transitions (the conditions needed to go from one state to another). References to the “system” in this section refer in general to system 100, and in applicable embodiments, to algorithm management module 105. Each algorithm 117 is kept in an algorithm definition file 116 in algorithm library 115 with a name (Algorithm_Title) that is the concatenation of the organization name, the category name, algorithm name, and user name with a ‘_’ character between each of the names.
  • Algorithm Definition File with Task Parallelism Example:
  • StateNumber[(state1, . . . state n), state x, state y, state z)], KernelID(nodelnfo)(InputDatasets)(OutputDatasets)(Transitions)(Loops)
  • In the above example, the parallel tasks are executed at the same time as “StateNumber”.
  • Functional Decomposition
  • A control transformation evaluates conditions and sends and receives control. One primary difference between the Yourdon model and the present MPfd model is in how control transformations are handled. MPfd allows a control transformation to contain non-event control items. Non-event control items are conditions that change the sequence of execution of a program (if-then-else, go to, function calls, function returns), and a condition is a regular conditional expression.
  • Variables used by a control transformation can only be used in a condition; they cannot be transformed into any other value. An Invoke instruction initiates system operation; variables and constants are used in conditions to transition to a control transformation; and a Return instruction gives control back to the control transformation with the name of the returning routine. A control transformation can have only one selection condition per transformation, and there can be, at most, one control transformation per decomposition level.
  • The MPfd model creates hierarchical finite state machines (HFSM) whose state transitions have conditions and whose states are data transformations and control transformations. Data transformations can always, eventually, be associated with linear code blocks, while control transformations contain only transitions with no associated code blocks.
  • Data transformations represent the parallelizable portion of the software design. In MPfd designs, there are three data transformation types: associated, unassociated, and ambiguous. These types are concerned with the relationship between an upper-level transformation and its immediate next-level decomposition.
  • Associated transformations are grouped together and share data and/or control. Unassociated transformations are grouped together but share no data or control. Unassociated transformations can be executed in parallel. This is called task-level parallelization. Ambiguous transformations can always be converted to either associated or unassociated forms.
  • A data transformation can contain three types of looping structures: pre-work, post-work and recursion. Pre-work means that the loop-ending condition is checked prior to performing the work and is denoted by a downward-pointing solid-loop symbol on a transformation. Post-work means that the loop-ending condition is checked after performing the work and is denoted by an upward-pointing solid-loop symbol on a transformation. Recursion means that the transformation calls itself and is denoted by a downward-pointing dashed-loop symbol on a transformation.
  • In the Yourdon model, only the control transformation decomposes into a finite state machine (FSM). In an MPfd design, the entire diagram of the current decomposition level is converted into an FSM.
  • The lowest level of transformation decomposition represents a linear code block. Decomposition ends when a data transformation cannot decompose into a set of data transformations grouped together with a control transformation or when the decomposition results in the same graph as the decomposed transformation.

  • y=f(a,b,c, . . . )=g(h 1(h 2(a,b),c),h 3(d,h 4(e),f), . . . , h n(a,b,c, . . . ))  Equation 1 Mathematics of Functional Decomposition
  • In the example of Equation 1 above, the “hx( )” functions can also be decomposed, and this decomposition can continue. In standard decomposition, there is no specified last decomposition. In an MPfd, the decomposition continues until only a series of function calls depicting the structure of the function remains. A final decomposition then occurs when there are no function calls, and only a single data transformation remains. At that point, the decomposition has progressed to the kernel level, with the non-transformation functions equivalent to control kernels and the transformation-only functions equivalent to process kernels. By its nature, an MPfd forms a disjoint, fully reduced set of functions.
  • Function Dependencies
  • Transforming a function into its decomposed equivalent set of functions means hierarchically identifying functions within functions such that the equivalent functionality of the original function is maintained while the complexity of the component functions simplifies. This can be illustrated using the “g( )” function from Equation 1. The function g(h1(h2(a, b), c), h3(d, h4(e)), . . . hn (a, b, c, d, e, f)) uses the various “hx( )” functions as its parameters. The “hx( )” functions can, thus, be ordered by the “g( )” function in the same way as variables are ordered within a function. If some or all of the “hx( )” functions were also decomposed, they would have the decomposed functions as additional parameters. Unfortunately, the standard decomposition diagram notation does not make this functional ordering fully visible; that is, usually, the ordering is bound in the mathematics of “go”.
  • The standard view of the functional ordering of decomposed functions “g( )” might give is shown in FIG. 2, which is a diagram showing a standard, prior art, functional decomposition. The function-order arrows (control flow indicators) on the standard functional decomposition diagram of FIG. 2 indicate the calling order of the functions. This calling order comes from a combination of the decomposition level (indicated by the level number shown on the diagram) and the parameter order of the functions as shown in FIG. 2. If the parameters used by some functions are different from those used by some other functions, those disjoint functions can be executed in parallel. The functions that share the same parameters are said to be joint and are executed serially.
  • In order to create different joint execution streams, in accordance with the present MPfd model, each function in a particular algorithm receives an execution-stream identifier. In the present exemplary embodiment, this execution-stream identifier is represented as a program thread. Graphically illustrated, this MPfd-type decomposition takes the form shown in the diagram of FIG. 3, which shows multiple threads from decomposition of a function with dissimilar parameters. By examining FIG. 3, it can be seen that thread 1 is used to coordinate the parallel execution of threads 2 and 3. In threads 2 and 3, the thread-sharing functions share variables and are linear to each other, but it is clear that threads 2 and 3 do not share data. Since there are no linear dependencies between thread 2 and thread 3 and no shared data, the two threads can be executed simultaneously.
  • Conditions for Transition
  • In a standard functional decomposition diagram, the function-order arrows contain no information other than indicating a general relationship. In the present system, a condition is added to the function-order arrows and this additional information can be used to identify additional parallelism. The MPfd control flow indicators each comprise a function-order arrow plus an associated condition. Adding function-calling or transition information to a function-order arrow is a way to graphically depict the circumstances under which a function is called; that is, it shows the underlying logical/mathematical rationale for transitioning to another function. For example, separate threads containing functions with the same parameters can be identified if their transition conditions are different, as shown on FIG. 4, which shows an example of functional decomposition with transition conditions and threads.
  • When the various function-order arrows indicate the transition conditions, they can be thought of as state-transition vectors. If one ignores the variables, the called functions can be thought of as states. Note that the transitions shown in FIG. 4 are of two types: conditional from calculation, and conditional because a particular function has completed. Both types are necessary.
  • Multiple Threads as Nested Finite State Machines
  • Since parameters are a part of the function, they can be considered part of the state. Thus, the present functional decomposition with conditions and threads is functionally equivalent to a finite state machine. Furthermore, since each thread is separate from all other threads and each thread consists only of states and transitions, the threads act as their own state machines. Finally, since the threads are hierarchically formed, they depict nested finite-state machines.
  • Loops
  • As previously indicated, function transitions containing one of two types of transition conditions are required to externalize the control elements of functions, allowing them to be gathered together as threads. It is also clear that the transition is a separate entity type from the functions themselves. Loops or looping structures can be thought of as special, more generalized cases of function transition. Whereas a function transition contains only a condition, a looping structure contains a loop order, an initial loop-index value, a loop-index change calculation, and a loop-ending calculation.
  • FIG. 5 shows an exemplary functional decomposition with conditions, threads and added loops. The example in FIG. 5 shows three loops: a single loop for a specific function, an outer loop across functions, and an inner loop. The loop across functions can be used to loop at the thread level. An inner loop, indicated by having the lowest number in a multiple-loop system, is incremented first with subsequent numbers then incremented in successive order. It should be noted that it is not possible to loop between threads.
  • Functional Decomposition Graphical Model
  • At this point, the ideas of the prior sections are manually incorporated into a simple graphical model (e.g., a functional decomposition diagram 700, described below with respect to FIG. 7, et. seq.) that insures that all of the transitions are exposed. The functional decomposition diagram 700 is then input into graphics storage 108, and translated via graphics translation module 102 into corresponding functions in accordance with the MPfd decomposition methods described herein. The translated functions may be stored in memory area 108.
  • It should be noted that a looping structure can be attached to any decomposition element. This looping structure initializes some data element (variable, array element, or matrix element), performs a calculation on the data element, tests the changed element value for the ending condition, and then transitions to the next functional decomposition element required if the condition is met. The data element used as the loop index is one of the function parameters, allowing the looping structure to interact with the functional element.
  • Highest Level of Decomposition
  • Level 0 of the MPfd consists of only three types of objects: (1) terminators, (2) a single-process bubble (or other indicator) corresponding to the un-decomposed function, and (3) data stores, along with function transitions, loops, and function parameters. The purpose of the highest level of decomposition is to place a function into a larger context. This is accomplished by allowing systems that are external to the function to transmit data and control to/from the function. A terminator represents a complete external system. FIG. 6 shows an example of the highest level (level-0) decomposition. The “Function Transition Conditions” of FIG. 6 correspond to the “Transition Conditions” shown in FIG. 4. The “Process Bubble Name” of FIG. 6 corresponds to function “go” of Equation 1 and FIGS. 2-5. The “Function Parameter Names” of FIG. 6 correspond to the parameters shown in Equation 1 and FIGS. 2-5.
  • Terminators
  • A terminator may be represented as a labeled square. The purpose of terminators is to be able to identify interfaces to outside systems. These interfaces do not correspond to any mathematical functions but instead represent access to data outside of the un-decomposed function. A terminator can be used to represent anything from another computer system to a display screen. Functionally, a terminator behaves similarly to a data store in that data can be sent from/to the terminator from/to the un-decomposed function. The difference between a terminator and a data store is that a terminator can transition from/to the un-decomposed function.
  • Process Bubble
  • A process bubble, adds data, changes data, deletes data, or moves data. Since a process-bubble manipulates data, all activities associated with sending and receiving data to various stores is allowed. Furthermore, since a data element can also serve as a signal, activities associated with various signals are also allowed. A process bubble, as employed in the MPfd model, is a graphical indicator of a data transformation, which is a task that accepts input data and transforms it to generate output data.
  • Exemplary Allowed Process Bubble Activities
  • 1) send data to a data store using output dataflow
  • 2) receive data from a data store using input dataflow
  • 3) Send standard signals to control-bubbles
  • 4) Receive standard signals from control-bubbles
  • 5) Send standard signals to terminators
  • 6) Receive standard signals from terminators
  • 7) Send data to terminators
  • 8) Receive data from terminators
  • Single-Process Bubble
  • The single-process bubble of the highest level of decomposition represents the un-decomposed function. Since the function is not decomposed, there can be only one level-0 process bubble. It is assumed that the level-0 process bubble will be decomposed into other functions.
  • Data Stores
  • A function typically transforms data. One way to graphically depict the transmission of data from/to the single-process bubble is via a terminator. Another way is with a data store. The displayed data stores can send/receive parameter data to/from the single-process bubble.
  • Control Bubble
  • A control bubble is a graphical indicator of a control transformation, which evaluates conditions and sends and receives control to/from other control transformations and/or data transformations. A control bubble symbol indicates a structure that performs only transitions that control the processing flow of a system, and which does not perform processing.
  • Conversion of MPFD to Finite State Machine
  • A primary goal of functional decomposition is the conversion of an MPfd into a finite state machine. This conversion is enabled by adhering to the following rules:
      • 1) There can be only one control bubble at each decomposition level.
      • 2) Only a control bubble can invoke a process bubble.
      • 3) A process bubble can only transmit or receive data from a data store via a data flow.
      • 4) A control bubble can only receive and use data as part of determining which process bubble is to be called.
      • 5) A control bubble can use process bubbles that have completed to sequence to other process bubbles.
      • 6) Data used by a control bubble must be from a process flow.
      • 7) Process bubbles always return control to their calling control bubble.
      • 8) A control bubble can receive/use/send control signals from/to control flows.
      • 9) Process bubbles can decompose into simpler process bubbles and/or a single control bubble and process bubbles.
  • An exemplary algorithm for converting an MPfd to a finite state machine is shown in FIG. 6A and described below.
  • Conversion Algorithm
  • Step 605: Compare decomposition levelx with level(x+1) and determine if level(x+1) process bubbles are associated or un-associated. A functional decomposition element, herein represented by a bubble symbol, can decompose into two types: associated and unassociated. Association has to do with the next-level decomposition of the bubble. Depending on the association type, loops defined at a higher decomposition level behave differently when they are integrated into a lower decomposition level.
  • If an un-decomposed bubble labeled “A” is decomposed into bubbles labeled “1”, “2”, “3”, and “C”, then the un-decomposed bubble is said to reside at Level 1. Bubbles “1”, “2”, “3”, and “C” are said to reside at Level 2. If a control-flow links together any level 2 bubbles, then those bubbles are said to be associated. If the control-flows do not link together the level 2 bubbles, those bubbles are said to be unassociated.
  • Step 610: If level(x+1) process bubbles are associated, then perform the following steps 615-630.
  • Step 615: Any loops found at levelx start with the first associated process bubble and end with the last associated process bubble. That is, multiple states are in the loop. All loops are associated with the set of process bubbles. This step machine-analyzes the design and correctly interprets how the loops work. Using information from one decomposition level to next allows the system to change the algorithm definition file 116 such that the loops are executed correctly.
  • Step 620: The single control bubble that associates the level process bubbles will be the first state on the FSM of level(x+1).
  • Step 625: Level(x+1) control flows are translated into state transition vectors of the level(x+1) FSM.
  • Step 630: Level(x+1) process bubbles are translated into the state of the FSM.
  • Step 635: If level(x+1) process bubbles are un-associated, then perform the following.
  • Step 640: Any loops found at levelx will form a loop of the same type on each un-associated level(x+1) process bubble.
  • Step 645: Decompose any non-recursively defined process bubble into an “x+1” level of the decomposed process bubble. Decomposition levels are complete when an “x+1” decomposition has no control bubble (a group of un-associated process bubbles) or when there is no “x+1” level (step 650). All level(x+1) data stores are hidden within the states of the FSM. The various “x+1” levels are represented as nested states, that is, each state is also an FSM.
  • FIG. 7 shows an exemplary functional decomposition diagram 700 and FIG. 8 shows a finite state machine view of the translation of a single-process bubble into its state machine equivalent. As used herein, the term “bubble” refers to a graphical element such as a solid or dashed line having the approximate form of a circle, ellipse, polygon, or the like. Notice that the control bubble is shown in the finite state machine view as the first state; only the control flows are seen, and these act as state transitions. The looping structure is captured as a looping state transition in the finite state machine 800. The process bubbles are translated into the states of the finite state machine. The data stores are captured as part of the states. Throughout this document, where applicable, both the functional decomposition and finite state machine view are shown in the Drawings.
  • Lower Level Decomposition
  • All decomposition levels below level 0 have one additional item: the control bubble. There is only one control bubble per function decomposition. The purpose of the control bubble symbol is to indicate a structure that performs only transitions and does not perform processing. This symbol has the effect of insuring that all non-looping control is fully exposed. Allowing only a single control bubble per function decomposition forces the complexity of the work to be expressed primarily through decomposition, insuring a structured decomposition with the minimum amount of complexity for each of the decompositions. The control bubble retains the name of the higher-level process bubble.
  • FIGS. 9 and 10 respectively show functional decomposition and finite state machine views of an example of a lower level decomposition. The process bubbles cannot directly send information from one process bubble to another but can do so through a data store. If the data store has the same name, the finite state machine view assumes it will have the same memory addresses. Likewise, a process bubble cannot directly transition to another process bubble but can do so through a control bubble, which is always the initial state.
  • Multiple Loops
  • In order to denote multiple loops, each loop definition is defined separately. FIGS. 11 and 12 respectively show functional decomposition and finite state machine views of multiple loops. As shown in FIGS. 10 and 11, “LPBN1” represents “Lower Process Bubble Name 1”:
  • Because multiple loop definitions can take up so much space on the diagram, a label representing a loop definition table can be used instead, changing the loop display to that shown in FIGS. 13 and 14, which respectively show functional decomposition and finite state machine views of an exemplary looping operation.
  • Selecting the loop name can cause the loop definition(s) to be displayed as shown in Table 1, below:
  • TABLE 1
    EXAMPLE LOOP LABEL DEFINITION
    Loop Name
    Loop
    1 Initial index value 1 Index Calculation 1 Loop End
    Condition
    1
    Loop 2 Initial index value 2 Index Calculation 2 Loop End
    Condition
    2
  • All loops associated with a process bubble are considered nested loops: one loop is within another loop. The first loop defined is considered the inner-most loop, with each successive outer loop defined as surrounding the inner loop. Thus, the example given in FIG. 11 and Table 1 means that Loop 2 is inside of Loop 1; that is, Loop 1 is invoked after Loop 2. Parallel loops occur when two or more process bubbles, without any mutual dependency and occurring at the same decomposition level, each have a loop. The loops of these independent, loop-bearing process bubbles can occur in parallel.
  • Data Elements Variables, Arrays, and Matrices
  • Variables, arrays, and matrices represent data elements of various orders. A variable is a single data element of a certain type and can be thought of as a zero-dimensional object. An array consists of multiple data elements arranged linearly and can be thought of as a single-dimensional object. A matrix consists of multiple data elements arranged into greater than one dimension and can be thought of as a higher-dimensional object. Transitions and loops can use these data objects in their conditions and calculations. This means that there must be a precise way to discuss all data objects.
  • As with the looping structures, there can be multiple data elements per input/output data line or transition. This means that the line or transition can be identified using a label that points to the appropriate definition, as shown in FIGS. 15 and 16, which respectively show functional decomposition and finite state machine views.
  • Selection of the labeled transition in FIG. 16 would then display:
  • TRANSITION NAME
    Condition
    1 Type1:name1 >2
    Condition 2 Type3:name3 = 12.5
  • Selection of the labeled data line in FIG. 16 would then display:
  • DATA LINE NAME
    Data Element
    1 Type2:name2
    Data Element
    2 Type3:name3
  • Variables
  • A variable only requires a label and a type in order to identify it. The following composite label will fully identify a variable:
  • Type:variableName
  • The composite variable name changes the “Function Parameters Names” to a comma-separated list of composite variable names, as shown in FIG. 17, which is a functional decomposition view of an exemplary lower level decomposition with composite variable names.
  • Arrays
  • An array requires a composite consisting of a label, a type, and an array index or element number to identify it. The following composite label will fully identify an array:
  • Type:variableName:“index or element #”
  • If the symbol after the second colon is a Greek symbol, it represents an index; otherwise, it represents an array element. The first index represents a row in MPfd, the second index a column, and the third index the matrix depth.
  • Designating multiple array elements does not designate a loop, only the movement of a certain number of variables.
  • The composite array name changes the “Function Parameters Names” to a comma-separated list of composite array names, as shown in FIG. 18 (lower level decomposition diagram without composite array names and dimensionality) and
  • FIG. 19 (lower level decomposition diagram with composite array names and dimensionality).
  • Matrices
  • A matrix requires a composite consisting of a label, a type, and multiple array element designations to identify it. The following composite label will fully identify an array:
  • Type:variableName a,b, . . . n
  • Each matrix element represents a matrix dimension. The first element represents the first dimension, the second element the second dimension, etc.
  • The composite matrix name changes the “Function Parameters Names” to a comma-separated list of composite matrix names, as shown in FIG. 20, which illustrates a lower level decomposition with composite matrix names with multiple dimensions.
  • Profiling to Determine Node Count
  • Determining how well a process bubble will scale requires knowing how much exposed work and how much exposed communication time is present. The work time can be obtained by measuring the execution time of the process bubble's attached code with data of a known size. The data comes from the test plans and procedures that are attached to every process bubble of every project designed using the MPfd model. The communication time comes from the a priori determination of actual communication time and actual latency time. As long as the following criteria is met, computational elements can be added to increase the processing performance of a process bubble, as shown in Equation 2:

  • S t/(M t +E r)> T   Equation 2 Profile Parallel Target
  • Where:
      • St=Single-node processing time
      • Mt=Multi-node processing time
      • Et=Exposed communication time
  • The target value T can be set by the present system. Profiling will continue until the condition is no longer met. The minimum, maximum, and median dataset sizes associated with a design bubble for an particular kernel or algorithm are used to calculate the number of processing elements for any dataset size greater than the minimum and less than the maximum.
  • Automatic Selection of Data Movement Model
  • In computer science parlance, there are two ways to transmit data into a function: pass-by-value and pass-by-reference. Pass-by-value simply means that only the contents of some memory location are transmitted to the function. Sending the contents of a memory location is equivalent to having a constant as an input parameter. That is, all changes made to the value are kept internal to the function with none of those changes accessible outside of the function. This provides for the “encapsulation” of data, insuring that unwanted side effects do not occur between functions. Pass-by-reference allows a function to have multiple output parameters.
  • The following information is associated with a data element on an MPfd: composite name, input designation, and output designation. The input/output designations are a function of the directions of the lines associated with the composite name. The three possibilities are input, output, or both.
  • Pass by Value
  • In an MPfd, pass-by-value is another way of saying that a scalar data element (not an array or matrix) is only input into a function, never output from a function. A constant value must also be passed by value as there is no variable, hence no possibility of referencing a memory location. The input-only scalar data element or constant must use pass-by-value, insuring that the data use is encapsulated. Thus, whenever a scalar or constant input is used in an MPfd, it will signify the use of the pass-by-value method.
  • Pass by Reference
  • If the composite name in an MPfd refers to vector data (an array or matrix), particular data elements must be accessible. In computer programming, such access occurs as an offset to some base location. Thus, the base memory location must be transmitted to the function. Also, if the contents of a memory location must change (as is the case for output scalars), the memory location of the data element needs to be known. In both cases, a memory location is passed to the function, called referencing, and the contents of the memory location(s) accessed, called dereferencing. This allows the memory locations to be accessed and changed, with the changes visible to other functions simply using the same differencing method.
  • Functional Decomposition Data Transmission Model
  • Since it is possible for an MPfd to determine the data transmission model (pass-by-value or pass-by-reference) automatically from information generated as part of an MPfd, one of the most confusing aspects of modern computer programming can now be performed automatically, from design.
  • Automatic Detection of Parallel Algorithm Decomposition
  • There are two types of parallel processing indicators that can be included on MPfd design diagrams: structural and non-structural. Structural parallel indicators are determined by the design without any extra information. Task parallelism is an example of structural indication. Other types of parallelism detectable via structural indication include: transpose detection, parallel I/O detection, scatter detection, and gather detection.
  • Non-structural parallel indicators need more information than is usually given in design in order to determine the type of parallelism. Variable definitions in computer languages only support the following information: variable name, variable type, and number of dimensions. Parallelizing a code requires two other types of information: topology and data intent. Topology defines the computational behavior at the edges of a vector or matrix—examples include: Cartesian, toroidal, and spherical.
  • Data intent is the intended use of the data; examples include:
      • (1) particle-like usage—the data represents particles that move throughout a matrix and may interact,
      • (2) field-like usage—a force that affects to some degree data across a large section of the matrix simultaneously,
      • (3) search-like intent—data that interacts with a larger set of data, giving some result, and
      • (4) series expansions/contractions—calculation of the terms of a mathematical series.
  • The present MPfd method allows a designer to indicate the algorithm processing topology and the data intent, giving the design the information required to complete the parallel processing. The topology can be calculated by the present system 100 based upon the data intent. Alternatively, the topology information can be added to the vector or matrix information of the input data of a transformation by the designer.
  • Since an algorithm is defined as a functional decomposition element, it can be decomposed into multiple, simpler algorithms and/or kernels. As previously noted, a functional decomposition element, herein represented by a bubble symbol, can decompose into two types: associated and unassociated. Association has to do with the next-level decomposition of the bubble. Depending on the association type, loops defined at a higher decomposition level behave differently when they are integrated into a lower decomposition level.
  • If the un-decomposed bubble labeled “A” is decomposed into bubbles labeled “1”, “2”, “3”, and “C” then the un-decomposed bubble is said to reside at Level 1. Bubbles “1”, “2”, “3”, and “C” are said to reside at Level 2. If the control-flows link together the level 2 bubbles then those bubbles are said to be associated. FIG. 21 shows an example of associated level-2 bubbles linked via control-flows.
  • If a looping structure is added to Level 1 (Bubble A) then this is interpreted to have the following effect on Level 2: 1) the loop will start with the activation of the first process bubble and end with the last process-bubble ending, 2) the loop will continue to restart the first process bubble until the end-of-loop condition occurs, and 3) upon completion of the loop, control will be transferred back to the original level-1-defined control bubble or terminator. This is also shown in FIG. 21.
  • If the control-flows do not link together the level 2 bubbles, those bubbles are said to be unassociated. FIG. 22 shows an example of unassociated level-2 bubbles.
  • If a looping structure is added to Level 1 (Bubble A) then the looping structure is added to each of the unassociated level 2 bubbles. This is shown in FIG. 23. It is possible for level 2 bubbles to appear to be unassociated because no control-flow binds them but be associated instead via data. Data-associated level 2 bubbles are shown in FIG. 23.
  • Similarly, it is possible to have level-2 bubbles which use the same control structure actually be unassociated as long as neither the control-flows nor the data associates them. This type of unassociated bubble structure is shown in FIG. 24.
  • If the decomposition is incorrect, it is sometimes possible to rearrange the decomposition based upon association. An example of this transformation to standard unassociated form is shown in FIG. 25. Similarly, it is sometimes possible to rearrange the decomposition based upon un-association, as shown in FIG. 26, which is an example showing transformation to standard associated form.
  • Unassociated Process Bubbles Indicating Task Parallelization
  • When process bubbles are grouped together but are not associated, this indicates that those processes can occur at the same time if the tasks are executed on parallel hardware. FIG. 27 shows unassociated process bubbles to task parallel indicating finite state machine. Block 2700 indicates a new state made by the system, creating task level parallelism.
  • Transpose Notation
  • By telling the functional decomposition elements that a vector's or an array's data comes in and is processed then leaves, an opportunity to perform a scatter/gather operation (described below) is defined. The indices on an input vector or matrix are reversed on the output version of the same matrix, and the indices are found in the loop, as shown in FIG. 28, which shows a transpose notation in functional decomposition view. Note that the accent mark by the second “A” means that at least one element of array A has been changed. FIG. 29 shows a transpose notation in finite state machine view.
  • Scatter/Gather Notation
  • A scatter/gather moves data to multiple nodes or gathers information from multiple nodes. The indices of the loops match the active indices of the data, and the order of the data indices does not change. FIG. 30 shows an example of scatter/gather notation, functional decomposition view, and FIG. 31 shows the corresponding finite state machine view. Note that if bubble 1 is the first activated process bubble then “A′” is an input. if bubble 1 is the last process bubble then “A” is an output matrix.
  • Parallel Input/Output Indication
  • Parallel input and output is defined as being from/to a terminator block. Since a terminator block represents another system interfacing with the currently under-design system, obtaining data from this external system is considered input and transmitting data to this external system is considered output. Inputs and outputs to/from terminator blocks can designate that data for the same vector or matrix is being received or sent via separate, parallel data lines by adding the “[ ]” designator to the vector or matrix index. For example, the following are parallel input-data streams defined, as shown in FIG. 32:
      • A , [0-10]=2-dimensional array “A” with indexes and Elements 0 through 100 of index and elements 0 through 10 of index are input.
      • A , [0-10]=2-dimensional array “A” with indexes and Elements 101 through 200 of index and elements 0 through 10 of index are input.
      • A , [0-10]=2-dimensional array “A” with indexes and
  • Output works analogously. If separate vector or matrix elements are input/output to/from a process bubble but not to/from a terminator, then a simple element selection is indicated. An example of selecting particular matrix elements is shown in FIG. 33, wherein process element “1” receives data elements from the “A” matrix rows 0 through 100 and columns 0 through 10.
  • Decomposition Completeness
  • The present system can automatically determine if a functional decomposition is complete, as indicated in FIGS. 34A/34B, which illustrate examples of incomplete decomposition. One example of incomplete decomposition is shown in FIG. 34A. If there is at least one algorithm (bubble 3 in the left-hand diagram, or bubble 2 in the right-hand diagram) which does not decompose into only process and control kernels (the remaining bubbles in FIG. 34A) then the decomposition is incomplete. Another example of incomplete decomposition is shown in FIG. 34B. If there is a bubble that does not have at least one input and one output then the decomposition is considered incomplete.
  • Cross-Communication Notation
  • Data-type issues typically revolve around the concept of data primitive types: integer, real, double, complex, float, string, binary, etc. Groups of data entities are discussed via their dimensionality, as structures, or as structures containing data entities with various dimensionalities. Data primitives, data group structure, and dimensionality all represent a static view of the data. In an MPfd, this information is placed in a table that appears on data flows and data stores. Table 2, below, is an example of a table that provides this information.
  • TABLE 2
    VARIABLE DESCRIPTION
    Figure US20150220309A1-20150806-C00001
  • The variable name gives a name to an object for the Decomposition Analysis graph. The description is a text description of the variable just named. The variable type is the data-primitive type. The number of dimensions describes the dimensionality of the variable: 0-dimension means a standard variable, 1-dimension a vector, and >1-dimension a matrix. The dimension size is required for >1-dimensional objects to indicate the number of variable objects that occur in each dimension. The topology explains how the >0-dimensional object treats its space.
  • The following are potential topologies: unconnected edges: Cartesian; connected edges: 1-dimension (ring), 2-dimensions (cylindrical, toroid, spherical), and 3-dimensions (hyper-cube). The topology information follows the variable.
  • In computer systems, data is rarely static; it is moved, transformed, combined, taken apart: data in computer systems is typically dynamic. The dynamic use of the data is an attribute that is not typically shown in standard representations of data for computer use. With the advent of parallel processing, the dynamic aspects of the data are needed for the selection of the proper parallel processing technique. Examples of the graphical depiction of possible dynamic data usage are shown below.
  • Monotonic Data Use
  • Concept: Linked calculations whose workload grows or shrinks after each calculation.
  • Use: Whenever the workload changes monotonically for each component calculation in a series of calculations.
  • Example Use: Arbitrary precision series expansion calculation of transcendental numbers.
  • Parallel Issue: Load balancing. Since the workload changes monotonically, the last calculation has a workload that is very different from the first calculation. Since the computation time of a group of nodes working on a single problem is equal to computation time of the slowest node and, further, since the effect of naively placing the work in the same order as the calculation order is to concentrate the work onto a single node, this produces a non-optimal parallel solution.
  • Topology Effects: None
  • Action: Create a mesh to provide load balancing.
  • Action Example: The purpose of this mesh type is to provide load balancing when there is a monotonic change to the work load as a function of which data item is used. The profiler shall calculate the time it takes to process each element. Below shows a naive attempt to parallelize such a problem. Sixteen work elements are distributed over four computational nodes. The work increases or decreases monotonically with the work-element number. Below is a 1-dimensional example of a naive work distribution of a monotonic workload-changing problem.
  • TABLE 3
    NAIVE WORK DISTRIBUTION OF A MONOTONIC WORKLOAD
    CHANGING PROBLEM
    Node #
    Node1 Node2 Node3 Node4
    Work 1, 2, 3, 4 5, 6, 7, 8, 9, 10, 11, 12 13, 14, 15, 16
    Elements
  • The mesh shown in Table 3 decomposes the work elements by dividing the number of work elements by the number of nodes and assigning each work element to each node in a linear fashion.
  • Instead of linearly assigning work elements to nodes, the work elements can be alternated to balance the work. For monotonic workload changes, this means the first and last elements are paired, the second and second-to-last elements are paired, etc., as shown in Table 4:
  • TABLE 4
    NON-NAÏVE WORK 1-DIMENSIONAL DISTRIBUTION OF A
    MONOTONIC WORKLOAD CHANGING PROBLEM
    Node #
    Node1 Node2 Node3 Node4
    Work 1, 16, 2, 15 3, 14, 4, 13, 5, 12, 6, 11 7, 10, 8, 9
    Elements
  • FIG. 35 shows a 1-dimensional monotonic workload symbol in functional decomposition view. If a one-dimensional workload is monotonic, then that information is given to MPfd with the symbols shown in FIG. 35. The symbol α* * means that the work (represented as the work within a loop) changes monotonically and that this workload effect applies to vector “A”. That is, α* * means that index alpha is intended to access the data monotonically. Thus the alpha is the loop index and the *mu* is the intended use of the data accessed using the alpha index.
  • Note that, for brevity, the loop is defined by (index:calculation:condition) where the index is the loop index plus any clarifying symbol by the loop index, the calculation is the next index-value calculation, and the condition is the loop-ending condition. FIG. 36 shows a 1-dimensional monotonic workload symbol in finite state machine view. Table 5, below, shows a two-dimensional version of the monotonic workload-changing mesh.
  • TABLE 5
    NON-NAIVE WORK 2-DIMENSIONAL DISTRIBUTION OF A
    MONOTONIC WORKLOAD CHANGING PROBLEM
    X1 X2
    Y1
    1, 64, 2, 63 3, 62, 4, 61 5, 60, 6, 59 7, 58, 8, 57
    9, 56, 10, 55 11, 54, 12, 53 13, 52, 14, 51 15, 50, 16, 49
    Y2 17, 48, 18, 47 19, 46, 20, 45 21, 44, 22, 43 23, 42, 24, 41
    25, 40, 26, 39 27, 38, 28, 37 29, 36, 30, 35 31, 34, 32, 33
  • If a two-dimensional workload is monotonic then that information is given to MPfd with the following symbols. The symbol means that the work (represented as the work within a loop) changes monotonically and that this workload effect applies to vector “A”.
  • FIG. 37 shows a 2-dimensional monotonic workload symbol in functional decomposition view, and FIG. 38 shows a 2-dimensional monotonic workload symbol in finite state machine view.
  • Table 6, below, shows a three-dimensional version of the monotonic workload-changing mesh.
  • TABLE 6
    NON-NAIVE WORK 2-DIMENSIONAL DISTRIBUTION OF A
    MONOTONIC WORKLOAD CHANGING PROBLEM
    X1 X2
    Z1
    Y1 1, 256, 2, 255 3, 254, 4, 253 5, 252, 6, 7, 250, 8,
    251 249
    9, 248, 10, 247 11, 246, 12, 245 13, 244, 14, 15, 242, 16,
    243 241
    Y2 17, 240, 18, 19, 238, 20, 237 21, 236, 22, 23, 234, 24,
    239 235 233
    25, 232, 26, 27, 230, 28, 229 29, 228, 30, 31, 226, 32,
    231 227 225
    Z2
    Y1 33, 224, 34, 223 35, 222, 36, 37, 220, 38, 39, 218, 40,
    221 219 217
    41, 216, 42, 215 43, 214, 44, 45, 212, 46, 47, 210, 48,
    213 211 209
    Y2 49, 208, 50, 207 51, 206, 52, 53, 204, 54, 55, 202, 56,
    205 203 201
    57, 200, 58, 199 59, 198, 60, 61, 196, 62, 63, 194, 64,
    197 195 193
    Z3
    Y1 65, 192, 66, 191 67, 190, 68, 69, 188, 70, 71, 186, 72,
    189 187 185
    73, 184, 74, 183 75, 182, 76, 77, 180, 78, 79, 178, 80,
    181 179 177
    Y2 81, 176, 82, 175 83, 174, 84, 85, 172, 86, 87, 170, 88,
    173 171 169
    89, 168, 90, 167 91, 166, 92, 93, 164, 94, 95, 162, 96,
    165 163 161
    Z4
    Y1 97, 160, 98, 159 99, 158, 101, 156, 103, 154,
    100, 157 102, 155 104, 153
    105, 152, 106, 151 107, 150, 109, 148, 111, 146,
    108, 149 110, 147 112, 145
    Y2 113, 144, 114, 143 115, 142, 117, 140, 119, 138,
    116, 141 118, 139 120, 137
    121 136, 122, 135 123, 134, 125, 132, 127, 130,
    124, 133 126, 131 128, 129
  • FIG. 39 3-dimensional monotonic workload symbol in functional decomposition view, and FIG. 40 shows a 3-dimensional monotonic workload symbol in finite state machine view. If a three-dimensional workload is monotonic then that information is given to MPfd with the symbol shown in FIG. 39. There are three symbols attached to the three loops (, and) These symbols mean that the work (represented as the work within a loop) changes monotonically and that this workload effect applies to vector “A”.
  • Particle Use Model
  • Concept: Particles are used to define discrete objects that move about a vector or array.
  • Use: Modeling physical phenomenon, atoms, ray-traces, fluids, etc.
  • Example Use Computational fluid dynamics, changing image analysis.
  • Parallel Issue: Information sharing.
  • Action: Determine what to cross communicate.
  • A one-dimensional particle exchange with Cartesian topology generates the following version (shown in Tables 7 and 8) of a left-right exchange.
  • TABLE 7
    INITIAL 1-DIMENSIONAL CONDITION BEFORE LEFT-RIGHT
    EXCHANGE
    (Cartesian Topology)
    Node #
    Node1 Node2 Node3 Node4
    Work 1, 2, 3, 4 5, 6, 7, 8, 9, 10, 11, 12 13, 14, 15, 16
    Elements
  • TABLE 8
    1-DIMENSIONAL CONDITION AFTER ONE LEFT-RIGHT
    EXCHANGE
    Node #
    Node1 Node2 Node3 Node4
    Work 1, 2, 3, 5 4, 6, 7, 9, 8, 10, 11, 13 12, 14, 15, 16
    Elements
  • A one-dimensional particle exchange with a Ring topology generates the following version (shown in Table 9 and 10) of a left-right exchange.
  • TABLE 9
    INITIAL 1-DIMENSIONAL CONDITION BEFORE LEFT-RIGHT
    EXCHANGE
    (Ring Topology)
    Node #
    Node1 Node2 Node3 Node4
    Work 1, 2, 3, 4 5, 6, 7, 8 9, 10, 11, 12 13, 14, 15, 16
    Elements
  • TABLE 10
    1-DIMENSIONAL CONDITION AFTER ONE LEFT-RIGHT
    EXCHANGE
    (Ring Topology)
    Node #
    Node1 Node2 Node3 Node4
    Work 16, 2, 3, 5 4, 6, 7, 9 8, 10, 11, 13 12, 14, 15, 1
    Elements
  • Note: Node4 edge information wraps around to node1 and node1 wraps around to node4 in the Ring topology version of the left-right exchange.
  • FIG. 41 (functional decomposition view) depicts a left-right exchange symbol (*π*) indicating no stride, also shown in the finite state machine view of FIG. 42. If a one-dimensional vector is used to depict particles then the * π* symbol shown in FIG. 41 is used.
  • If the processing of the vector skips one or more elements (called striding) then less data needs to be exchanged. The index calculation on the loop indicator can be modified to *π+n* to indicate striding. FIG. 43 depicts a left-right exchange—with stride in a functional decomposition view, and FIG. 44 depicts a left-right exchange in finite state machine view.
  • A two-dimensional particle exchange with Cartesian topology, generates the following version (shown in Table 11 below) of a next-neighbor exchange (edge-number exchange only).
  • TABLE 11
    INITIAL 2-DIMENSIONAL CONDITION BEFORE NEXT-NEIGHBOR
    EXCHANGE (CARTESIAN TOPOLOGY)
    X1 X2
    Y1
    1, 2, 3, 4 5, 6, 7, 8 9, 10, 11, 12 13, 14, 15, 16
    17, 18, 19, 20 21, 22, 23, 24 25, 26, 27, 28 29, 30, 31, 32
    Y2 33, 34, 35, 36 37, 38, 39, 40 41, 42, 43, 44 45, 46, 47, 48
    49, 50, 51, 52 53, 54, 55, 56 57, 58, 59, 60 61, 62, 63, 64
  • TABLE 12
    2-DIMENSIONAL CONDITION AFTER ONE NEXT-NEIGHBOR
    EXCHANGE (CARTESIAN TOPOLOGY)
    X1 X2
    Y1
    1, 2, 3, 4 5, 6, 7, 9 8, 10, 11, 12 13, 14, 15, 16
    33, 34, 35, 36 37, 38, 39, (24, 41, 40), 42, 45, 46, 47, 48
    (25, 41, 40) 43, 44
    Y2 17, 18, 19, 20 21, 22, 23, (40, 24, 25), 26, 29, 30, 31, 32
    (24, 25, 41) 27, 28
    49, 50, 51, 52 53, 54, 55, 57 56, 58, 59, 60 61, 62, 63, 64
  • Note: Parenthesis indicates that the information here is overlaid such that the underlying code treats it as if it were adjacent memory.
  • A two-dimensional particle exchange with Cylindrical topology generates the following version (shown in Tables 13 and 14) of a next-neighbor exchange (edge-number exchange only).
  • TABLE 13
    INITIAL 2-DIMENSIONAL CONDITION BEFORE NEXT-NEIGHBOR
    EXCHANGE (CYLINDRICAL TOPOLOGY)
    X1 X2
    Y1
    1, 2, 3, 4 5, 6, 7, 8 9, 10, 11, 12 13, 14, 15, 16
    17, 18, 19, 20 21, 22, 23, 24 25, 26, 27, 28 29, 30, 31, 32
    Y2 33, 34, 35, 36 37, 38, 39, 40 41, 42, 43, 44 45, 46, 47, 48
    49, 50, 51, 52 53, 54, 55, 56 57, 58, 59, 60 61, 62, 63, 64
  • TABLE 14
    2-DIMENSIONAL CONDITION AFTER ONE NEXT-NEIGHBOR
    EXCHANGE (CYLINDRICAL TOPOLOGY)
    X1 X2
    Y1 49, 50, 51, 52 53, 54, 55, (8, 57, 56), 58, 59, 61, 62, 63,
    (9, 56, 57) 60 64
    33, 34, 35, 36 37, 38, 39, (24, 41, 40), 42, 45, 46, 47,
    (25, 41, 40) 43, 44 48
    Y2 17, 18, 19, 20 21, 22, 23, (40, 24, 25), 26, 29, 30, 31,
    (24, 25, 41) 27, 28 32
    1, 2, 3, 4 5, 6, 7, (8, 57, 9) (56, 9, 8), 10, 11, 13, 14, 15,
    12 16
  • A two-dimensional particle exchange with Toroid topology generates the version of a next-neighbor exchange (edge-number exchange only) shown in Tables 15 and 16 below.
  • TABLE 15
    INITIAL 2-DIMENSIONAL CONDITION BEFORE NEXT-NEIGHBOR
    EXCHANGE (TOROID TOPOLOGY)
    X1 X2
    Y1
    1, 2, 3, 4 5, 6, 7, 8 9, 10, 11, 12 13, 14, 15, 16
    17, 18, 19, 20 21, 22, 23, 24 25, 26, 27, 28 29, 30, 31, 32
    Y2 33, 34, 35, 36 37, 38, 39, 40 41, 42, 43, 44 45, 46, 47, 48
    49, 50, 51, 52 53, 54, 55, 56 57, 58, 59, 60 61, 62, 63, 64
  • TABLE 16
    2-DIMENSIONAL CONDITION AFTER ONE NEXT-NEIGHBOR
    EXCHANGE
    (Toroid Topology)
    X1 X2
    Y1 (49, 16), 50, 51, 52 53, 54, 55, (8, 57, 56), 58, 61, 62, 63,
    (9, 56, 57) 59, 60 (64, 1)
    (33, 32), 34, 35, 36 37, 38, 39, (24, 41, 40), 42, 45, 46, 47,
    (25, 41, 40) 43, 44 (48, 17)
    Y2 (17, 48), 18, 19, 20 21, 22, 23, (40, 24, 25), 26, 29, 30, 31,
    (24, 25, 41) 27, 28 (32, 33)
    (1, 64), 2, 3, 4 5, 6, 7, (56, 9, 8), 10, 13, 14,
    (8, 57, 9) 11, 12 15, (16, 49)
  • FIG. 45 shows a next-neighbor exchange—no stride, in functional decomposition view; FIG. 46 shows a next-neighbor exchange—no stride, in finite state machine view; FIG. 47 shows a next-neighbor exchange symbol—with stride, in functional decomposition view; and FIG. 48 shows a next-neighbor exchange—with stride, in finite state machine view. If a two-dimensional matrix is used to depict particles then the symbol shown in FIGS. 45/47 is used. A new state is automatically added when the system recognizes that a next neighbor exchange is to be used. The data exchange is modified with the “stride” information indicating how much data to skip with each exchange.
  • A three-dimensional particle exchange with Cartesian topology generates the version of a next-neighbor exchange (edge-number exchange only) shown in Tables 17 and 18, below.
  • TABLE 17
    INITIAL 3-DIMENSIONAL CONDITIONS BEFORE NEXT-
    NEIGHBOR EXCHANGE (CYLINDRICAL TOPOLOGY)
    X1 X2
    Z1
    Y1 1, 2, 3, 4 5, 6, 7, 8 9, 10, 11, 12 13, 14, 15,
    16
    17, 18, 19, 20 21, 22, 23, 24 25, 26, 27, 29, 30, 31
    28 32
    Y2 33, 34, 35, 36 37, 38, 39, 40 41, 42, 43, 45, 46, 47,
    44 48
    49, 50, 51, 52 53, 54, 55, 56 57, 58, 59, 61, 62, 63,
    60 64
    Z2
    Y1 65, 66, 67, 68 69, 70, 71, 73, 74, 75, 76 77, 78, 79,
    72 80
    81, 82, 83, 84 85, 86, 87, 89, 90, 91, 92 93, 94, 95,
    88 96
    Y2 97, 98, 99, 100 101, 102, 105, 106, 107, 109, 110,
    103, 104 108 111, 112
    113, 114, 115, 116 117, 118, 121, 122, 123, 125, 126,
    119, 120 124 127, 128
    Z3
    Y1 129, 130, 131, 132 133, 134, 137, 138, 139, 141, 142,
    135, 136 140 143, 144
    145, 146, 147, 148 149, 150, 153, 154, 155, 157, 158,
    151, 152 156 159, 160
    Y2 161, 162, 163, 164 165, 166, 169, 170, 171, 173, 174,
    167, 168 172 175, 176
    177, 178, 179, 180 181, 182, 185, 186, 187, 189, 190,
    183, 184 188 191, 192
    Z4
    Y1 193, 194, 195, 196 197, 198, 201, 202, 203, 205, 206,
    199, 200 204 207, 208
    209, 210, 211, 212 213, 214, 217, 218, 219, 221, 222,
    215, 216 220 223, 224
    Y2 225, 226, 227, 228 229, 230, 233, 234, 235, 237, 238,
    231, 232 236 239, 240
    241, 242, 243, 244 245, 246, 249, 250, 251, 253, 254,
    247, 248 252 255, 256
  • TABLE 18
    DIMENSIONAL CONDITION AFTER ONE NEXT-NEIGHBOR
    EXCHANGE
    (Cartesian Topology)
    X1 X2
    Z1
    Y1 65, 69, (8, 73), (13, 77),
    66, 70, (10, 74), (14, 78),
    67, 71, (11, 75), (15, 79),
    68 (9, 72) (12, 76) (16, 80)
    81, 85, (24, 40, 41, 89), (45, 93),
    82, 86, (42, 90), (46, 94),
    83, 87, (43, 91), 47, 95),
    84 (25, 40, 41, 88) (44, 92) (48, 96)
    Y2 (17, 97), (21, 101), (24, 25, 40, 105), (29, 109),
    (18, 98), (22, 102), (26, 106), (30, 110),
    (19, 99), (23, 103), (27, 107), (31, 111),
    (20, 100) (24, 25, 41, 104) (28, 108) (32, 112)
    113, 117, (56, 121), 125,
    114, 118, 122, 126,
    115, 119, 123, 127,
    116 (57, 120) 124 128
    Z2
    Y1 (65, 1, 129), (69, 5, 133), (72, 9, 137), (77, 13, 141),
    (66, 2, 130), (70, 6, 134), (10, 74, 138), (78, 14, 142),
    (67, 3, 131), (71, 7, 135), (75, 11, 139), (79, 15, 143),
    (68, 4, 132) (73, 8, 136) (76, 12, 140) (80, 16, 144)
    (97, 17, 129)(98, (101, 21, 133), (102, (104, 105, 88, 25, 153), (109, 29, 157),
    18, 130), (99, 19, 22, 134), (103, 23, (106, 26, 154), (110, 30, 158),
    131), 135), (107, 27, 155), (111, 31, 159),
    (100, 20, 132) (104, 89, 105, 24, 136) (108, 28, 156) (112, 32, 160)
    Y2 (81, 33, 161), (85, 37, 165), (89, 104, 88, 41, 169), (93, 45, 173),
    (82, 34, 162), (86, 38, 166), (90, 42, 170), (94, 46, 174),
    (83, 35, 163), (87, 39, 167), (91, 43, 171), (95, 47, 175),
    (84, 36, 164) (88, 40, 168, 89, 105) (92, 44, 172) (96, 48, 176)
    (113, 49, 177), (117, 53, 181), (120, 57, 185), (125, 61, 189),
    (114, 50, 178), (118, 54, 182), (122, 58, 186), (126, 62, 190),
    (115, 51, 179), (119, 55, 183), (123, 59, 187), (127, 191),
    (116, 52, 180) (121, 56, 184) (124, 60, 188) (128, 64, 192)
    Z3
    Y1 (129, 65, 193), (133, 69, 197), (136, 73, 201), (141, 77, 205),
    (130, 66, 194), (134, 70, 198), (138, 74, 202), (142, 78, 206),
    (131, 67, 195), (135, 71, 199), (139, 75, 203), (143, 79, 207),
    (132, 68, 196) (137, 72, 200) (140, 76, 204) (144, 80, 208)
    (161, 81, 209), (165, 85, 213), (169, 152, 168, 89, 217), (173, 93, 221),
    (162, 82, 210), (166, 86, 214), (170, 90, 218), (174, 94, 222),
    (163, 83, 211), (167, 87, 215), (171, 91, 219), (175, 95, 223),
    (164, 84, 212) (168, 153, 169, 88, (172, 92, 220) (176, 96, 223)
    216)
    Y2 (145, 97, 225), (149, 101, 229), (153, 152, 168, 105, (157, 109, 237),
    (146, 98, 226), (150, 102, 230), 233), (158, 110, 238),
    (147, 99, 227), (151, 103, 231), (154, 106, 234), (159, 111, 239),
    (148, 100, 228) (152, 104, 232, 153, (155, 107, 235), (160, 112, 240)
    169) (156, 108, 236)
    (177, 113, 241), (181, 117, 245), (184, 121, 249), (189, 125, 252),
    (178, 114, 242), (182, 118, 246), (186, 122, 249), (190, 126, 253),
    (179, 115, 243), (183, 119, 247), (187, 123, 250), (191, 127, 254),
    (180, 116, 244) (185, 120, 248) (188, 124, 251) (192, 128, 255)
    Z4
    Y1 (193, 129), (197, 133), (200, 137), (205, 141),
    (194, 130), (198, 134), (202, 138), (206, 142),
    (195, 131), (199, 135), (203, 139), (207, 143),
    (196, 132) (201, 136) (204, 140) (208, 144)
    (225, 145), (229, 149), (233, 232, 216, 153), (237, 157),
    (226, 146), (230, 150), (234, 154), (238, 158),
    (227, 147), (231, 151), (235, 155), (239, 159),
    (228, 148) (232, 217, (236, 156) (240, 160)
    233, 152)
    Y2 (209161), (213, 165), (217, 232, 216, 169), (221, 173),
    (210, 162), (214, 166), (218, 170), (222, 174),
    (211, 163), (215, 167), (219, 171), (223, 175),
    (212, 164) (216, 168, (220, 172) (224, 176)
    217, 233)
    (241, 177), (245, 181), (248, 185), (253, 189),
    (242, 178), (246, 182), (250, 186), (254, 190),
    (243, 179), (247, 183), (251, 187), (255, 191),
    (244, 180) (249, 184) (252, 188) (256, 192)
  • FIG. 49 shows a 3-dimensional next-neighbor exchange symbol [* *] indicating no stride, in functional decomposition view; FIG. 50 shows a 3-dimensional next-neighbor exchange—no stride, in finite state machine view; FIG. 51 shows a 3-dimensional next-neighbor exchange—with stride, in functional decomposition view; and FIG. 52 shows a 3-dimensional next-neighbor exchange—with stride, in finite state machine view. If a three-dimensional matrix is used to depict particles, then the symbol shown in FIG. 49 is used.
  • FIG. 53 shows a 2-dimensional matrix with 2-dimensional stencil for 2-d next-n-neighbor exchange symbol—no stride, in functional decomposition view; FIG. 54 shows a 2-dimensional matrix with 2-dimensional stencil for 2-d next-n-neighbor exchange—no stride, in finite state machine view; and FIG. 55 shows a 2-dimensional matrix with 2-dimensional stencil for 2-d next-n-neighbor exchange symbol—with stride, in functional decomposition view. The next-neighbor exchange can be extended to a next-n-neighbor exchange. Frequently, the depth of the exchange is a function of some size of the stencil that is applied to it. The exchange will consist of using the number of elements along the dimension of the exchange found in the stencil. If the number of elements is greater than the discretization size then the data must be shared across multiple nodes. Since the stencil is itself a vector or matrix, the symbol for a two-dimensional matrix with a two-dimensional stencil (shown in FIG. 53) can be used to generate a next-n-neighbor exchange.
  • FIG. 56 shows a 2-dimenssional matrix with 2-dimensional stencil for 2-d next-n-neighbor exchange—with stride, in finite state machine view. Since B cannot change (depicted by the lack of an accent mark) and has the same number of dimensions as A′, it is assumed to be a stencil. Note that the stencil must be smaller than the processed vector or matrix in every dimension; otherwise, it is considered a non-stenciled matrix operation, and the next-n-matrix does not apply.
  • Field Use Model
  • Concept: A field affects everything at once so if the field is distributed over multiple nodes then everything must communicate with everything.
  • Use: Modeling physical phenomenon.
  • Example Use: Gravity modeling.
  • Parallel Issue: Information exchange.
  • Action: Determine what to cross communicate.
  • Action Example: Perform an all-to-all exchange of data.
  • FIG. 57 shows a 1-dimensional all-to-all exchange symbol—no stride, in functional decomposition view; FIG. 58 shows a 1-dimensional all-to-all exchange—no stride, in finite state machine view; FIG. 59 shows a 1-dimensional all-to-all exchange symbol—with stride, in functional decomposition view; FIG. 60 shows a 1-dimensional all-to-all exchange—with stride, in finite state machine view; and If a one-dimensional vector is used to depict a field then the symbol shown in FIG. 57 is used.
  • FIG. 61 shows a 2-dimensional all-to-all exchange symbol —no stride, in functional decomposition view; FIG. 62 shows a 2-dimensional all-to-all exchange—no stride, in finite state machine view; FIG. 63 shows a 2-dimensional all-to-all exchange symbol—with stride, in functional decomposition view figure; and FIG. 64 shows a 2-dimensional all-to-all—with stride, IN finite state machine view. If a two-dimensional matrix is used to depict fields then the symbol shown in FIG. 61 is used.
  • FIG. 65 shows a 3-dimensional all-to-all exchange symbol—no stride, in functional decomposition view; FIG. 66 shows a 3-dimensional all-to-all exchange—no stride, in finite state machine view; FIG. 67 shows a 3-dimensional all-to-all exchange symbol—with stride, in functional decomposition view; and FIG. 68 shows a 3-dimensional all-to-all exchange—with stride, in finite state machine view. If a three-dimensional matrix is used to depict fields then the symbol shown in FIG. 65 is used.
  • Certain changes may be made in the above methods and systems without departing from the scope of that which is described herein. It is to be noted that all matter contained in the above description or shown in the accompanying drawings is to be interpreted as illustrative and not in a limiting sense. The elements and steps shown in the present drawings may be modified in accordance with the methods described herein, and the steps shown therein may be sequenced in other configurations without departing from the spirit of the system thus described. The following claims are intended to cover all generic and specific features described herein, as well as all statements of the scope of the present method, system and structure, which, as a matter of language, might be said to fall there between.

Claims (15)

What is claimed is:
1. A method for performing functional decomposition to generate a computer-executable finite state machine (FSM), the method comprising:
receiving, via manual interaction by a user, a graphical diagram of a software design,
the software design comprising functions that are repetitively decomposed into hierarchical sub-functions including data transformations and control transformations until each of the data transformations consists of a respective linear code block,
the graphical diagram comprising hierarchical decomposition levels each respectively representing the sub-functions, each decomposition level comprising:
a control bubble indicating the control transformations within the software design,
a process bubble indicating the data transformations within the software design, and
a control flow indicator between the control and process bubbles having a transformation-selection condition associated therewith;
translating the graphical diagram into a graphical FSM diagram wherein:
at each of the decomposition levels, the control bubble is a first state indicator in the FSM diagram, the process bubble is a subsequent state indicator in the FSM diagram, and
the control flow indicator is a state transition indicator in the graphical FSM diagram; and
receiving a manipulation by the user of at least one of the graphical diagram and graphical FSM diagram.
2. The method of claim 1, further comprising generating an FSM as an executable program constructed from the linear code blocks, wherein state transition-selection conditions associated with the control flow indicatorsare state transitions within the FSM.
3. The method of claim 1, the graphical diagram further comprising a looping structure associated with at least one of the process bubbles.
4. The method of claim 1, the process bubble comprising at least one of associated process bubbles and an unassociated process bubble; wherein the process bubbles are associated if the control bubble links together a pair of the process bubbles, otherwise the process bubbles are unassociated.
5. The method of claim 4, the hierarchical decomposition levels comprising a higher-level decomposition level and a lower level decomposition level; wherein if the higher-level decomposition level includes a looping structure, each unassociated process bubble within the lower-level decomposition level is automatically given the same looping structure.
6. The method of claim 1, the graphical diagram further comprising an execution-stream identifier representing a corresponding program thread of each respective function.
7. The method of claim 1, wherein the data transformations accept and generate data using at least one input and one output variable, and the control transformations include only transitions with no associated code blocks.
8. The method of claim 1, wherein the control transformations include a non-event control item comprising a condition that changes the sequence of execution of program logic within the software design.
9. The method of claim 8, wherein each said non-event control item is selected from the list consisting of if-then-else, go to, function calls, and function returns.
10. The method of claim 1, wherein each of the control flow indicators comprises a function-order arrow and an associated condition constituting a regular conditional expression.
11. The method of claim 1, wherein data is passed only to a data transformation via a data store.
12. The method of claim 1, wherein the lowest level of the hierarchical decomposition levels indicates that none of the data transformations represented in the lowest level can be decomposed into a set of data transformations grouped together with a control transformation.
13. The method of claim 1, wherein:
only one said control bubble exists at each decomposition level;
each said process bubble is invoked by a control bubble;
each said process bubble transmits and receives data from a data store via a data flow;
each said control bubble receives and uses data as part of determining which said process bubble is to be called; and
each said process bubble returns control to its calling control bubble.
14. The method of claim 1, further comprising determining processing topology by associating, with input data of at least one of the control and process transformations, information indicating the preferred topology for executing the finite state machine.
15. The method of claim 1, further comprising determining processing parallelism by associating, with input data of at least one of the control and process transformations, data intent information indicating an intended use of the data.
US14/617,416 2012-03-20 2015-02-09 Parallelism From Functional Decomposition Abandoned US20150220309A1 (en)

Priority Applications (1)

Application Number Priority Date Filing Date Title
US14/617,416 US20150220309A1 (en) 2012-03-20 2015-02-09 Parallelism From Functional Decomposition

Applications Claiming Priority (2)

Application Number Priority Date Filing Date Title
US13/425,136 US8959494B2 (en) 2012-03-20 2012-03-20 Parallelism from functional decomposition
US14/617,416 US20150220309A1 (en) 2012-03-20 2015-02-09 Parallelism From Functional Decomposition

Related Parent Applications (1)

Application Number Title Priority Date Filing Date
US13/425,136 Continuation US8959494B2 (en) 2012-03-20 2012-03-20 Parallelism from functional decomposition

Publications (1)

Publication Number Publication Date
US20150220309A1 true US20150220309A1 (en) 2015-08-06

Family

ID=49213554

Family Applications (2)

Application Number Title Priority Date Filing Date
US13/425,136 Active 2033-04-17 US8959494B2 (en) 2012-03-20 2012-03-20 Parallelism from functional decomposition
US14/617,416 Abandoned US20150220309A1 (en) 2012-03-20 2015-02-09 Parallelism From Functional Decomposition

Family Applications Before (1)

Application Number Title Priority Date Filing Date
US13/425,136 Active 2033-04-17 US8959494B2 (en) 2012-03-20 2012-03-20 Parallelism from functional decomposition

Country Status (2)

Country Link
US (2) US8959494B2 (en)
WO (1) WO2013142587A1 (en)

Cited By (1)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
US20190073201A1 (en) * 2017-09-06 2019-03-07 Nicira, Inc. Annotation-driven framework for generating state machine updates

Families Citing this family (24)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
US9387312B2 (en) 2008-09-15 2016-07-12 Brightwater Medical, Inc. Convertible nephroureteral catheter
US8667474B2 (en) * 2009-06-19 2014-03-04 Microsoft Corporation Generation of parallel code representations
US8762946B2 (en) 2012-03-20 2014-06-24 Massively Parallel Technologies, Inc. Method for automatic extraction of designs from standard source code
WO2013185098A1 (en) * 2012-06-08 2013-12-12 Massively Parallel Technologies, Inc. System and method for automatic detection of decomposition errors
US8893080B2 (en) * 2012-08-15 2014-11-18 Telefonaktiebolaget L M Ericsson (Publ) Parallelization of dataflow actors with local state
US9335974B2 (en) * 2013-04-15 2016-05-10 Massively Parallel Technologies, Inc. System and method for determining and displaying design complexity of a software design
US9158502B2 (en) * 2013-04-15 2015-10-13 Massively Parallel Technologies, Inc. System and method for communicating between viewers of a hierarchical software design
US20140310678A1 (en) * 2013-04-15 2014-10-16 Massively Parallel Technologies, Inc. Systems And Methods For Collaborative Views Of A Hierarchical Software Design
US20140310680A1 (en) * 2013-04-15 2014-10-16 Massively Parallel Technologies, Inc. System And Method For Collaboration
US9851949B2 (en) 2014-10-07 2017-12-26 Kevin D. Howard System and method for automatic software application creation
US10496514B2 (en) 2014-11-20 2019-12-03 Kevin D. Howard System and method for parallel processing prediction
US10621195B2 (en) 2016-09-20 2020-04-14 Microsoft Technology Licensing, Llc Facilitating data transformations
US10706066B2 (en) 2016-10-17 2020-07-07 Microsoft Technology Licensing, Llc Extensible data transformations
US10776380B2 (en) 2016-10-21 2020-09-15 Microsoft Technology Licensing, Llc Efficient transformation program generation
US11170020B2 (en) 2016-11-04 2021-11-09 Microsoft Technology Licensing, Llc Collecting and annotating transformation tools for use in generating transformation programs
US11163788B2 (en) 2016-11-04 2021-11-02 Microsoft Technology Licensing, Llc Generating and ranking transformation programs
CN107016214B (en) * 2017-04-26 2020-09-11 上海工程技术大学 Finite-state-machine-based parameter dependence model generation method
CN109471671B (en) * 2017-09-06 2023-03-24 武汉斗鱼网络科技有限公司 Program cold starting method and system
US10635487B2 (en) * 2017-09-29 2020-04-28 Oracle International Corporation Systems and methods defining thread specifications
US11520560B2 (en) 2018-12-31 2022-12-06 Kevin D. Howard Computer processing and outcome prediction systems and methods
US11947956B2 (en) * 2020-03-06 2024-04-02 International Business Machines Corporation Software intelligence as-a-service
CN111930631B (en) * 2020-08-17 2022-09-09 南宁师范大学 Probability finite state machine mutation test case generation method
US11861336B2 (en) 2021-08-12 2024-01-02 C Squared Ip Holdings Llc Software systems and methods for multiple TALP family enhancement and management
US11687328B2 (en) 2021-08-12 2023-06-27 C Squared Ip Holdings Llc Method and system for software enhancement and management

Citations (9)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
US5943408A (en) * 1996-04-22 1999-08-24 Lucent Technologies Inc. Flexible direct signaling system
US6138171A (en) * 1996-11-14 2000-10-24 Alcatel Usa Sourcing, L.P. Generic software state machine
US20030046658A1 (en) * 2001-05-02 2003-03-06 Vijaya Raghavan Event-based temporal logic
US6718533B1 (en) * 1999-02-26 2004-04-06 Real-Time Innovations, Inc. Method for building a real-time control system with mode and logical rate
US20040130552A1 (en) * 1998-08-20 2004-07-08 Duluk Jerome F. Deferred shading graphics pipeline processor having advanced features
US20050257195A1 (en) * 2004-05-14 2005-11-17 National Instruments Corporation Creating and executing a graphical program with first model of computation that includes a structure supporting second model of computation
US20080270764A1 (en) * 2007-04-30 2008-10-30 Mcmillen Robert James State machine compression
US20110153546A1 (en) * 2009-12-23 2011-06-23 Michael Allen Latta State machine with out-of-order processing functionality and method thereof
US20130212054A1 (en) * 2012-02-15 2013-08-15 The Mathworks, Inc. Generating a state diagram

Family Cites Families (27)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
JPH05324295A (en) 1991-09-12 1993-12-07 Fujitsu Ltd Design supporting device for software
US5774370A (en) * 1995-09-18 1998-06-30 Vlsi Technology, Inc. Method of extracting implicit sequential behavior from hardware description languages
US6606588B1 (en) * 1997-03-14 2003-08-12 Interuniversitair Micro-Elecktronica Centrum (Imec Vzw) Design apparatus and a method for generating an implementable description of a digital system
US6201492B1 (en) * 1999-05-28 2001-03-13 Cirrus Logic, Inc. Techniques for converting a plurality of channels continuously in an A/D converter
CA2408705A1 (en) 2001-10-17 2003-04-17 Analog Design Automation Inc. Method of multi-topology optimization
US7162710B1 (en) 2001-11-01 2007-01-09 Microsoft Corporation Dynamic modifications to a heterogeneous program in a distributed environment
US20030140332A1 (en) 2001-12-21 2003-07-24 Norton Jeffrey B. Method and apparatus for generating a software development tool
JP2003228499A (en) 2002-02-04 2003-08-15 Toshiba Corp Component classification method, implemented multiplicity evaluation method, implemented multiple code detection method, simultaneous alteration section detecting method, class hierarchy restructuring method, and program
US20040015775A1 (en) 2002-07-19 2004-01-22 Simske Steven J. Systems and methods for improved accuracy of extracted digital content
WO2004038620A1 (en) * 2002-10-28 2004-05-06 Renesas Technology Corp. System development method and data processing system
GB0410047D0 (en) 2004-05-05 2004-06-09 Silverdata Ltd An analytical software design system
JP4874440B2 (en) 2004-06-29 2012-02-15 株式会社デンソー PROGRAM GENERATION PROGRAM, PROGRAM GENERATION DEVICE, PROGRAM GENERATION METHOD, AND PROGRAM GENERATED BY THE SAME
US7562359B1 (en) 2004-08-26 2009-07-14 Wind River Systems, Inc. User process object code installer
US7373554B2 (en) 2004-09-24 2008-05-13 Oracle International Corporation Techniques for automatic software error diagnostics and correction
US7185298B2 (en) 2004-12-17 2007-02-27 Lsi Logic Corporation Method of parasitic extraction from a previously calculated capacitance solution
US20060155526A1 (en) * 2005-01-10 2006-07-13 At&T Corp. Systems, Devices, & Methods for automating non-deterministic processes
JP2009512089A (en) 2005-10-18 2009-03-19 マイトリオニクス エービー How to avoid deadlocks in data flow machines
CA2638453C (en) 2006-03-14 2010-11-09 Transgaming Technologies Inc. General purpose software parallel task engine
US7523344B2 (en) 2006-05-08 2009-04-21 Sun Microsystems, Inc. Method and apparatus for facilitating process migration
US8108512B2 (en) * 2006-09-01 2012-01-31 Massively Parallel Technologies, Inc. System and method for accessing and using a supercomputer
US7624075B2 (en) * 2006-09-15 2009-11-24 Microsoft Corporation Transformation of modular finite state transducers
US8473935B2 (en) 2008-04-21 2013-06-25 Microsoft Corporation Just-ahead-of-time compilation
JP2010097426A (en) 2008-10-16 2010-04-30 Autonetworks Technologies Ltd Computer program, and device and method for receiving input of source program
US8352914B2 (en) 2008-12-15 2013-01-08 Accenture Global Services Limited Impact analysis of software change requests
US8423750B2 (en) 2010-05-12 2013-04-16 International Business Machines Corporation Hardware assist thread for increasing code parallelism
US20120101929A1 (en) 2010-08-26 2012-04-26 Massively Parallel Technologies, Inc. Parallel processing development environment and associated methods
WO2012037168A2 (en) 2010-09-13 2012-03-22 Massively Parallel Technologies, Inc. Software design and automatic coding for parallel computing

Patent Citations (9)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
US5943408A (en) * 1996-04-22 1999-08-24 Lucent Technologies Inc. Flexible direct signaling system
US6138171A (en) * 1996-11-14 2000-10-24 Alcatel Usa Sourcing, L.P. Generic software state machine
US20040130552A1 (en) * 1998-08-20 2004-07-08 Duluk Jerome F. Deferred shading graphics pipeline processor having advanced features
US6718533B1 (en) * 1999-02-26 2004-04-06 Real-Time Innovations, Inc. Method for building a real-time control system with mode and logical rate
US20030046658A1 (en) * 2001-05-02 2003-03-06 Vijaya Raghavan Event-based temporal logic
US20050257195A1 (en) * 2004-05-14 2005-11-17 National Instruments Corporation Creating and executing a graphical program with first model of computation that includes a structure supporting second model of computation
US20080270764A1 (en) * 2007-04-30 2008-10-30 Mcmillen Robert James State machine compression
US20110153546A1 (en) * 2009-12-23 2011-06-23 Michael Allen Latta State machine with out-of-order processing functionality and method thereof
US20130212054A1 (en) * 2012-02-15 2013-08-15 The Mathworks, Inc. Generating a state diagram

Non-Patent Citations (1)

* Cited by examiner, † Cited by third party
Title
Cho et al, “Automatic State Space Decomposition”, IEEE 1996, pp. 1451-1464 <StateSpc_Cho.pdf> *

Cited By (2)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
US20190073201A1 (en) * 2017-09-06 2019-03-07 Nicira, Inc. Annotation-driven framework for generating state machine updates
US10545742B2 (en) * 2017-09-06 2020-01-28 Nicira, Inc. Annotation-driven framework for generating state machine updates

Also Published As

Publication number Publication date
WO2013142587A1 (en) 2013-09-26
US20130254751A1 (en) 2013-09-26
US8959494B2 (en) 2015-02-17

Similar Documents

Publication Publication Date Title
US8959494B2 (en) Parallelism from functional decomposition
US9395954B2 (en) Project planning and debugging from functional decomposition
Abadi et al. Tensorflow: Large-scale machine learning on heterogeneous distributed systems
US9324126B2 (en) Automated latency management and cross-communication exchange conversion
Newburn et al. Intel's Array Building Blocks: A retargetable, dynamic compiler and embedded language
US11500959B2 (en) Multiple output fusion for operations performed in a multi-dimensional array of processing units
CA2908054C (en) Compilation of transformation in recalculation user interface
AU2012256399B2 (en) Registration and execution of highly concurrent processing tasks
Bosilca Dense linear algebra on distributed heterogeneous hardware with a symbolic dag approach
Edmonds et al. Expressing graph algorithms using generalized active messages
Rasch et al. dOCAL: high-level distributed programming with OpenCL and CUDA
US8041551B1 (en) Algorithm and architecture for multi-argument associative operations that minimizes the number of components using a latency of the components
de Jong et al. An environmental modelling framework based on asynchronous many-tasks: Scalability and usability
Hiesgen et al. OpenCL Actors–Adding Data Parallelism to Actor-Based Programming with CAF
Chis et al. Design patterns and algorithmic skeletons: a brief concordance
Andonovski et al. Introduction to scientific computing technologies for global analysis of multidimensional nonlinear dynamical systems
WO2014110600A1 (en) Automated latency management and cross-communication exchange conversion
Dieterle et al. Skeleton composition versus stable process systems in Eden
Diehl et al. Asynchronous Many-Task Systems and Applications: First International Workshop, WAMTA 2023, Baton Rouge, LA, USA, February 15–17, 2023, Proceedings
Menicagli Agora: an adaptive framework supporting runtime application autotuning
Di Martino et al. High performance cloud: A mapreduce and GPGPU based hybrid approach
Oliphant et al. Working with and Visualizing Big Data Efficiently with Python for the DARPA XDATA Program
Harding et al. Cartesian genetic programming on the gpu
Beier Generalized database index structures on massively parallel processor architectures
Bhatt et al. A design notation and toolset for high-performance embedded systems development

Legal Events

Date Code Title Description
AS Assignment

Owner name: MASSIVELY PARALLEL TECHNOLOGIES, INC., COLORADO

Free format text: ASSIGNMENT OF ASSIGNORS INTEREST;ASSIGNOR:HOWARD, KEVIN D.;REEL/FRAME:035823/0760

Effective date: 20120217

STCB Information on status: application discontinuation

Free format text: ABANDONED -- FAILURE TO RESPOND TO AN OFFICE ACTION