stfc / PSyclone

Domain-specific compiler and code transformation system for Finite Difference/Volume/Element Earth-system models in Fortran
BSD 3-Clause "New" or "Revised" License
107 stars 29 forks source link

Port over loop handling utils from PSyACC #2754

Open jwallwork23 opened 1 month ago

jwallwork23 commented 1 month ago

Partially addresses #2717.

This PR merges functions from the loop module of PSyACC into PSyclone:

sergisiso commented 4 weeks ago

@jwallwork23 Isn't this equivalent to the Loop.independent_iterations method? (I think we considered this name for that method but decided the independent iterations could be more generic)

jwallwork23 commented 4 weeks ago

@jwallwork23 Isn't this equivalent to the Loop.independent_iterations method? (I think we considered this name for that method but decided the independent iterations could be more generic)

Oh good, if there is already an equivalent method then that's one less thing to merge in :) Thanks!

codecov[bot] commented 3 weeks ago

Codecov Report

Attention: Patch coverage is 96.00000% with 1 line in your changes missing coverage. Please review.

Project coverage is 99.86%. Comparing base (8367de1) to head (32dba72). Report is 231 commits behind head on master.

Files with missing lines Patch % Lines
src/psyclone/psyir/nodes/loop.py 96.00% 1 Missing :warning:
Additional details and impacted files ```diff @@ Coverage Diff @@ ## master #2754 +/- ## ========================================== - Coverage 99.86% 99.86% -0.01% ========================================== Files 354 354 Lines 49010 49041 +31 ========================================== + Hits 48946 48976 +30 - Misses 64 65 +1 ```

:umbrella: View full report in Codecov by Sentry.
:loudspeaker: Have feedback on the report? Share it here.


🚨 Try these New Features: