uebquite/webcl-demos — pull request #29 by alerock (2013-06-17 13:46:58+00:00)
Title: Create a webcl.js file to be shared by some demos

issue #12

Some WebCL functions to help with some common or repeated tasks like get context using CPU or GPU, build program and create commandQueue

Eg:
WebCLCommon.init("GPU");
var ctx = WebCLCommon.createContext();
var program = WebCLCommon.createProgramBuild(kernelSrc);
var cmdQueue = WebCLCommon.createCommandQueue();

Reviewed by: NO BODY