(Towards #3367) def use chain update for assignments.#3399
Conversation
Codecov Report✅ All modified and coverable lines are covered by tests. Additional details and impacted files@@ Coverage Diff @@
## master #3399 +/- ##
==========================================
Coverage 100.00% 100.00%
==========================================
Files 393 393
Lines 54918 55024 +106
==========================================
+ Hits 54918 55024 +106 ☔ View full report in Codecov by Harness. 🚀 New features to boost your workflow:
|
|
I resolved the last of the FIXMEs. I need to do some tests with loops and things where I check I get the same results for Assignment.next_accesses/previous_accesses that I would calling it for all of the References individually. |
|
Having an issue with this code: For the single reference case, it doesn't find b=1 for a forward check for the original |
…t shows some easy cases for forward accesses
|
Fixed the previous case, but immediately created another non-equivalent case where I do as the def use chains output for b when the full statement is input goes past the |
|
I fixed the above case going forwards, so things are looking like they're getting there. I suspect there will be issues going backwards that I'll need to match as well. |
|
NEMO ITs failing in the async runs. I need to manually look at whats happening - I think barriers are now being missed, which if there's not a simple solution to it might need a full DUC rewrite 😢 |
|
@arporter Ready for another look. |
arporter
left a comment
There was a problem hiding this comment.
Thanks very much Aidan. I just need clarification on one comment and then this is good to go. I'll re-check the ITs as there's been quite a lot of code under the bridge since I last did it.
|
Unfortunately the ITs were not happy - please could you take a look? |
|
I had a quick look and I think the fixes on your branch will resolve most of them. The LFRic extraction ones I'm hoping will be fixed but there were a lot of build system errors there. |
|
@arporter Fixed up the issues, ready for another look. |
arporter
left a comment
There was a problem hiding this comment.
All looks good now, thanks Aidan. I also see the ITs are all green so this is ready to go.
I now have this at a stage that it can handle multiple inputs and behave somewhat sensibly. I haven't yet finished, as it currently requires inputs to be members of the same parent, but I think we want them to simply share an ancestor statement.
There are a few remaining FIXMEs for things that I don't know what they were preventing previously and didn't cause any previous test failures, but presumably were things I thought mattered previously (though I did also just find some code that didn't matter so...). I need to do more testing for multi-inputs, but I think I might do that through Statement.next_accesses or some similar option.