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

Fix openscop scattering dimension parsing error #106

Open
wants to merge 1 commit into
base: master
Choose a base branch
from

Conversation

Zetsyog
Copy link

@Zetsyog Zetsyog commented Nov 25, 2024

When using openscop as input for pluto that is not straight out from clan, pluto is failing.
See the example with the following scop file.

input.scop.txt

Pluto compute the number of scattering dimension as 2 * niter + 1 (with niter being the number of iterators of the statement)
This is true when the openscop is extracted from clan, but not always true.

The OpenScop Library provides the osl_relation_get_attributes function to retrieve the numder of iterators and scattering dimensions which fixes the issue.

@Zetsyog Zetsyog marked this pull request as ready for review November 25, 2024 18:06
@Zetsyog Zetsyog changed the title Fix openscop scattering dimnesion parsing error Fix openscop scattering dimension parsing error Nov 25, 2024
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.

1 participant