We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
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
As far as I can tell, WebGPU devices are never destroyed. There's a TODO in device_pool.ts for destroying a device:
device_pool.ts
cts/src/webgpu/util/device_pool.ts
Line 77 in 2ebec0e
If we're not destroying devices, we're not testing tear-down logic, which seems like a big thing to be missing right now.
It also seems that because we're not destroying the devices, the Device.lost promise will never be resolved or rejected.
Device.lost
The text was updated successfully, but these errors were encountered:
dawn_node: Track promises
e9cbd48
These should always be resolved or rejected. The Fatal() call, when a promise is not resolved or rejected, is currently disabled due to gpuweb/cts#784. Bug: dawn:1123 Change-Id: Ie0e8ac187ad70be0fea41cd66956d0bfd9c53212 Reviewed-on: https://dawn-review.googlesource.com/c/dawn/+/66821 Reviewed-by: Antonio Maiorano <[email protected]> Commit-Queue: Ben Clayton <[email protected]>
We're not, and that's because we didn't have device destruction until recently. (Actually I'm not even sure whether it's completed yet.)
I have a draft of some tests for device destruction and Device.lost in #687 but haven't finished them.
Sorry, something went wrong.
lokokung
No branches or pull requests
As far as I can tell, WebGPU devices are never destroyed. There's a TODO in
device_pool.ts
for destroying a device:cts/src/webgpu/util/device_pool.ts
Line 77 in 2ebec0e
If we're not destroying devices, we're not testing tear-down logic, which seems like a big thing to be missing right now.
It also seems that because we're not destroying the devices, the
Device.lost
promise will never be resolved or rejected.The text was updated successfully, but these errors were encountered: