-
Notifications
You must be signed in to change notification settings - Fork 26
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
Worker-to-Self Channel Example #654
Comments
Thanks for investigating into worker-to-worker communication scenario. This scenario hasn't been exercised, so a bug at air compiler is possible. The |
And this assumption could affect other methods and passes in air compiler. |
Ah, I see! As a path forward, would it make sense to:
|
An update on this plan:
I will leave this issue up until the l1-l1 worker-to-self example is supported (and the lit test passes) or it is decided this is definitely an illegal action, which can be caught by the verifier (hopefully with a helpful error). |
This is an issue that directly addresses accessing l2 allocations in the channel: #666 This PR takes that fix and attempts to fix the worker-to-self example using this new capability; however, it still fails with:
|
I am working on writing a worker-to-worker data transfer example for channels (as part of the grouping of examples that exercise various features of channels, #648).
Draft PR is here: #653
I am basing it off the code in the channel_size example (PR waiting to be merged here: #642)
The channel_size example works well for me. As an intermediate step to adding worker-to-worker communication to that example, I tried to have each worker send data to itself over a channel. That is the version of the code that is pushed in the draft PR #653. The particular file of interest is this one.
When I run with this intermediate step, I get the following error:
My question is:
The text was updated successfully, but these errors were encountered: