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 条
  • [1] Automatic Algorithm Recognition of Source-Code Using Machine Learning
    Shalaby, Maged
    Mehrez, Tarek
    El-Mougy, Amr
    Abdulnasser, Khalid
    Al-Safty, Aysha
    2017 16TH IEEE INTERNATIONAL CONFERENCE ON MACHINE LEARNING AND APPLICATIONS (ICMLA), 2017, : 170 - 177
  • [2] Tangent: Automatic differentiation using source-code transformation for dynamically typed array programming
    van Merrienboer, Bart
    Moldovan, Dan
    Wiltschko, Alexander B.
    ADVANCES IN NEURAL INFORMATION PROCESSING SYSTEMS 31 (NIPS 2018), 2018, 31
  • [3] USING TYPEDEFS FOR SOURCE-CODE PORTABILITY IN C
    SANTIC, JS
    ELECTRONIC DESIGN, 1995, 43 (02) : 111 - 112
  • [4] Hygienic Source-Code Generation Using Functors
    Crary, Karl
    PRACTICAL ASPECTS OF DECLARATIVE LANGUAGES (PADL 2018), 2018, 10702 : 53 - 60
  • [5] RetCom: Information Retrieval-Enhanced Automatic Source-Code Summarization
    Zhang, Yubo
    Liu, Yanfang
    Fan, Xinxin
    Lu, Yunfeng
    2022 IEEE 22ND INTERNATIONAL CONFERENCE ON SOFTWARE QUALITY, RELIABILITY AND SECURITY, QRS, 2022, : 948 - 957
  • [6] Detecting source-code plagiarism
    Zeidman, B
    DR DOBBS JOURNAL, 2004, 29 (07): : 57 - 60
  • [7] Source-Code Divergence Diagnosis using Constraints and Cryptography
    Toosi, Farshad Ghassemi
    Buckley, Jim
    Sai, Ashish Rajendra
    13TH EUROPEAN CONFERENCE ON SOFTWARE ARCHITECTURE (ECSA 2019), VOL 2, 2019, : 205 - 208
  • [8] Source-Code Generation Using Deep Learning: A Survey
    Ahmed, Areeg
    Azab, Shahira
    Abdelhamid, Yasser
    Lecture Notes in Computer Science (including subseries Lecture Notes in Artificial Intelligence and Lecture Notes in Bioinformatics), 2023, 14116 LNAI : 467 - 482
  • [9] Automatic Parallelization of C Code Using OpenMP
    Singal, Gaurav
    Gopalani, Dinesh
    Kushwaha, Riti
    Badal, Tapas
    EMERGING TECHNOLOGIES IN COMPUTER ENGINEERING: MICROSERVICES IN BIG DATA ANALYTICS, 2019, 985 : 298 - 309
  • [10] Source-Code Generation Using Deep Learning: A Survey
    Ahmed, Areeg
    Azab, Shahira
    Abdelhamid, Yasser
    PROGRESS IN ARTIFICIAL INTELLIGENCE, EPIA 2023, PT II, 2023, 14116 : 467 - 482