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

Add debug informations to LoopRegion #1577

Closed
wants to merge 57 commits into from
Closed

Add debug informations to LoopRegion #1577

wants to merge 57 commits into from

Conversation

luca-patrignani
Copy link
Contributor

@luca-patrignani luca-patrignani commented May 27, 2024

NOTE: this is loop_architecture_pt_3 in disguise.
This PR is for the Week 1 milestone for my GSoC project. It adds

  • what source line range the source filename belongs to the loop body (for both for and while constructs)
  • what source line range defines the condition check (for the while construct)

These informations are stored as DebugInfoProperty in the LoopRegion class.

Needs confirmation

  • I created a separate file ( tests/loop_region_code_location_file.py) containing some functions annotated as dace program which are tested by the unit tests. I placed them to avoid messing up the line numbers every time the test file is modified.

@luca-patrignani luca-patrignani changed the title [WIP] Add debug information to LoopRegion [WIP] Add debug informations to LoopRegion May 28, 2024
@luca-patrignani luca-patrignani changed the title [WIP] Add debug informations to LoopRegion Add debug informations to LoopRegion May 28, 2024
@luca-patrignani luca-patrignani closed this by deleting the head repository Jun 10, 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.

2 participants