OMP2OCL Translator: A Translator for Automatic Translation of OpenMP Programs into OpenCL Programs
碩士 === 國立交通大學 === 資訊科學與工程研究所 === 99 === Heterogeneous multiprocessor platforms have become trends due to the need for high-performance systems. However, it is harder to program them than homogeneous multiprocessor platforms and there are various heterogeneous multiprocessor platforms in the world. A...
Main Authors: | , |
---|---|
Other Authors: | |
Format: | Others |
Language: | en_US |
Published: |
2010
|
Online Access: | http://ndltd.ncl.edu.tw/handle/42838713566718564587 |
id |
ndltd-TW-099NCTU5394048 |
---|---|
record_format |
oai_dc |
spelling |
ndltd-TW-099NCTU53940482016-04-08T04:22:00Z http://ndltd.ncl.edu.tw/handle/42838713566718564587 OMP2OCL Translator: A Translator for Automatic Translation of OpenMP Programs into OpenCL Programs OMP2OCL 轉換器︰可自動轉換 OpenMP 程式到 OpenCL 程式的轉換器 Tsai, Tsung-Chan 蔡宗展 碩士 國立交通大學 資訊科學與工程研究所 99 Heterogeneous multiprocessor platforms have become trends due to the need for high-performance systems. However, it is harder to program them than homogeneous multiprocessor platforms and there are various heterogeneous multiprocessor platforms in the world. Although newly-released OpenCL (Open Computing Language) standard from Khronos Group offers improves portability among heterogeneous multiprocessor platforms, programming such platforms using OpenCL is still complex and error-prone. In this thesis, we have designed and implemented a translator, called OMP2OCL Translator, which is for automatic source-to-source translation of OpenMP programs into OpenCL programs, in addition, we have reused and modified if necessary the optimizations from the related work to improve the OpenCL programs output from OMP2OCL translator. The translator identifies kernel regions of OpenMP programs, transforms and outlines the regions into OpenCL kernel functions, and does some optimization to improve the performance of the translated OpenCL programs. Moreover, we have compared the CUDA programs and the OpenCL programs output from the related work and OMP2OCL translator, respectively. Although there are performance losses for OMP2OCL translator compared to the related work designed dedicatedly for NVIDIA GPUs, it is still promising that the translated OpenCL programs can use other devices as compute devices other than NVIDIA GPUs. Shann, Jyh-Jiun 單智君 2010 學位論文 ; thesis 38 en_US |
collection |
NDLTD |
language |
en_US |
format |
Others
|
sources |
NDLTD |
description |
碩士 === 國立交通大學 === 資訊科學與工程研究所 === 99 === Heterogeneous multiprocessor platforms have become trends due to the need for high-performance systems. However, it is harder to program them than homogeneous multiprocessor platforms and there are various heterogeneous multiprocessor platforms in the world. Although newly-released OpenCL (Open Computing Language) standard from Khronos Group offers improves portability among heterogeneous multiprocessor platforms, programming such platforms using OpenCL is still complex and error-prone. In this thesis, we have designed and implemented a translator, called OMP2OCL Translator, which is for automatic source-to-source translation of OpenMP programs into OpenCL programs, in addition, we have reused and modified if necessary the optimizations from the related work to improve the OpenCL programs output from OMP2OCL translator. The translator identifies kernel regions of OpenMP programs, transforms and outlines the regions into OpenCL kernel functions, and does some optimization to improve the performance of the translated OpenCL programs. Moreover, we have compared the CUDA programs and the OpenCL programs output from the related work and OMP2OCL translator, respectively. Although there are performance losses for OMP2OCL translator compared to the related work designed dedicatedly for NVIDIA GPUs, it is still promising that the translated OpenCL programs can use other devices as compute devices other than NVIDIA GPUs.
|
author2 |
Shann, Jyh-Jiun |
author_facet |
Shann, Jyh-Jiun Tsai, Tsung-Chan 蔡宗展 |
author |
Tsai, Tsung-Chan 蔡宗展 |
spellingShingle |
Tsai, Tsung-Chan 蔡宗展 OMP2OCL Translator: A Translator for Automatic Translation of OpenMP Programs into OpenCL Programs |
author_sort |
Tsai, Tsung-Chan |
title |
OMP2OCL Translator: A Translator for Automatic Translation of OpenMP Programs into OpenCL Programs |
title_short |
OMP2OCL Translator: A Translator for Automatic Translation of OpenMP Programs into OpenCL Programs |
title_full |
OMP2OCL Translator: A Translator for Automatic Translation of OpenMP Programs into OpenCL Programs |
title_fullStr |
OMP2OCL Translator: A Translator for Automatic Translation of OpenMP Programs into OpenCL Programs |
title_full_unstemmed |
OMP2OCL Translator: A Translator for Automatic Translation of OpenMP Programs into OpenCL Programs |
title_sort |
omp2ocl translator: a translator for automatic translation of openmp programs into opencl programs |
publishDate |
2010 |
url |
http://ndltd.ncl.edu.tw/handle/42838713566718564587 |
work_keys_str_mv |
AT tsaitsungchan omp2ocltranslatoratranslatorforautomatictranslationofopenmpprogramsintoopenclprograms AT càizōngzhǎn omp2ocltranslatoratranslatorforautomatictranslationofopenmpprogramsintoopenclprograms AT tsaitsungchan omp2oclzhuǎnhuànqìkězìdòngzhuǎnhuànopenmpchéngshìdàoopenclchéngshìdezhuǎnhuànqì AT càizōngzhǎn omp2oclzhuǎnhuànqìkězìdòngzhuǎnhuànopenmpchéngshìdàoopenclchéngshìdezhuǎnhuànqì |
_version_ |
1718219212502073344 |