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

allow specifying the external memory #7125

Open
wants to merge 10 commits into
base: main
Choose a base branch
from

Conversation

gkgoat1
Copy link

@gkgoat1 gkgoat1 commented Nov 27, 2024

Allows specifying the memory used in Asyncify in case of multiple memories via an export.

Copy link
Member

@kripken kripken left a comment

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

Makes sense to add this, good idea.

Please add documentation for this, around line 246 which is where the current options are documented.

And please add a test. It can be similar to test/lit/passes/asyncify_pass-arg=asyncify-side-module.wast

src/passes/Asyncify.cpp Outdated Show resolved Hide resolved
test/lit/passes/[email protected] Outdated Show resolved Hide resolved
test/lit/passes/[email protected] Show resolved Hide resolved
test/lit/passes/[email protected] Outdated Show resolved Hide resolved
gkgoat1 and others added 2 commits December 5, 2024 16:41
One more commit coming, where I update the tests

Co-authored-by: Alon Zakai <[email protected]>
src/passes/Asyncify.cpp Show resolved Hide resolved
src/passes/Asyncify.cpp Outdated Show resolved Hide resolved
src/passes/Asyncify.cpp Outdated Show resolved Hide resolved
src/passes/Asyncify.cpp Show resolved Hide resolved
src/passes/Asyncify.cpp Show resolved Hide resolved
test/lit/passes/[email protected] Show resolved Hide resolved
@kripken
Copy link
Member

kripken commented Dec 31, 2024

Thanks! Looks good. Waiting on tests now.

@kripken
Copy link
Member

kripken commented Jan 2, 2025

Looks like there are test errors here that need to be looked into. Let me know if you need help with that.

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

Successfully merging this pull request may close these issues.

2 participants