Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

how to import webgpu? #19012

Closed
nczsl opened this issue May 6, 2023 · 2 comments
Closed

how to import webgpu? #19012

nczsl opened this issue May 6, 2023 · 2 comments

Comments

@nczsl
Copy link

nczsl commented May 6, 2023

deno 1.33.2 (release, x86_64-pc-windows-msvc)
v8 11.4.183.1
typescript 5.0.3

image

@aapoalas
Copy link
Collaborator

aapoalas commented May 6, 2023

WebGPU has been temporarily removed from the Deno CLI due to performance complications due to its presence: #18094

If you need WebGPU, you need to downgrade to an earlier version. I believe the version where WebGPU was removed is 1.32.0.

@aapoalas aapoalas closed this as completed May 6, 2023
@xubaiw
Copy link

xubaiw commented Aug 11, 2023

I have created a FFI binding to wgpu-native, which exports most of the features of the underlying implementation.

Though the polyfill part has not been implemented yet, a collatz example can be runned with this binding.

repo: https://github.com/xubaiw/deno-wgpu
example: https://github.com/xubaiw/deno-wgpu/blob/main/examples/compute.ts

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

No branches or pull requests

3 participants