指導教授:劉邦鋒臺灣大學:資訊工程學研究所洪偉書Hung, Wei-ShuWei-ShuHung2014-11-262018-07-052014-11-262018-07-052014http://ntur.lib.ntu.edu.tw//handle/246246/261536Nowadays, mobile devices are suffering from limited computational resource. To increase capabilities of mobile devices, many efforts have been made to offload computation from mobile devices to resourceful servers. However, most of the approaches are only capable of offloading computation to CPUs. Recently, GPUs have received a lot of attention from the scientific community. Indeed, the exceptional parallel computing capabilities of GPUs can be used to accelerate different types of applications. In this thesis, we propose a computation offloading framework based on OpenCL – a standard for GPU computing. Our framework transparently offloads OpenCL workloads from mobile devices to an available OpenCL compatible device. We deployed our framework on real machines and conducted evaluation experiments using various OpenCL programs including basic matrix computations, an image processing Android app and benchmarks from AMD. The program achieves up to 50.3X speedup by remote offloading compared to the local execution using CPU.Certificate i Acknowledgement ii Chinese Abstract iii Abstract iv 1 Introduction 1 2 RelatedWork 3 2.1 Computation Offloading Research for Mobile Device . . . . . . . . . . . . . . . 3 2.2 OpenCL . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . 5 2.2.1 Platform Model . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . 5 2.2.2 Execution Model . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . 5 3 System Architecture 7 3.1 System Components . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . 8 3.1.1 OpenCL Client . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . 8 3.1.2 OpenCL Server . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . 9 3.1.3 OpenCL Manager . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . 9 3.2 System Flow . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . 11 4 Implementation 12 4.1 OpenCL Client . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . 12 4.2 OpenCL Server . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . 14 4.3 OpenCL Manager . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . 14 5 Experiments 16 5.1 Experimental Environment . . . . . . . . . . . . . . . . . . . . . . . . . . . . . 16 5.2 Experiment Result . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . 17 6 Conclusion 21 Bibliography 22697483 bytesapplication/pdf論文公開時間:2015/07/29論文使用權限:同意無償授權OpenCLGPUGPGPU行動雲端運算普及運算運算移轉智慧型行動裝置OpenCL運算移轉框架OpenCL Computation Offloading Framework on Mobile Devicethesishttp://ntur.lib.ntu.edu.tw/bitstream/246246/261536/1/ntu-103-R01922071-1.pdf