TY - JOUR
T1 - O2WebCL
T2 - an automatic OpenCL-to-WebCL translator for high performance web computing
AU - Cho, Myeongjin
AU - Han, Youngsun
AU - Kim, Minseong
AU - Kim, Seon Wook
N1 - Funding Information:
This work was supported by the Industrial Strategic Technology Development Program (10041664, The Development of Fusion Processor based on Multi-Shader GPU) funded by the Ministry of Trade, Industry and Energy (MI, Korea).
Publisher Copyright:
© 2014, Springer Science+Business Media New York.
PY - 2015/6/29
Y1 - 2015/6/29
N2 - HTML5 has become very attractive for cross-platform applications on software-side. Likewise, GPU has increased in popularity due to its energy efficiency of parallel execution on hardware-side. JavaScript, which performs dynamic operations of HTML5, is natively slow. To resolve the performance problem, web computing language (WebCL) can be utilized. WebCL operates by adapting open computing language (OpenCL) codes for web execution. Programming of WebCL code can be quite challenging, however, for both OpenCL and web programmers. In this paper, we propose an OpenCL-to-WebCL translator infrastructure, called O2WebCL. O2WebCL consists of a fully automated OpenCL-to-WebCL translator and O2WebCL library. The O2WebCL translator converts OpenCL codes into WebCL codes and O2WebCL application programming interfaces. The O2WebCL library operates as a bridge between the OpenCL and WebCL libraries. We resolved some implementation issues for the bridge such as type conversion and indirect addressing. We evaluated the performance of our work and found that we could achieve, on average, 75 % of the performance of the equivalent OpenCL execution.
AB - HTML5 has become very attractive for cross-platform applications on software-side. Likewise, GPU has increased in popularity due to its energy efficiency of parallel execution on hardware-side. JavaScript, which performs dynamic operations of HTML5, is natively slow. To resolve the performance problem, web computing language (WebCL) can be utilized. WebCL operates by adapting open computing language (OpenCL) codes for web execution. Programming of WebCL code can be quite challenging, however, for both OpenCL and web programmers. In this paper, we propose an OpenCL-to-WebCL translator infrastructure, called O2WebCL. O2WebCL consists of a fully automated OpenCL-to-WebCL translator and O2WebCL library. The O2WebCL translator converts OpenCL codes into WebCL codes and O2WebCL application programming interfaces. The O2WebCL library operates as a bridge between the OpenCL and WebCL libraries. We resolved some implementation issues for the bridge such as type conversion and indirect addressing. We evaluated the performance of our work and found that we could achieve, on average, 75 % of the performance of the equivalent OpenCL execution.
KW - JavaScript
KW - OpenCL
KW - OpenCL to WebCL translation
KW - WebCL
UR - http://www.scopus.com/inward/record.url?scp=84929964646&partnerID=8YFLogxK
U2 - 10.1007/s11227-014-1260-4
DO - 10.1007/s11227-014-1260-4
M3 - Article
AN - SCOPUS:84929964646
VL - 71
SP - 2050
EP - 2065
JO - The Journal of Supercomputing
JF - The Journal of Supercomputing
SN - 0920-8542
IS - 6
ER -