gpu.js icon indicating copy to clipboard operation
gpu.js copied to clipboard

Which GPUs are supported?

Open viziionary opened this issue 9 years ago • 24 comments

My friend and I, on different devices, are both trying to run the basic test example on Node,js (thanks for fixing the require problem) and we both get the issue

Warning: gpu not supported, falling back to cpu support

And while he has integrated intel graphics in a laptop and I wouldn't be all that surprised by that not working, I have a desktop with a GeForce 1060 6GB installed, so I can't imagine why my GPU wouldn't be compatible.

viziionary avatar Nov 01 '17 00:11 viziionary

So an update to everyone, v2, rc2 has Nodejs support. In-fact it pushes the existing mechanics of gpu.js to be very stable. It is near release time for it, as unit tests are passing very well. There is, however, one missing feature highlighted here: https://github.com/stackgl/headless-gl/issues/142

To expound on the feature: In order for GPU.js to be really fast, we want to set multiple outputs for a single input. This already works in webgl1, webgl2, and CPU with the createKernelMap method. I've been working really hard to find out what the missing requirements are to satisfy that feature, and as of last night for it working for the repo that gives us node GPU support here: https://github.com/stackgl/headless-gl/pull/144

While there may be some changes that need to happen to satisfy the maintainers of headless-gl, unencumbered GPU.js node support is imminent. Said differently, we finally have full on GPU support on the server. A little late, but on its way.

Just fyi.

robertleeplummerjr avatar Feb 25 '19 12:02 robertleeplummerjr

Because this issue has to do with node and an already mature issue was raised here: https://github.com/gpujs/gpu.js/issues/52

Going to close and continue progress there.

robertleeplummerjr avatar Feb 25 '19 12:02 robertleeplummerjr

So to be clear: currently to get the full on effects, just browserify your code from node, and run it in a browser

A little late to the party. I'm actually just curious about this. (FYI complete newbie to ML in general) This might sound stupid, but would running my brainjs code within a headless browser - like chrome headless or something else - allow it to leverage the WebGL and there by the GPU for increased speed and performance?

michaelonubogu avatar Apr 23 '19 13:04 michaelonubogu

Yes it would provided that the PC has a GPU.

harshkhandeparkar avatar Apr 23 '19 13:04 harshkhandeparkar