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

Parallel devices?

Open jbonnett92 opened this issue 4 years ago • 2 comments

A Hacker

Can we add the option for parallel devices? Like OpenCL you have the option to add more devices, multiple CPUs and GPUs.

Also what if you already have two GPUs? I have no way of selecting a particular one?

Thanks, Jamie

jbonnett92 avatar Feb 01 '21 13:02 jbonnett92

I'm not sure if browsers allow choosing a GPU, so in browser the most parallel you can get is to have CPU and GPU.

Multiple GPUs on node would require multiple gl context, and likely a rewrite of gpu.js itself.

danbulant avatar Apr 03 '21 07:04 danbulant

I don't think this is possible in the browser. The hardware part is mostly handled by the browser.

harshkhandeparkar avatar Apr 03 '21 08:04 harshkhandeparkar