Translating OpenACC program for HAS environment

Han Ping Lo, Jyh-Jiun Shann

Research output: Chapter in Book/Report/Conference proceedingConference contributionpeer-review

Abstract

Heterogeneous System Architecture (HSA) is a newly arising heterogeneous multiprocessor platform which may improve the heavy data transmission between CPU and GPU in traditional heterogeneous multiprocessor platforms through shared virtual memory. However, as other heterogeneous multiprocessor platforms, it is complex and error-prone to write HSA programs. Therefore, we design and implement a translation framework based on LLVM for automatically translating OpenACC programs, directive-based parallel programming programs, into HSA programs. The main components of the framework include an extension version of Clang, a PLIR-annotation parser, and an HAS host/kernel IR generator. The experiment result shows that the translated HSA programs generated by our OpenACC compiler achieve 7.78× speedups in average with respect to the corresponding sequential programs. Moreover, compared with the OpenMP compiler proposed by HSA foundation, our OpenACC compiler achieves 2.91× speedups in average.

Original languageEnglish
Title of host publicationIEEE CITS 2017 - 2017 International Conference on Computer, Information and Telecommunication Systems
EditorsPetros Nicopolitidis, Mohammad S. Obaidat, Kuei-Fang Hsiao, Zhikui Chen, Daniel Cascado Caballero
PublisherInstitute of Electrical and Electronics Engineers Inc.
Pages30-34
Number of pages5
ISBN (Electronic)9781509059560
DOIs
StatePublished - 12 Sep 2017
Event6th International Conference on Computer, Information and Telecommunication Systems, CITS 2017 - Dalian, China
Duration: 21 Jul 201723 Jul 2017

Publication series

NameIEEE CITS 2017 - 2017 International Conference on Computer, Information and Telecommunication Systems

Conference

Conference6th International Conference on Computer, Information and Telecommunication Systems, CITS 2017
CountryChina
CityDalian
Period21/07/1723/07/17

Keywords

  • HSA
  • LLVM
  • OpenACC
  • heterogeneous multiprocessor

Fingerprint Dive into the research topics of 'Translating OpenACC program for HAS environment'. Together they form a unique fingerprint.

Cite this