Is js via gpu (WebGL i assume) already efficient enough to make the concept of "computation time instead of banners" finally viable?
Gpu.js – GPU Accelerated JavaScript
51–60 of 84 posts
Re: Gpu.js – GPU Accelerated JavaScript
#52Not sure what's the root cause for this.
Re: Gpu.js – GPU Accelerated JavaScript
#53I've built an animated raytracer using this library. http://raytracer.crypt.sg The compile-able JavaScript subset is still fairly limited, so vector operations are quite painful. Beyond that, it's a great library to start with for parallel computation in the browser if you have no background in WebGL/GLSL.
Re: Gpu.js – GPU Accelerated JavaScript
#54After running these GPU benchmarks I had to reboot my Macbook because all my open windows went scrambled and unreadable. Not sure what's the root cause for this.
Re: Gpu.js – GPU Accelerated JavaScript
#55After running these GPU benchmarks I had to reboot my Macbook because all my open windows went scrambled and unreadable. Not sure what's the root cause for this.
Sounds like your GPU is dying.
Re: Gpu.js – GPU Accelerated JavaScript
#56I've built an animated raytracer using this library. http://raytracer.crypt.sg The compile-able JavaScript subset is still fairly limited, so vector operations are quite painful. Beyond that, it's a great library to start with for parallel computation in the browser if you have no background in WebGL/GLSL.
It reminds me the path-traced online game, that I made three years ago :) http://powerstones.ivank.net/
Re: Gpu.js – GPU Accelerated JavaScript
#57After running these GPU benchmarks I had to reboot my Macbook because all my open windows went scrambled and unreadable. Not sure what's the root cause for this.
It's definitely not the fault of the GPU benchmarks - that shouldn't cause system wide problems.
Re: Gpu.js – GPU Accelerated JavaScript
#58After running these GPU benchmarks I had to reboot my Macbook because all my open windows went scrambled and unreadable. Not sure what's the root cause for this.
Re: Gpu.js – GPU Accelerated JavaScript
#59How does this compare to Turbo.js?
- doesn't support hardware or drivers that still don't support hp float textures (all things Apple basically)[2]
- requires you to use GLSL
(I'm the creator of turbo.js)
[1] - https://github.com/turbo/NanoCL [2] - https://github.com/turbo/js/blob/dev/turbo.js#L45-L135
Re: Gpu.js – GPU Accelerated JavaScript
#60CPU: 0.426s ±7.6%
GPU: 2.399s ±4.7%
Running Chrome, Latest Stable. Windows 7. It seems odd to me that it would take 6x longer when my graphics card (GTX 690) would theoretically be much faster than my CPU (Intel i7-3930k)