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

BUG: fix caching for user-defined functor vars #177

Merged
merged 1 commit into from
Feb 22, 2023

Conversation

tylerjereddy
Copy link
Contributor

  • Fixes BUG: variable assignment not propagated #173

  • add a regression test for BUG: variable assignment not propagated #173 and fix the issue by invalidating the workunit cache when user-defined variables are used in a kernel

  • this just builds on my previous skepticism that our cache is actually "safe"/useful as you can see
    from the previous comments in the code in this area

  • this fix may be more aggressive than needed, but since this fixes a bug it seems justified to me even if there is a broader performance implication, since the tests clearly are not in place to handle these cases

* Fixes kokkos#173

* add a regression test for kokkosgh-173 and fix the issue
by invalidating the workunit cache when user-defined
variables are used in a kernel

* this just builds on my previous skepticism that our
cache is actually "safe"/useful as you can see
from the previous comments in the code in this area

* this fix may be more aggressive than needed, but since
this fixes a bug it seems justified to me even if there is
a broader performance implication, since the tests clearly
are not in place to handle these cases
@NaderAlAwar NaderAlAwar merged commit f584b60 into kokkos:develop Feb 22, 2023
@tylerjereddy tylerjereddy deleted the treddy_issue_173 branch March 16, 2023 16:37
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
bug Something isn't working
Projects
None yet
Development

Successfully merging this pull request may close these issues.

2 participants