HSAemu Framework為符合HSA foundation所訂定之HSA架構下之模擬器,而支持此模擬器的編譯工具鏈為HSAemu Compilation Framework。 OpenCL為對應此類異質運算架構下的函式庫,提供相應的API來撰寫異質運算的程式。 OpenCL 2.0提供了更多的語言特性來發揮異質運算的優勢,其中包括:Shared Virtual Memory、Generic Address Space、Nested Parallelism、C11 Atomics、Pipe等等嶄新功能。 而現行僅HSAemu Framework在模擬器層級提供了OpenCL 2.0中Shared Virtual Memory此特性,現行版本的HSAemu Compilation Framework僅對OpenCL 1.2版提供支援。故舊版的HSAemu和對應的編譯工具僅能執行OpenCL 1.2版的異質運算程式。 此篇論文的主要目的為,提出一基於HSA架構且符合OpenCL 2.0特性的編譯框架,並與HSAemu Framework整合使用提供一可執行OpenCL 2.0程式的模擬框架。此篇的目標OpenCL 2.0特性分別為 Generic Address Space、Nested Parallelism、C11 Atomics、Pipe和其餘與之整合性使用之功能。
HSAemu Framework is an emulation framework, which is compliant with HSA defined by HSA Foundation. The complier toolchain supporting HSAemu Framework is HSAemu Compilation Framework. To use HSAemu Framework and HSAemu Compilation Framework, users can write an OpenCL program and execute it. OpenCL is a library, which provides APIs to control the heterogeneous device. OpenCL 2.0 provides many new features for the heterogeneous computing, which can bring many benefits. The features are Shared Virtual Memory, Generic Address Space, Nested Parallelism, C11 Atomics and Pipes. The original version HSAemu Framework only provides Shared Virtual Memory in the hardware level, and the HSAemu Compilation Framework only supports OpenCL 1.2. In other words, the original version of HSAemu Framework and the compilation toolchain only support OpenCL 1.2 programs. In this paper, we focus on implementing an OpenCL 2.0 Compilation Framework based on HSAemu compilation Framework. After cooperating with HSAemu Framework, we can provide an emulation framework which is not only able to execute OpenCL 2.0 programs and also HSA compliant. The main OpenCL 2.0 features we focus on are Generic Address Space, Nested Parallelism, C11 Atomics and Pipe.
為了持續優化網站功能與使用者體驗,本網站將Cookies分析技術用於網站營運、分析和個人化服務之目的。
若您繼續瀏覽本網站,即表示您同意本網站使用Cookies。