跳到主要內容

臺灣博碩士論文加值系統

(44.200.194.255) 您好!臺灣時間:2024/07/15 01:30
字體大小: 字級放大   字級縮小   預設字形  
回查詢結果 :::

詳目顯示

我願授權國圖
: 
twitterline
研究生:邱致遠
研究生(外文):Jr-Yuan Chiou
論文名稱:RS2CL: Renderscript 轉 OpenCL 轉換器
論文名稱(外文):RS2CL: A Renderscript-to-OpenCL translator
指導教授:廖世偉
指導教授(外文):Shih-wei Liao
口試委員:徐慰中陳呈瑋黃維中
口試委員(外文):Cheng-Wei ChenWei-Chung Hwang
口試日期:2013-07-13
學位類別:碩士
校院名稱:國立臺灣大學
系所名稱:資訊工程學研究所
學門:工程學門
學類:電資工程學類
論文種類:學術論文
論文出版年:2013
畢業學年度:101
語文別:英文
論文頁數:25
中文關鍵詞:ClangRenderscriptOpenCL轉換器
外文關鍵詞:ClangRenderscriptOpenCLtranslator
相關次數:
  • 被引用被引用:0
  • 點閱點閱:363
  • 評分評分:
  • 下載下載:0
  • 收藏至我的研究室書目清單書目收藏:0
With 500 million units and counting, mobile Android devices contribute
to more than 50% of the smartphone market this year. As Android platform
matures, the demand for parallel computing increases. In response,
Google released Renderscript to leverage parallel computing while maintaining
portability. However, because many more GPU vendors support OpenCL
than Renderscript, a Renderscript-to-OpenCL translator will enable GPUs to
be utilized for compute. Thus, we develop the RS2CL translator to enable
GPGPU for Android systems. We show that RS2CL automatically generates
OpenCL kernel programs successfully. In addition, we present comprehensive
comparisons between Renderscript and OpenCL models, in order to validate
RS2CL. Because RS2CL enables GPU compute on GPUs with OpenCL
support, we achieve a speedup of 4.17 on two more time-consuming image
processing applications.

口試委員會審定書i
Acknowledgments iii
Abstract v
1 INTRODUCTION 1
2 RELATED WORK 3
3 RENDERSCRIPT AND OPENCL OVERVIEW 5
3.1 Renderscript . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . 5
3.2 OpenCL . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . 6
3.3 Differences between Renderscript and OpenCL . . . . . . . . . . . . . . 6
4 ARCHITECTURE OF RENDERSCRIPT SYSTEM 9
5 DESIGN AND IMPLEMENTATION 11
6 ISSUES IN RENDERSCRIPT TO OPENCL TRANSLATION 13
6.1 Support for domain-specific language (DSL) via pragma . . . . . . . . . 13
6.2 Global declarations . . . . . . . . . . . . . . . . . . . . . . . . . . . . . 13
6.3 Renderscript special type and qualifiers . . . . . . . . . . . . . . . . . . 14
6.4 Type-based rewriting of Renderscript functions . . . . . . . . . . . . . . 14
6.4.1 Map Functions directly from Renderscript to OpenCL . . . . . . 14
6.4.2 Non-Directly Map Functions from renderscript to OpenCL . . . . 14
6.5 Different models in Renderscript and OpenCL . . . . . . . . . . . . . . . 16
7 EXPERIMENTAL RESULTS 19
7.1 RS2CL translation time performance . . . . . . . . . . . . . . . . . . . . 20
7.2 Comparison of OpenCL code runtime performance translated by RS2CL
and written by manual run on CPU . . . . . . . . . . . . . . . . . . . . . 20
7.3 Comparison of Renderscript runtime performance and OpenCL runtime
performance . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . 21
8 CONCLUSION AND FUTURE WORK 23
Bibliography 25

[1] Clang: A C language family frontend for LLVM.
[2] G. Diamos. The Design and Implementation Ocelot ’ s Dynamic Binary Translator
from PTX to Multi-Core x86. Computer Engineering, 9:22–39, 2009.
[3] Google. Renderscript.
[4] Google. Renderscript Compute.
[5] K. Group. OpenCL.
[6] M. J. Harvey and G. De Fabritiis. Swan: A tool for porting CUDA programs to
OpenCL. Computer Physics Communications, 182(4):1093–1099, 2011.
[7] C.-W. Huang. Android-x86 project, 2010.
[8] C. Lattner and V. Adve. LLVM: A compilation framework for lifelong program
analysis & transformation. International Symposium on Code Generation and Optimization
2004 CGO 2004, 53706(c):75–86, 2004.
[9] G. Martinez, M. Gardner, and W. chun Feng. CU2CL: A CUDA-to-OpenCL Translator
for Multi- and Many-Core Architectures. In Parallel and Distributed Systems
(ICPADS), 2011 IEEE 17th International Conference on, pages 300 –307, December
2011.
[10] J. Sams. Levels in Renderscript.
[11] J. Stratton, S. Stone, and W. Hwu. MCUDA: An efficient implementation of CUDA
kernels for multi-core CPUs. Languages and Compilers for Parallel Computing,
pages 16–30, 2008.

QRCODE
 
 
 
 
 
                                                                                                                                                                                                                                                                                                                                                                                                               
第一頁 上一頁 下一頁 最後一頁 top