Repository navigation
[WebGPU] Async, loop-based invoke and output. - #13962
Merged
Merged
Conversation
12 of 26 tasks
Member
Author
|
Ping? I'm still debugging the (preexisting) memory corruption with 2+ outputs and alignment warnings, but I think I've smoothed out enough of the rough edges in this PR. |
benvanik
approved these changes
Jun 12, 2023
nhasabni
pushed a commit
to plaidml/iree
that referenced
this pull request
Aug 24, 2023
Redo of iree-org#13820, which was closed because GitHub is silly. --- Now that iree-org#13669 added support for `iree_loop_wait_all()` to `iree_loop_emscripten`, this builds on the work that iree-org#11017 started to convert the sample WebGPU application to be fully asynchronous[1]. The code _should_ support multiple return values, but I ran into iree-org#13809 while working on this. ^[1]: `iree_hal_semaphore_wait` is still technically synchronous, see the notes in the source code
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment
Add this suggestion to a batch that can be applied as a single commit.This suggestion is invalid because no changes were made to the code.Suggestions cannot be applied while the pull request is closed.Suggestions cannot be applied while viewing a subset of changes.Only one suggestion per line can be applied in a batch.Add this suggestion to a batch that can be applied as a single commit.Applying suggestions on deleted lines is not supported.You must change the existing code in this line in order to create a valid suggestion.Outdated suggestions cannot be applied.This suggestion has been applied or marked resolved.Suggestions cannot be applied from pending reviews.Suggestions cannot be applied on multi-line comments.Suggestions cannot be applied while the pull request is queued to merge.Suggestion cannot be applied right now. Please check back later.
Redo of #13820, which was closed because GitHub is silly.
Now that #13669 added support for
iree_loop_wait_all()toiree_loop_emscripten, this builds on the work that #11017 started to convert the sample WebGPU application to be fully asynchronous[1].The code should support multiple return values, but I ran into #13809 while working on this.
^[1]:
iree_hal_semaphore_waitis still technically synchronous, see the notes in the source code