compiler: Enable blocking-before-CIRE#2948
Conversation
| else: | ||
| self.umt_reduce = UnboundTuple(*par_tile.default, 1) | ||
|
|
||
| def next(self, prefix, d, clusters): |
There was a problem hiding this comment.
significant reduction in complexity
| assert iters[0].step == par_tile[1] | ||
| assert iters[1].step == par_tile[0] | ||
|
|
||
| def test_custom_rule0(self): |
There was a problem hiding this comment.
unused feature, dropped; so dropping the tests too
Codecov Report❌ Patch coverage is Additional details and impacted files@@ Coverage Diff @@
## main #2948 +/- ##
==========================================
- Coverage 83.47% 79.40% -4.08%
==========================================
Files 249 249
Lines 52276 52436 +160
Branches 4503 4512 +9
==========================================
- Hits 43638 41635 -2003
- Misses 7880 9988 +2108
- Partials 758 813 +55
Flags with carried forward coverage won't be shown. Click here to find out more. ☔ View full report in Codecov by Harness. 🚀 New features to boost your workflow:
|
| """Return the DataSpace of this ClusterGroup.""" | ||
| return DataSpace.union(*[i.dspace.reset() for i in self]) | ||
|
|
||
| @property |
|
|
||
| # Overrides the default values in the main Operator class | ||
| BLOCK_LEVELS = 0 | ||
| CIRE_BLOCK_TEMPS = False |
There was a problem hiding this comment.
Is it intended to be a default or enforced?
There was a problem hiding this comment.
enforced or things would break
| if not mapper: | ||
| return self | ||
|
|
||
| if self.halo_scheme: |
There was a problem hiding this comment.
Can probably be relaxed to self.halo_scheme.distributed_aindices & mapper.keys()
| # Handle ComponentAccesses | ||
| subs = {i: Symbol(f'dummy{n}') for n, i in enumerate(compaccs)} | ||
| exprs1 = uxreplace(exprs, subs) | ||
| terms1 = retrieve_terminals(exprs1, **kwargs) |
There was a problem hiding this comment.
would likely be "cheaper" to have an ignore=compaccs in retrieve_terminals
|
Check out this pull request on See visual diffs & provide feedback on Jupyter Notebooks. Powered by ReviewNB |
This is key for features in PRO
In doing so, several utility functions are added, which might come in handy in the future as well
Some clean up also, which is never a bad thing