AMD has been working on implementing WebCL inside a Chrome browser to enable web programmer’s access to OpenCL acceleration plus WebCL and WebGL interoperability.
The following video shows the potential:
Hands on experience can be found through the Chromium-WebCL github project, where you can get the source code, build instructions, pre-built binaries and links to Superconductor WebCL demos.
To get a sense of the performance difference between OpenCL + OpenGL on the CPU vs. GPU, see my OpenCL tutorial “Part 6 Primitive restart and OpenGL interoperability“.
The following videos illustrate the performance difference.
- OpenCL CPU version: Note 100% utilization of all six CPU cores.
- OpenCL GPU version. Note the dramatic increase in speed because there is no PCI bus limitation!