-
Notifications
You must be signed in to change notification settings - Fork 201
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
AssertionError
when declaring bytearray inside of kernel
#2684
Comments
artiq/artiq/compiler/transforms/artiq_ir_generator.py Lines 2277 to 2290 in 994f60e
The compiler reuses the same logic as for lists here and assumes the argument is an iterable. The same issue should exist for |
What's the use case for bytes in kernels? |
I was implementing downloading the camera xml files via cxp syscall. And |
Bug Report
One-Line Summary
AssertionError
when declaringbytearray(len)
inside of kernel, see example belowIssue Details
Steps to Reproduce
example with error
example that runs fine
Expected Behavior
No
AssertionError
when usingbytearray(len)
Actual (undesired) Behavior
Your System (omit irrelevant parts)
The text was updated successfully, but these errors were encountered: