Analyzing and Fine Tuning Workgroup Size of OpenCL Program on Diverse Computing Devices

碩士 === 國立交通大學 === 資訊科學與工程研究所 === 105 === The performance of an OpenCL kernel is significantly influenced by both the hardware and software attributes. To attain superior performance, users need to search through a huge tuning space to determine proper parameters. However, with the growth of variety...

Full description

Bibliographic Details
Main Authors: Yu, Chia-Lin, 余佳霖
Other Authors: Tsao, Shiao-Li
Format: Others
Language:en_US
Published: 2017
Online Access:http://ndltd.ncl.edu.tw/handle/7uggft
id ndltd-TW-105NCTU5394073
record_format oai_dc
spelling ndltd-TW-105NCTU53940732019-05-15T23:32:32Z http://ndltd.ncl.edu.tw/handle/7uggft Analyzing and Fine Tuning Workgroup Size of OpenCL Program on Diverse Computing Devices 異質運算平台下開放計算語言之工作群組大小分析及調整 Yu, Chia-Lin 余佳霖 碩士 國立交通大學 資訊科學與工程研究所 105 The performance of an OpenCL kernel is significantly influenced by both the hardware and software attributes. To attain superior performance, users need to search through a huge tuning space to determine proper parameters. However, with the growth of variety and heterogeneity on the underlying computing devices, efficient and easy-to-apply automatic tuning technique become an essential. Among all possible tuning knobs, workgroup size, which would largely affect the performance, is commonly used for general OpenCL programs. However, existing portable tuning approaches can only be leveraged once the target device is available. In this thesis, we analyze the key factors that cause performance discrepancies under different workgroup sizes and present a dedicate workgroup size selection model. By abstracting the hardware details and modeling only the key factors, our approach provides a portable and efficient way to determine the suitable workgroup size without the requirement of target device. Among all the seven benchmarks and five distinct devices, our model is shown to filter out an average of 95.1% of the possible workgroup sizes with negligible overhead, while achieving an average of 95.7% best-known performance with the best candidate and 92.2% of the best-known performance with the worst candidate. Tsao, Shiao-Li 曹孝櫟 2017 學位論文 ; thesis 56 en_US
collection NDLTD
language en_US
format Others
sources NDLTD
description 碩士 === 國立交通大學 === 資訊科學與工程研究所 === 105 === The performance of an OpenCL kernel is significantly influenced by both the hardware and software attributes. To attain superior performance, users need to search through a huge tuning space to determine proper parameters. However, with the growth of variety and heterogeneity on the underlying computing devices, efficient and easy-to-apply automatic tuning technique become an essential. Among all possible tuning knobs, workgroup size, which would largely affect the performance, is commonly used for general OpenCL programs. However, existing portable tuning approaches can only be leveraged once the target device is available. In this thesis, we analyze the key factors that cause performance discrepancies under different workgroup sizes and present a dedicate workgroup size selection model. By abstracting the hardware details and modeling only the key factors, our approach provides a portable and efficient way to determine the suitable workgroup size without the requirement of target device. Among all the seven benchmarks and five distinct devices, our model is shown to filter out an average of 95.1% of the possible workgroup sizes with negligible overhead, while achieving an average of 95.7% best-known performance with the best candidate and 92.2% of the best-known performance with the worst candidate.
author2 Tsao, Shiao-Li
author_facet Tsao, Shiao-Li
Yu, Chia-Lin
余佳霖
author Yu, Chia-Lin
余佳霖
spellingShingle Yu, Chia-Lin
余佳霖
Analyzing and Fine Tuning Workgroup Size of OpenCL Program on Diverse Computing Devices
author_sort Yu, Chia-Lin
title Analyzing and Fine Tuning Workgroup Size of OpenCL Program on Diverse Computing Devices
title_short Analyzing and Fine Tuning Workgroup Size of OpenCL Program on Diverse Computing Devices
title_full Analyzing and Fine Tuning Workgroup Size of OpenCL Program on Diverse Computing Devices
title_fullStr Analyzing and Fine Tuning Workgroup Size of OpenCL Program on Diverse Computing Devices
title_full_unstemmed Analyzing and Fine Tuning Workgroup Size of OpenCL Program on Diverse Computing Devices
title_sort analyzing and fine tuning workgroup size of opencl program on diverse computing devices
publishDate 2017
url http://ndltd.ncl.edu.tw/handle/7uggft
work_keys_str_mv AT yuchialin analyzingandfinetuningworkgroupsizeofopenclprogramondiversecomputingdevices
AT yújiālín analyzingandfinetuningworkgroupsizeofopenclprogramondiversecomputingdevices
AT yuchialin yìzhìyùnsuànpíngtáixiàkāifàngjìsuànyǔyánzhīgōngzuòqúnzǔdàxiǎofēnxījídiàozhěng
AT yújiālín yìzhìyùnsuànpíngtáixiàkāifàngjìsuànyǔyánzhīgōngzuòqúnzǔdàxiǎofēnxījídiàozhěng
_version_ 1719149559862525952