Steven Johnson
Steven Johnson
> This one is pending figuring out what breaks inside of google It's been a while, do we remember the gist of it
> I think we were knocking cases down one by one, but there are more failures that we have yet to diagnose. ok, I will pull it in and see...
So the fact that `abs()` has always returns a uint means that this change will likely mean that ~every call to it will need attention (e.g., something like `abs(y)` ->...
This one is definitely clean in google.
ready to land?
Is there any plan as to when/if this will get resolved?
One comment in https://github.com/halide/Halide/pull/6492 suggests that the lack of support for `wgpuInstanceProcessEvents()` is also tied to this issue, but I don't see it mentioned above
Ah, gotcha, thanks. FYI, googling for `wgpuInstanceProcessEvents()` shows that it is in Emscripten's current version of `webgpu.h`: https://github.com/emscripten-core/emscripten/blob/main/system/include/webgpu/webgpu.h -- is it already implemented there?
As of Aug 2023, Emscripten/Dawn now support (and *require*) wgpuCreateInstance() and wgpuInstanceRelease() in non-native code, so I updated those in [#7804](https://github.com/halide/Halide/pull/7804). (wgpuInstanceProcessEvents() and wgpuAdapterGetLimits() are still unimplemented.)
As of now, wgpuInstanceProcessEvents() and wgpuAdapterGetLimits() are both present in webgpu.h -- are they still nonfunctional?