Skip to content
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

SCC: Add vectorisation annotations in SCCRevector and translate in SCCAnnotate #359

Merged
merged 12 commits into from
Sep 19, 2024

Commits on Sep 9, 2024

  1. Configuration menu
    Copy the full SHA
    cb1c4c5 View commit details
    Browse the repository at this point in the history
  2. SCC: Let SCCRevector mark vector loops and SCCAnnotate translates

    Instead of SCAnnotate trying to find vector loops, the routine that
    creates them marks them with `!$loki vector`, which SCCAnnotate
    then translates to OpenACC pragmas.
    
    This also uses in-place updates in SCCAnnotate now to speed up
    processing.
    mlange05 committed Sep 9, 2024
    Configuration menu
    Copy the full SHA
    cb83a00 View commit details
    Browse the repository at this point in the history
  3. SCC: Mark "seq loops" in SCCRevector and let SCCAnnotate translate

    A small bit of refactoring of the `SCCRevector` core routine also
    ensures that we now only detect `!$loki loop seq` loops inside
    driver-loops.
    mlange05 committed Sep 9, 2024
    Configuration menu
    Copy the full SHA
    9db0df8 View commit details
    Browse the repository at this point in the history
  4. Configuration menu
    Copy the full SHA
    c88afa4 View commit details
    Browse the repository at this point in the history
  5. Configuration menu
    Copy the full SHA
    6aa4fd7 View commit details
    Browse the repository at this point in the history
  6. Configuration menu
    Copy the full SHA
    c1ce783 View commit details
    Browse the repository at this point in the history
  7. Configuration menu
    Copy the full SHA
    f2eedf6 View commit details
    Browse the repository at this point in the history
  8. SCC: Let SCCRevector mark routine and SCCAnnotate translates

    This also renames and refactors the `check_routine_pragmas` utility,
    which now only needs to check for genuine `!$loki routine seq`
    annotations.
    mlange05 committed Sep 9, 2024
    Configuration menu
    Copy the full SHA
    6308e22 View commit details
    Browse the repository at this point in the history
  9. SCC: Tidy up SCCAnnotate; rename methods and remove horizontal

    We also change the static classmethods to regular methods to
    provide acces to the `directive` property in the follow-up.
    mlange05 committed Sep 9, 2024
    Configuration menu
    Copy the full SHA
    ad34d09 View commit details
    Browse the repository at this point in the history
  10. SingleColumn: Ensure that routine pragmas are always in the spec

    Theres' a subtle bug, where they can be attributed to the body,
    and thus need moving explicitly. This was done by the provious
    utility, but never checked explciitly - so now we do test it!
    mlange05 committed Sep 9, 2024
    Configuration menu
    Copy the full SHA
    d3c70fb View commit details
    Browse the repository at this point in the history
  11. SingleColumn: Fix corner case of empty !$acc data clauses

    Adds a small test and does not print data clauses if no arrays
    are passed to the routine.
    mlange05 committed Sep 9, 2024
    Configuration menu
    Copy the full SHA
    33514eb View commit details
    Browse the repository at this point in the history

Commits on Sep 19, 2024

  1. Configuration menu
    Copy the full SHA
    208a99b View commit details
    Browse the repository at this point in the history