WebCL開発元WebCL Working Group
最新版1.0 / 2014年3月19日 (10年前) (2014-03-19)
対応OSクロスプラットフォーム
種別API
公式サイトwww.khronos.org/webcl/
HTML
各種項目
HTML
ダイナミックHTML
HTML5
audio要素
canvas要素
video要素
XHTML
Mobile Profile
C-HTML
HTML要素
HTMLフレーム(英語版)
HTML エディター
文字符号化(英語版)
Unicode(英語版)
Document Object Model
スタイルシート(CSS)
フォントファミリー(英語版)
ウェブカラー
HTMLスクリプティング(英語版)
JavaScript
WebGL
WebCL
W3C(バリデータ)
WHATWG
後方互換モード(英語版)
ウェブストレージ
レンダリングエンジン
比較
マークアップ言語(英語版)
HTML(英語版)
XHTML(英語版)
.mw-parser-output .hlist ul,.mw-parser-output .hlist ol{padding-left:0}.mw-parser-output .hlist li,.mw-parser-output .hlist dd,.mw-parser-output .hlist dt{margin-right:0;display:inline-block;white-space:nowrap}.mw-parser-output .hlist dt:after,.mw-parser-output .hlist dd:after,.mw-parser-output .hlist li:after{white-space:normal}.mw-parser-output .hlist li:after,.mw-parser-output .hlist dd:after{content:" ・\a0 ";font-weight:bold}.mw-parser-output .hlist dt:after{content:": "}.mw-parser-output .hlist-pipe dd:after,.mw-parser-output .hlist-pipe li:after{content:" |\a0 ";font-weight:normal}.mw-parser-output .hlist-hyphen dd:after,.mw-parser-output .hlist-hyphen li:after{content:" -\a0 ";font-weight:normal}.mw-parser-output .hlist-comma dd:after,.mw-parser-output .hlist-comma li:after{content:"、";font-weight:normal}.mw-parser-output .hlist-slash dd:after,.mw-parser-output .hlist-slash li:after{content:" /\a0 ";font-weight:normal}.mw-parser-output .hlist dd:last-child:after,.mw-parser-output .hlist dt:last-child:after,.mw-parser-output .hlist li:last-child:after{content:none}.mw-parser-output .hlist dd dd:first-child:before,.mw-parser-output .hlist dd dt:first-child:before,.mw-parser-output .hlist dd li:first-child:before,.mw-parser-output .hlist dt dd:first-child:before,.mw-parser-output .hlist dt dt:first-child:before,.mw-parser-output .hlist dt li:first-child:before,.mw-parser-output .hlist li dd:first-child:before,.mw-parser-output .hlist li dt:first-child:before,.mw-parser-output .hlist li li:first-child:before{content:" (";font-weight:normal}.mw-parser-output .hlist dd dd:last-child:after,.mw-parser-output .hlist dd dt:last-child:after,.mw-parser-output .hlist dd li:last-child:after,.mw-parser-output .hlist dt dd:last-child:after,.mw-parser-output .hlist dt dt:last-child:after,.mw-parser-output .hlist dt li:last-child:after,.mw-parser-output .hlist li dd:last-child:after,.mw-parser-output .hlist li dt:last-child:after,.mw-parser-output .hlist li li:last-child:after{content:")\a0 ";font-weight:normal}.mw-parser-output .hlist ol{counter-reset:listitem}.mw-parser-output .hlist ol>li{counter-increment:listitem}.mw-parser-output .hlist ol>li:before{content:" "counter(listitem)" ";white-space:nowrap}.mw-parser-output .hlist dd ol>li:first-child:before,.mw-parser-output .hlist dt ol>li:first-child:before,.mw-parser-output .hlist li ol>li:first-child:before{content:" ("counter(listitem)" "}.mw-parser-output .navbar{display:inline;font-size:75%;font-weight:normal}.mw-parser-output .navbar-collapse{float:left;text-align:left}.mw-parser-output .navbar-boxtext{word-spacing:0}.mw-parser-output .navbar ul{display:inline-block;white-space:nowrap;line-height:inherit}.mw-parser-output .navbar-brackets::before{margin-right:-0.125em;content:"[ "}.mw-parser-output .navbar-brackets::after{margin-left:-0.125em;content:" ]"}.mw-parser-output .navbar li{word-spacing:-0.125em}.mw-parser-output .navbar-mini abbr{font-variant:small-caps;border-bottom:none;text-decoration:none;cursor:inherit}.mw-parser-output .navbar-ct-full{font-size:114%;margin:0 7em}.mw-parser-output .navbar-ct-mini{font-size:114%;margin:0 4em}.mw-parser-output .infobox .navbar{font-size:88%}.mw-parser-output .navbox .navbar{display:block;font-size:88%}.mw-parser-output .navbox-title .navbar{float:left;text-align:left;margin-right:0.5em}
表
話
編
歴
WebCL(Web Computing Language)はプラグインなしでウェブブラウザで CPU や GPU などによるヘテロジーニアス並列計算を行うための標準仕様。主に、WebCL はマルチコアCPUやGPUの真の計算速度をウェブアプリケーションが引き出すこと、物理エンジンや動画編集など計算量が多いプログラムをウェブブラウザ内で実行させることを可能にする。Samsung WebCL Prototype Demo では JavaScript 実装との比較で最大100倍高速化した[1]。WebCLはOpenCL同様、管理・設計を非営利団体の Khronos Group が行っている[2]。WebCL の仕様は2014年3月19日に最初のバージョンがリリースされたて以降、事実上放置されており、ネイティブでサポートするブラウザも存在しない[3]。WebCL 1.0は、ブラウザ上で利用できるOpenCL 1.1 Embedded Profileの派生規格であるが、細部に違いがある[4]。 現在、WebCL をネイティブにサポートしているブラウザはまだない。しかし、WebCL を利用するためのアドオンは存在する。
実装
Motorola (Node.js) - https://github.com/Motorola-Mobility/node-webcl
Nokia (Firefox) - ⇒http://webcl.nokiaresearch.com/
Mozilla (Firefox) - ⇒http://hg.mozilla.org/projects/webcl/
Samsung (WebKit) - https://code.google.com/archive/p/webcl
Nokia のサンプルコードでは <script type="x-opencl">、Samsung のサンプルコードでは <script type="x-kernel"> という形で HTML 内に OpenCL コードを記載して利用している。
アプリケーション
Sushi JavaScript Library - https://github.com/mil-tokyo/sushi
Firefox, Chromium-WebCL, Node.js から利用できるWebCLを利用した高速な行列計算ライブラリ
参考文献[脚注の使い方]^ WebCL Overview and Roadmap
^ “WebCL”. Khronos Group. 2012年5月6日閲覧。
^ “ ⇒WebCLでWebデベロッパもGPUやCPUのマルチコアをブラウザ内で有効利用(==並列処理)できるようになる”. TechCrunch Japan. 2016年9月1日閲覧。
^ WebCL Specification
関連項目
WebGL
OpenCL
OpenGL
HTML5
外部リンク
公式ウェブサイト
WebCL Specification
WebCL Demo
表
話
編
歴
クロノス・グループの規格
COLLADA
EGL(英語版)
OpenCL
OpenGL