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

Precise dependencies compatibility #785

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

Conversation

a-alveyblanc
Copy link
Contributor

  • Adds HappensAfter data structure
  • Adds routine to compute lexicographic order of statements (found in loopy/kernel/dependency.py)
  • Updates InstructionBase to accommodate precise dependency semantics (depends_on -> happens_after)
  • Other changes to remedy the fact that depends_on is now happens_after

loopy/kernel/creation.py Outdated Show resolved Hide resolved
loopy/kernel/creation.py Outdated Show resolved Hide resolved
loopy/kernel/dependency.py Outdated Show resolved Hide resolved
loopy/kernel/instruction.py Outdated Show resolved Hide resolved
loopy/kernel/instruction.py Outdated Show resolved Hide resolved
loopy/kernel/instruction.py Show resolved Hide resolved
loopy/schedule/__init__.py Outdated Show resolved Hide resolved
loopy/schedule/__init__.py Outdated Show resolved Hide resolved
loopy/schedule/__init__.py Outdated Show resolved Hide resolved
test/test_dependencies.py Show resolved Hide resolved
@a-alveyblanc a-alveyblanc force-pushed the precise-dependencies-compatibility branch from 8b96893 to 0cae494 Compare March 26, 2024 02:29
@a-alveyblanc
Copy link
Contributor Author

@inducer This is ready for another look.

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