Stuck on an issue?

Lightrun Answers was designed to reduce the constant googling that comes with debugging 3rd party libraries. It collects links to all the places you might be looking at while hunting down a tough bug.

And, if you’re still stuck at the end, we’re happy to hop on a call to see how we can help out.

WebGL implementation of calculations

See original GitHub issue

(this is a continuation of the discussion started in #11, so it can be ‘closed’ cleanly)

… jpcnn, which in turn relies on underscore …

Hmm - that is a lot of machinery to include 100-200 lines of WebGL. The least-intrusive method for including the end result (i.e. what the client sees) would be to have a separate convnet.webgl.min.js which, if it’s there, sets up a webgl flag for the regular convnet.min.js to call into - or even overwrite the re-implemented methods themselves.

On the source side, however, I’ve got to think there’s a more direct way of making the BLAS.js code ready-to-use. I also think it makes sense to go the BLAS-compatible route, since it’s a standard, and one avoids having to continuously re-invent the wheel… I’ll have a poke around for a cleaner set of includes.

All the Best Martin 😃

Issue Analytics

  • State:open
  • Created 9 years ago
  • Comments:17 (2 by maintainers)

github_iconTop GitHub Comments

waylonflinncommented, Aug 25, 2016

Hey everyone. I’m about to resume development on my convolutional neural net library powered by weblas (an in browser computation library powered by the GPU). Weblas was about five to ten times faster than gpu.js on the relevant functions last time I checked.

Library is here:

haehncommented, Aug 21, 2016

hi guys, i am really interested in this. what is the current state?

Read more comments on GitHub >

github_iconTop Results From Across the Web

Using WebGL to Solve a Practical Problem | by Jefferey Cave
A demonstration of GPU processing in the browser (WebGL). A practical use based on the Smith-Waterman algorithm. For dummy programmers.
Read more >
Using WebGL API to do math - javascript - Stack Overflow
Upcoming WebGL2 has greater facilities to do computations on GPU in form of transform feedback, geometry shaders and more texture and buffer formats....
Read more >
Under the Hood: Using WebGL to Accelerate Advanced ...
To get WebGL to perform physics calculations, simply trick your graphics processor by pretending that you're rendering graphics. First, keep the simulation data ......
Read more >
GPGPU is "General Purpose" GPU and means using the GPU for something other than drawing pixels. The basic realization to understanding GPGPU in...
Read more >
GPU physics calculations with three.js - WebGL
random(); // This was useful for debugging, comparing my JS // implementation to C: //r = Math.abs(Math. ... putImageData(pixel_data, 0, 0); ...
Read more >

github_iconTop Related Medium Post

No results found

github_iconTop Related StackOverflow Question

No results found

github_iconTroubleshoot Live Code

Lightrun enables developers to add logs, metrics and snapshots to live code - no restarts or redeploys required.
Start Free

github_iconTop Related Reddit Thread

No results found

github_iconTop Related Hackernoon Post

No results found

github_iconTop Related Tweet

No results found

github_iconTop Related Post

No results found

github_iconTop Related Hashnode Post

No results found