摘要 |
PROBLEM TO BE SOLVED: To dynamically execute cost calculation to a sequential program, and to automatically parallelize the sequential program while considering calculation cost and communication cost. SOLUTION: During execution of the sequential program, a loop analyzer 3 detects entering into a loop, and calculates the communication cost and the calculation cost to find a loop allowing parallel execution. A code converter 4 parallelizes the loop allowing the parallel execution, produces parallelized codes and writes them into a sub memory 5. When a loop detection device 6 detects that the loop is newly accessed, a memory controller 7 notifies a processor 1 of each node such that the processor 1 reads the code from the sub memory 5, and sends a signal to a selector 8 to access the sub memory 5. When execution of the parallel codes is completed, the memory controller 7 newly sends a signal to the selector 8, changes over access to a normal sequential code present in a main memory 2, and continues processing. COPYRIGHT: (C)2005,JPO&NCIPI
|