Title: | Translating OpenACC Program for HAS Environment |
Authors: | Lo, Han-Ping Shann, Jean Jyh-Jiun 資訊工程學系 Department of Computer Science |
Keywords: | heterogeneous multiprocessor;HSA;OpenACC;LLVM |
Issue Date: | 1-Jan-2017 |
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.78x 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.91x speedups in average. |
URI: | http://hdl.handle.net/11536/147168 |
ISSN: | 2326-2338 |
Journal: | 2017 INTERNATIONAL CONFERENCE ON COMPUTER, INFORMATION AND TELECOMMUNICATION SYSTEMS (IEEE CITS) |
Begin Page: | 30 |
End Page: | 34 |
Appears in Collections: | Conferences Paper |