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

[dyno] map sync to _syncvar record #26056

Merged
merged 3 commits into from
Oct 8, 2024
Merged

Conversation

arezaii
Copy link
Collaborator

@arezaii arezaii commented Oct 8, 2024

This moves us toward fully resolving the sync keyword to the _syncvar record type in dyno. Resolves https://github.com/Cray/chapel-private/issues/6741 and adds a dyno test to capture the fixed resolution issue.

TESTING:

  • test case passes
  • release/examples/spec/Memory_Consistency_Model/syncSpinWait now fails in convert-uast with:
chapel/compiler/passes/convert-uast.cpp:4709 in convertRecordType] Unimplemented: unhandled record type: _syncvar
> syncSpinWait.chpl:11: internal error: PAS-CON-AST-5193 chpl version 2.3.0 pre-release (90c1cfa153)

[reviewed by @mppf - thanks!]

Signed-off-by: Ahmad Rezaii <ahmad.rezaii@hpe.com>
Signed-off-by: Ahmad Rezaii <ahmad.rezaii@hpe.com>
Signed-off-by: Ahmad Rezaii <ahmad.rezaii@hpe.com>
@arezaii arezaii merged commit a25a296 into chapel-lang:main Oct 8, 2024
7 checks passed
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

Successfully merging this pull request may close these issues.

2 participants