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

Reduce fusion overhead #284

Merged
merged 2 commits into from
Aug 5, 2024
Merged

Conversation

NaderAlAwar
Copy link
Contributor

Reduce overhead from PyKokkos when fusing kernels. The two main changes are:

  1. No longer restoring an AST's original arguments as that requires a copy
  2. Memoizing accesses to the AST

This also relaxes a restriction on fusing two workunits that access views with an index that is a function of the thread ID

…ring a workunit's original arguments when fusing (if the workunit already has all its types)
@NaderAlAwar NaderAlAwar merged commit 359b08a into kokkos:main Aug 5, 2024
5 checks passed
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