-
Notifications
You must be signed in to change notification settings - Fork 17
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
Memory pattern configurability #6
Comments
Oh okay, thanks! I have used 'GenericMemoryStreamsPass' with RISCV and it works. I haven't tried this with the looping aspect enabled. I will try that out and update. Thanks! |
Thanks I am able to use the memory stream pass ( 'GenericMemoryStreamsPass' with RISCV ) with endless loop enabled. It does seem to me though that in every iteration of the loop the addresses are repeated from the beginning of the stream. For example: /* Building block start / In the code above, I think the LW instruction in the loop always loads from the same address. In other words, I don't think there seems to be a 'per-loop-iteration' configurability. This might be the intended objective (i.e. that the iterations of the loop are exactly the same) but I guess having some per-iteration configurability might be useful in creating some streaming usecases. Let me know what you think and/or if I'm missing anything. |
@rgokulsm without more information I can not debug/check what is going on. Can you provide the actual set of passes and parameters that you are using? |
Ramon, I just realized I'm using the 'SingleMemoryStreamPass' and not the 'GenericMemoryStreamsPass'. Not sure if that has anything to do with it. My apologies, I will test the latter and get back to you. The code I'm running at the moment is:
` |
From @rgokulsm comment on issue #5 :
There are already various passes that control the memory access pattern, all of them rely on an endless loop behavior so that the requested access pattern can be generated over time. The two main passes are the following (there are others for more specific use cases):
Not sure the level of support for these passes for the RISCV-port, but if you let me know which type of patterns you'd like to generate, I can prioritize that effort.
The text was updated successfully, but these errors were encountered: