|
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 |
Answered by
targos
Feb 15, 2022
Replies: 0 comments 19 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 |
4 replies
Answer selected by
wewindy
|
https://github.com/maierfelix/webgpu could be of use. Perhaps we could ask to turn into organization and continue support?: |
7 replies
|
There are official Node.js bindinging by the Chromium team IIRC |
5 replies
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment
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