Skip to content

Conversation

@kshyatt
Copy link
Member

@kshyatt kshyatt commented Dec 23, 2025

This lets us reuse a lot of the setup infrastructure for ChainRules, Mooncake, and (soon) Enzyme. Also starts testing the AD rules on GPU.

@kshyatt kshyatt requested review from Jutho and lkdvos December 23, 2025 07:58
L = kron(diagm(I_n), A) + kron(adjoint(B), diagm(I_m))
x_vec = L \ -vec(C)
X = CuMatrix(reshape(x_vec, m, n))=#
hX = sylvester(collect(A), collect(B), collect(C))
Copy link
Member Author

Choose a reason for hiding this comment

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

This is very awful but I wasn't able to find a correct way to do it in five minutes so there you go

@github-actions
Copy link

github-actions bot commented Dec 23, 2025

Your PR no longer requires formatting changes. Thank you for your contribution!

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