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

Support for representing cray pointers using OFP or FP (fixes #338) #342

Merged
merged 1 commit into from
Jul 22, 2024

Conversation

reuterbal
Copy link
Collaborator

The Cray pointer statement is understood by OFP and FParser but was not handled when translating the parse tree to Loki's IR. This adds functionality to represent these as Intrinsic nodes in the IR.

@reuterbal reuterbal requested a review from mlange05 July 3, 2024 14:01
@reuterbal reuterbal linked an issue Jul 3, 2024 that may be closed by this pull request
Copy link

github-actions bot commented Jul 3, 2024

Documentation for this branch can be viewed at https://sites.ecmwf.int/docs/loki/342/index.html

Copy link

codecov bot commented Jul 3, 2024

Codecov Report

All modified and coverable lines are covered by tests ✅

Project coverage is 95.29%. Comparing base (c1fd961) to head (f02af08).

Additional details and impacted files
@@           Coverage Diff           @@
##             main     #342   +/-   ##
=======================================
  Coverage   95.29%   95.29%           
=======================================
  Files         170      170           
  Lines       36398    36410   +12     
=======================================
+ Hits        34684    34696   +12     
  Misses       1714     1714           
Flag Coverage Δ
lint_rules 96.39% <ø> (ø)
loki 95.27% <100.00%> (+<0.01%) ⬆️

Flags with carried forward coverage won't be shown. Click here to find out more.

☔ View full report in Codecov by Sentry.
📢 Have feedback on the report? Share it here.

Copy link
Collaborator

@mlange05 mlange05 left a comment

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

Looks great, neat and tidy as always. GTG from me, and many thanks to @dhaumont for flagging this issue and providing the reproducer. :shipit:

@reuterbal reuterbal force-pushed the 338-parsing-cray-pointer-in-loki branch from aea722f to f02af08 Compare July 22, 2024 09:36
@reuterbal reuterbal added the ready for merge This PR has been approved and is ready to be merged label Jul 22, 2024
@reuterbal reuterbal merged commit 0ce40b7 into main Jul 22, 2024
12 checks passed
@reuterbal reuterbal deleted the 338-parsing-cray-pointer-in-loki branch July 22, 2024 10:22
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
ready for merge This PR has been approved and is ready to be merged
Projects
None yet
Development

Successfully merging this pull request may close these issues.

Parsing Cray pointer in Loki
2 participants