gpu.js
gpu.js copied to clipboard
GPU.js will not load on browser with webgpu enabled due to native object named "GPU" being present
* Enable webgpu in chrome flags. type GPU in console to see that GPU object already exists as native object on webgpu enabled browser. try load gpu.js observe error "Uncaught TypeError: GPU is not a constructor"
Use new window.GPU.GPU(); instead.