-
As the title. // main.js
const entryFunc = async () => {
const adapter = await navigator.gpu.requestAdapter()
const device = await adapter.requestDevice()
console.log(device.limits)
// ...
} node ./main.js |
Beta Was this translation helpful? Give feedback.
Replies: 3 comments 15 replies
-
WebGPU is not implemented in Node.js. Maybe we could integrate it using the C++ library that is being made for Chromium: https://dawn.googlesource.com/dawn |
Beta Was this translation helpful? Give feedback.
-
https://github.com/maierfelix/webgpu could be of use. Perhaps we could ask to turn into organization and continue support?: |
Beta Was this translation helpful? Give feedback.
-
There are official Node.js bindinging by the Chromium team IIRC |
Beta Was this translation helpful? Give feedback.
WebGPU is not implemented in Node.js.
Maybe we could integrate it using the C++ library that is being made for Chromium: https://dawn.googlesource.com/dawn