Skip to content

Javascript Library for general purpose computing on GPU

License

Notifications You must be signed in to change notification settings

kochizufan/webclgl

Folders and files

NameName
Last commit message
Last commit date

Latest commit

 

History

9 Commits
 
 
 
 
 
 
 
 

Repository files navigation

webclgl

Javascript Library for general purpose computing on GPU, aka GPGPU.

WebCLGL use a code style like WebCL for handle the operations (more understandable that WebGL if not is for 3D graphics end) and which then translates to WebGL code.
Not 100% the same as the future WebCL specification nor has all its advantages. Some limitations are:
- Writing over multiple buffers in a single kernel.
- Read and write a buffer at same time. (In this case you must create a temporary buffer for the writing and later fix the changes with the webCLGL.copy function.)

Examples

- Basic example A+B
- Benchmarks
- Using vectors
- Using vectors as output
- Compare values ??with other ids


Last changes

WebCLGL 2.0 BETA4 Dec 4, 2013
Offset parameter at now must be indicated in createBuffer function.
Added function enqueueReadBuffer_WebGLTexture().
Added function copy(bufferToRead, bufferToWrite).

WebCLGL 2.0 BETA4 Nov 23, 2013
enqueueWriteBuffer function allows use a WebGLTexture object and HTMLImageElement.
Added optional argument "flip" in enqueueWriteBuffer function.

WebCLGL 2.0 BETA3 Nov 03, 2013
Fixed bug that prevented write to a buffer with a different length than indicated in "new WebCLGL(length, offset, webglcontext)".
Removed length argument in "new WebCLGL(length, offset, webglcontext)".

WebCLGL 2.0 BETA2 Nov 03, 2013
Now you can provide a specific context WebGL and save directly at your floating point texture using enqueueNDRangeKernel, in the case that you are using WebGL in your application and you want an improvement in performance.

WebCLGL 2.0 BETA1 Oct 28, 2013
Now uses floating point texture capabilities (OES_texture_float), float and vector (in/out) and others improvements.

About

Javascript Library for general purpose computing on GPU

Resources

License

Stars

Watchers

Forks

Packages

No packages published