標題: Translating OpenACC Program for HAS Environment
作者: Lo, Han-Ping
Shann, Jean Jyh-Jiun
資訊工程學系
Department of Computer Science
關鍵字: heterogeneous multiprocessor;HSA;OpenACC;LLVM
公開日期: 1-Jan-2017
摘要: 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
期刊: 2017 INTERNATIONAL CONFERENCE ON COMPUTER, INFORMATION AND TELECOMMUNICATION SYSTEMS (IEEE CITS)
起始頁: 30
結束頁: 34
Appears in Collections:Conferences Paper