Abstract:
gpu.js is a client-side general-purpose computing on graphics processing units (GPGPU) library for the browser written entirely in JavaScript. Unlike some of the earlier ...Show MoreMetadata
Abstract:
gpu.js is a client-side general-purpose computing on graphics processing units (GPGPU) library for the browser written entirely in JavaScript. Unlike some of the earlier implementations of client-side GPGPU, gpu.js does not require browser support through an explicit GPGPU API or an installation of a custom native runtime browser extension to enable such support. This allows the library to run on all modern platforms, including on mobile devices such as smartphones. It achieves this by using the already widely adopted Web Graphics Library graphics API in a manner that it is not designed for by making use of JavaScript-to-Open GL Shading Language transpilation. The library abstracts away all the unnecessary implementation details of awkwardly performing GPGPU on a graphics API and, at the same time, provides an API that was designed specifically for GPGPU.
Published in: Computing in Science & Engineering ( Volume: 20, Issue: 1, January/February 2018)