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

feat: ordering of only relevant loops(no visual) #41

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

Conversation

moyne
Copy link
Contributor

@moyne moyne commented Dec 22, 2023

Additional parameter that can be received on a layer that defines a set of loop to be left unordered
Blocking loop factorization and ordering of such loops
(no update to the visual bar yet)

Copy link
Contributor

@asyms asyms left a comment

Choose a reason for hiding this comment

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

One small question regarding the unordered loops. Are they placed as the start (innermost) or end (outermost) loop?

o = h
l = []
while o is not None:
l.append(o.value)
o = o.next
return l
# place unordered loops at the end
return [(name,size) for name,size in original_multiset if name in unordered_loops]+l
Copy link
Contributor

Choose a reason for hiding this comment

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

Does this not place the "unordered loops" at the start (i.e. innermost loops) of the permutation? As opposed to "at the end" as you state in the PR?

@moyne
Copy link
Contributor Author

moyne commented Feb 6, 2024

Hi, thank you for the question, they are placed as the innermost ones (so at the end of the computation, where the tensors should be allocated already at innermost memory level)

Copy link
Contributor

@asyms asyms left a comment

Choose a reason for hiding this comment

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

I'm not entirely sure how you would use this. Can you add some test scenarios that use it in a way in a new folder here: https://github.com/KULeuven-MICAS/zigzag/tree/master/tests/main ?

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.

None yet

2 participants