Skip to content

Don't use nothing in caches#256

Merged
kshyatt merged 1 commit into
mainfrom
ksh/enz_cache
Jul 14, 2026
Merged

Don't use nothing in caches#256
kshyatt merged 1 commit into
mainfrom
ksh/enz_cache

Conversation

@kshyatt

@kshyatt kshyatt commented Jul 14, 2026

Copy link
Copy Markdown
Member

This passes a reference to the argument in the cache, rather than nothing, which should not affect the results but does help Enzyme with type analysis which will allow us to use these pullbacks directly in TK.

@kshyatt kshyatt requested a review from lkdvos July 14, 2026 12:44

@lkdvos lkdvos left a comment

Copy link
Copy Markdown
Member

Choose a reason for hiding this comment

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

definitely makes sense to me!

@codecov

codecov Bot commented Jul 14, 2026

Copy link
Copy Markdown

Codecov Report

✅ All modified and coverable lines are covered by tests.

Files with missing lines Coverage Δ
...ixAlgebraKitEnzymeExt/MatrixAlgebraKitEnzymeExt.jl 81.51% <100.00%> (ø)
🚀 New features to boost your workflow:
  • ❄️ Test Analytics: Detect flaky tests, report on failures, and find test suite problems.

@kshyatt kshyatt enabled auto-merge (squash) July 14, 2026 14:25

@Jutho Jutho left a comment

Copy link
Copy Markdown
Member

Choose a reason for hiding this comment

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

Looks good to me. Are these the only places where we use this pattern? it feels like there are many other places (but I haven't actually looked at any code).

@kshyatt kshyatt merged commit 69a34d7 into main Jul 14, 2026
48 checks passed
@kshyatt kshyatt deleted the ksh/enz_cache branch July 14, 2026 16:56
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.

3 participants