Skip to content

Add some diagonal extensions for add_transform and co on GPU - #608

Merged
kshyatt merged 2 commits into
mainfrom
ksh/diag
Nov 3, 2026
Merged

kshyatt merged 2 commits into
mainfrom
ksh/diag

Conversation

@kshyatt

@kshyatt kshyatt commented Nov 3, 2026

Copy link
Copy Markdown
Member

Revealed to be needed by QuantumKitHub/PEPSKit.jl#482

Adds some diagonal specializations for the GPU add_transform logic and some tests, happily we can reuse a lot of stuff. Adds more caches, sorry :(.

@kshyatt
kshyatt requested a review from lkdvos November 3, 2026 07:04
@codecov

codecov Bot commented Nov 3, 2026 •

Copy link
Copy Markdown

Codecov Report

✅ All modified and coverable lines are covered by tests.

Files with missing lines Coverage Δ
ext/TensorKitGPUArraysExt.jl 96.51% <100.00%> (+0.81%) ⬆️

... and 4 files with indirect coverage changes

🚀 New features to boost your workflow:
  • ❄️ Test Analytics: Detect flaky tests, report on failures, and find test suite problems.

Comment thread ext/TensorKitGPUArraysExt.jl Resolved

@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.

Does it make sense to also do this for the CPU versions? I think in general we kind of held off on that until it showed up in some profiler, but if we already have the machinery, might as well?

@kshyatt

kshyatt commented Nov 3, 2026

Copy link
Copy Markdown
Member Author

Yeah I think so, should that be part of this PR or separate, do you think?

@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.

Yeah, fair enough, probably better in a separate PR

@kshyatt
kshyatt merged commit 5a0100f into main Nov 3, 2026
33 of 35 checks passed
@kshyatt
kshyatt deleted the ksh/diag branch November 3, 2026 15:42
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