-
Notifications
You must be signed in to change notification settings - Fork 182
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
DSLX interpreter is not properly resetting channels between test_procs #1789
Comments
meheff
added
bug
Something isn't working or is incorrect
dslx
DSLX (domain specific language) implementation / front-end
labels
Dec 12, 2024
Looking deeper into the problem, it looks like exactly one channel object is reused between the tests. I think it is the one declared as |
Here's the results with
|
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment
Channels are not cleared completely between test_proc invocations in DSLX interpreter. Code is below. Each of the layers seems to be necessary (top, middle, and bottom). Also the bottom layer needs to not send/receive every cycle. Running both tests results in the second test failing with channel values seemingly coming from the first test. Running the second test alone results in it passing.
Repro
It works with IR interpreter:
Code:
The text was updated successfully, but these errors were encountered: