Code Optimization in an Indirect Finalizer for an HSA-based System

碩士 === 國立臺灣大學 === 資訊工程學研究所 === 104 === Heterogeneous System Architecture (HSA) is an architecture standard developed by the non-profit HSA foundation aiming to make it easier to program for heterogeneous computing. A single HSA system may include an assortment of devices with distinct instruction se...

Full description

Bibliographic Details
Main Authors: Hong-Yu Lee, 李弘宇
Other Authors: 徐慰中
Format: Others
Language:en_US
Published: 2016
Online Access:http://ndltd.ncl.edu.tw/handle/41592915276178320863
id ndltd-TW-104NTU05392122
record_format oai_dc
spelling ndltd-TW-104NTU053921222017-04-29T04:31:56Z http://ndltd.ncl.edu.tw/handle/41592915276178320863 Code Optimization in an Indirect Finalizer for an HSA-based System 在HSA系統上以間接Finalizer進行程式碼最佳化 Hong-Yu Lee 李弘宇 碩士 國立臺灣大學 資訊工程學研究所 104 Heterogeneous System Architecture (HSA) is an architecture standard developed by the non-profit HSA foundation aiming to make it easier to program for heterogeneous computing. A single HSA system may include an assortment of devices with distinct instruction set architectures (ISAs). HSA Intermediate Language (HSAIL) is an intermediate language defined by the foundation to abstract away the heterogeneity in the HSA computing environment. A programmer builds code using HSAIL in order to allow it to be executed on a wide range of devices, such as CPU, GPU, DSP, etc. An HSA implementation encompasses the hardware components and an HSA runtime including the finalizer. A finalizer translates HSAIL modules into a given ISA. This work investigates the issues of indirect finalization, kernel code optimization and performance on an HSA compliant system with an AMD Carrizo APU targeting its GPU architecture. To finalize the HSAIL code indirectly, a HSAIL frontend is developed to translate HSAIL codes to LLVM modules, which is then integrated with the LLVM AMDGPU backend. The author develops eight OpenCL benchmarks whose kernel codes are from AMD APP SDK. The work also shows the impact of three LLVM optimizaton passes, one of which is written by the author, on indirect finalization. 徐慰中 2016 學位論文 ; thesis 50 en_US
collection NDLTD
language en_US
format Others
sources NDLTD
description 碩士 === 國立臺灣大學 === 資訊工程學研究所 === 104 === Heterogeneous System Architecture (HSA) is an architecture standard developed by the non-profit HSA foundation aiming to make it easier to program for heterogeneous computing. A single HSA system may include an assortment of devices with distinct instruction set architectures (ISAs). HSA Intermediate Language (HSAIL) is an intermediate language defined by the foundation to abstract away the heterogeneity in the HSA computing environment. A programmer builds code using HSAIL in order to allow it to be executed on a wide range of devices, such as CPU, GPU, DSP, etc. An HSA implementation encompasses the hardware components and an HSA runtime including the finalizer. A finalizer translates HSAIL modules into a given ISA. This work investigates the issues of indirect finalization, kernel code optimization and performance on an HSA compliant system with an AMD Carrizo APU targeting its GPU architecture. To finalize the HSAIL code indirectly, a HSAIL frontend is developed to translate HSAIL codes to LLVM modules, which is then integrated with the LLVM AMDGPU backend. The author develops eight OpenCL benchmarks whose kernel codes are from AMD APP SDK. The work also shows the impact of three LLVM optimizaton passes, one of which is written by the author, on indirect finalization.
author2 徐慰中
author_facet 徐慰中
Hong-Yu Lee
李弘宇
author Hong-Yu Lee
李弘宇
spellingShingle Hong-Yu Lee
李弘宇
Code Optimization in an Indirect Finalizer for an HSA-based System
author_sort Hong-Yu Lee
title Code Optimization in an Indirect Finalizer for an HSA-based System
title_short Code Optimization in an Indirect Finalizer for an HSA-based System
title_full Code Optimization in an Indirect Finalizer for an HSA-based System
title_fullStr Code Optimization in an Indirect Finalizer for an HSA-based System
title_full_unstemmed Code Optimization in an Indirect Finalizer for an HSA-based System
title_sort code optimization in an indirect finalizer for an hsa-based system
publishDate 2016
url http://ndltd.ncl.edu.tw/handle/41592915276178320863
work_keys_str_mv AT hongyulee codeoptimizationinanindirectfinalizerforanhsabasedsystem
AT lǐhóngyǔ codeoptimizationinanindirectfinalizerforanhsabasedsystem
AT hongyulee zàihsaxìtǒngshàngyǐjiānjiēfinalizerjìnxíngchéngshìmǎzuìjiāhuà
AT lǐhóngyǔ zàihsaxìtǒngshàngyǐjiānjiēfinalizerjìnxíngchéngshìmǎzuìjiāhuà
_version_ 1718445701533270016