AUTOMATIC SOURCE-CODE PARALLELIZATION USING HICOR OBJECTS

被引:1
|
作者
GILDER, MR [1 ]
KRISHNAMOORTHY, MS [1 ]
机构
[1] RENSSELAER POLYTECH INST,DEPT COMP SCI,TROY,NY 12180
关键词
OBJECT-ORIENTED INTERMEDIATE REPRESENTATION; COMPILE-TIME SCHEDULING; CODE GENERATION; AUTOMATIC PARALLELIZATION;
D O I
10.1007/BF02577736
中图分类号
TP301 [理论、方法];
学科分类号
081202 ;
摘要
We show that by using an intermediate representation, which supports a formalized interface on which to construct parallelization tools, the mapping of the representation onto parallel architectures can be performed quickly and efficiently. An intermediate representation called HICOR (Hierarchical Intermediate Code Object Representation) is shown to facilitate the exploitation of parallel operations by providing an abstraction layer for performing high-level intermeidate code analysis, scheduling, and code generation. An object-oriented design approach has been employed in the development of HICOR and associated tools. Source language constructs are transformed into specialized object classes. Inheritance properties provided by the object-oriented paradigm are utilized to provide a common interface to each object in the HICOR representation. It is this interface that provides the needed consistency and flexibility in which to construct tools that has since been lacking. In particular, a tool to perform Compile-Time Scheduling is presented. The scheduling algorithm employed differs from traditional scheduling problems in that merging of tasks is performed to reduce both task creation and communication costs in determining the final schedule. Architectural parameters are provided as input to the heuristic allowing the scheduler to produce near-optimal results for a wide variety of MIMD architectures. Once the final schedule is determined the Target Code Generator, also presented, is used to generate the corresponding target code. A prototype system has been implemented in C++ which incorporates the HICOR intermediate representation with the tools described. The target architectures include the Sun 630 MP/4, Sequent Symmetry S81, and Stardent Titan.
引用
收藏
页码:303 / 350
页数:48
相关论文
共 50 条
  • [31] _toFlowchart: A Prototype Compiler to Convert Source-Code to Flowchart
    Shafeek, Nasik
    Karunarathne, Damitha D.
    2018 18TH INTERNATIONAL CONFERENCE ON ADVANCES IN ICT FOR EMERGING REGIONS (ICTER) CONFERENCE PROCEEDINGS, 2018, : 157 - 167
  • [32] Shock-wave/boundary-layer interactions in the automatic source-code generation framework OpenSBLI
    Lusher, David J.
    Jammy, Satya P.
    Sandham, Neil D.
    COMPUTERS & FLUIDS, 2018, 173 : 17 - 21
  • [33] To Improve Code Structure by Identifying Move Method Opportunities Using Frequent Usage Patterns in Source-Code
    Singh, Randeep
    Kumar, Ashok
    ADVANCED INFORMATICS FOR COMPUTING RESEARCH, ICAICR 2018, PT I, 2019, 955 : 320 - 330
  • [34] Towards a framework for testing structural source-code regularities
    Mens, K
    Kellens, A
    ICSM 2005: PROCEEDINGS OF THE 21ST IEEE INTERNATIONAL CONFERENCE ON SOFTWARE MAINTENANCE, 2005, : 679 - 682
  • [35] Automatic Code Parallelization with OpenMP Task Constructs
    Mathews, Manju
    Abraham, Jisha P.
    PROCEEDINGS OF 2016 INTERNATIONAL CONFERENCE ON INFORMATION SCIENCE (ICIS), 2016, : 233 - 238
  • [36] The Examination Task of Source-code Debugging Using GP3 Eye Tracker
    Katona, Jozsef
    Kovari, Attila
    Costescu, Cristina
    Rosan, Adrian
    Hathazi, Andrea
    Heldal, Ilona
    Helgesen, Carsten
    Thill, Serge
    Demeter, Robert
    2019 10TH IEEE INTERNATIONAL CONFERENCE ON COGNITIVE INFOCOMMUNICATIONS (COGINFOCOM 2019), 2019, : 329 - 333
  • [37] Efficient code generation for automatic parallelization and optimization
    Bastoul, C
    SECOND INTERNATIONAL SYMPOSIUM ON PARALLEL AND DISTRIBUTED COMPUTING, PROCEEDINGS, 2003, : 23 - 30
  • [38] CODE-SMASH: Source-Code Vulnerability Detection Using Siamese and Multi-Level Neural Architecture
    Han, Sungmin
    Nam, Hyunkyung
    Kang, Jaesik
    Kim, Kwangsoo
    Cho, Seungjae
    Lee, Sangkyun
    IEEE ACCESS, 2024, 12 : 102492 - 102504
  • [39] PROGpedia: Collection of source-code submitted to introductory programming assignments
    Paiva, Jose Carlos
    Leal, Jose Paulo
    Figueira, Alvaro
    DATA IN BRIEF, 2023, 46
  • [40] Energy-aware GPU programming at source-code levels
    Zhang, Changyou
    Huang, Kun
    Cui, Xiang
    Chen, Yifeng
    Tsinghua Science and Technology, 2012, 17 (03) : 278 - 286