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

WASM Tests Unsupported on WebGPU #3677

Open
Tracked by #3678 ...
cwfitzgerald opened this issue Apr 12, 2023 · 1 comment
Open
Tracked by #3678 ...

WASM Tests Unsupported on WebGPU #3677

cwfitzgerald opened this issue Apr 12, 2023 · 1 comment
Labels
api: webgpu Issues with direct interface with WebGPU area: tests Improvements or issues with our test suite

Comments

@cwfitzgerald
Copy link
Member

Currently our tests rely on the ability to wait for gpu work to be finished. This is accessible through a mistake of an API on WebGL, but synchronous waiting is not supported with webgpu.

In order for our tests to work on WebGPU, we will need to make them, at least in part, asynchronous. Another possible solution is to execute them in a web worker via wasm-thread which works out of the box.

@cwfitzgerald cwfitzgerald added api: webgpu Issues with direct interface with WebGPU area: tests Improvements or issues with our test suite labels Apr 12, 2023
@cwfitzgerald
Copy link
Member Author

#3873 now allows asynchronous tests, we still need to convert the tests to utilize the asynchronousness.

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
api: webgpu Issues with direct interface with WebGPU area: tests Improvements or issues with our test suite
Projects
None yet
Development

No branches or pull requests

1 participant