Font Size: a A A

Research On Derective-based Parallel Programming Model And Interactive Visual Interface

Posted on:2016-04-15Degree:MasterType:Thesis
Country:ChinaCandidate:Z Y LiuFull Text:PDF
GTID:2308330467999877Subject:Compile in parallel
Abstract/Summary:PDF Full Text Request
Multi-core has become a mainstream technology of processor design. Ifthe current application software to get significantly increase, the performanceof parallel implementation is one of the most effective means. Parallelprogramming naturally became a problem that the application developers haveto face. Due to the number of legacy code is very large and programmers don’twant to completely rewrite code, Providing a parallel programming tools toparallelize can greatly reduce the development cycle. After decades ofresearch results show that the automatic parallelization technology applicationrange is very limited, mainly concentrated in the field of high performancenumerical calculation, the current large amounts of the application of numericalcalculation is an urgent need to parallelize. The traditional parallelprogramming model is not very good to meet the requirements of theseapplications. Parallelization by hand while the performance is very high, butneed to application developers has a very deep analysis and understanding toparallelization technology. In addition, rewriting code work is very large.Therefore, the development of a new programming model and a visualinteractive parallel programming environment to meet the challenge of themulti-core parallel programming has very high research value and practicalsignificance. This paper proposes a new model of parallel programming basedon syntax guidance, only need to add a small amount of grammar guidancestatements, rewriting a small amount of serial code can complete theparallelization of program; based on this model using the Eclipse plug-intechnology, GEF, MVC framework implements a visual interactive parallel programming system CAP. It makes use of compiler to build dependencegraph, provide programmer tuning recommendations, and perform complexstructured code transformation. In the meantime, combined with userknowledge, it lets programmer delete spurious dependences manually, modifyvariable’s storage property, and determine what kind of transformation to beapplied. Experiment result shows that using our visual interactive parallelprogramming tool, programmer can obtain great multi-core performanceimprovement by modifying only a small amount of source codes. CAP providesfriendly interaction mechanism, enhances the human-computer interaction,and provides a good tool for structured parallel application.The key contributions of this paper are as follows:1. Propose a multi-core processors oriented parallel programming model:the model adopts the way of extending the existing programming languages,By adding a very small amount of compile the guidance and provide thecorresponding compiler to facilitate parallel transformation of legacy serialcode completion. In order to avoid the clash of atomic violation and dataconcurrency error,Our model using deterministic concurrent tasks executionmode. And with strong address the process of isolation, as a basis toimplement. The application variables are divided into two categories: Sharedvariables and private properties, variable default is private property. In additionto implement parallel with certainties, the programming model providesdescription statement data dependence between communication and simplelock-free synchronization primitives.2. Designing and implementing a graphical interactive parallelprogramming environment. According to the friendly interaction mechanismsupplied by the tool, users can manage the procedure of parallelization withthe help of several analysis information supplied by the compiler and userknowledge.
Keywords/Search Tags:multi-core processor, programming model, compile guidance, interactiveparallelization, visual programming
PDF Full Text Request
Related items