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 a transformation to decouple orthogonal dimensions into separate BasicSet #755

Open
wants to merge 2 commits into
base: main
Choose a base branch
from

Conversation

kaushikcfd
Copy link
Collaborator

No description provided.

def decouple_domain(kernel: LoopKernel,
inames: Collection[str],
parent_inames: Collection[str]) -> LoopKernel:
r"""
Copy link
Owner

Choose a reason for hiding this comment

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

Should mention that it is the inverse of loopy.loop.merge_domains. Perhaps move to loop for consistency? Also add a reference there?


An error is raised if all the *inames* do not correspond to the same home
domain of *kernel*.
"""
Copy link
Owner

Choose a reason for hiding this comment

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

Should mention that this is not equivalent in the case of imperfectly nested loops.

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