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

meet error when run script #12

Open
airingursb opened this issue Mar 29, 2023 · 4 comments
Open

meet error when run script #12

airingursb opened this issue Mar 29, 2023 · 4 comments

Comments

@airingursb
Copy link

error: Uncaught (in promise) TypeError: Failed to execute 'createComputePipeline' on 'GPUDevice': 'layout' of 'GPUComputePipelineDescriptor' (Argument 1) is not of type GPUPipelineLayout.
const computePipeline = device.createComputePipeline({
                               ^
    at makeException (deno:ext/webidl/00_webidl.js:80:12)
    at deno:ext/webidl/00_webidl.js:867:15
    at Array.GPUComputePipelineDescriptor (deno:ext/webidl/00_webidl.js:712:34)
    at GPUDevice.createComputePipeline (deno:ext/webgpu/01_webgpu.js:1150:38)
    at file:///Users/airing/Files/code/wgpu-deno-example/hello-compute/mod.ts:80:32

deno version:

deno 1.23.2 (release, x86_64-apple-darwin)
v8 10.4.132.8
typescript 4.7.2
@crowlKats
Copy link
Member

This has been fixed in the webgpu implementation, however deno currently doesnt have webgpu anymore; hopefully sometime soon we will be able to bring it back.

@mikejohnstn
Copy link

deno currently doesnt have webgpu anymore

I guess that explains why this repo no longer works. :) Can you share any details about why it was removed and when it could come back?

@crowlKats
Copy link
Member

@mikejohnstn it was removed due to performance implication on the entirety of the runtime, and given its currently extremely limited use, it was agreed that removing it was the best solution.
However, we are currently investigating bringing it back without having these performance implications

@crowlKats
Copy link
Member

Update: WebGPU is back, and will be available in the release next Wednesday.

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