-
-
Notifications
You must be signed in to change notification settings - Fork 32
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
exponential!() broken for CuSparseMatrixCSC #181
Comments
I'm not 100% sure what the behavior you'd want here is. The matrix exponential of a sparse matrix is dense unless the matrix is diagonal. Diagonal GPU matrices would use What the user would almost certainly want to do instead here is |
I agree that densifying would be not a good solution for various reasons. Probably it would be best, to have exponential!() undefined for sparse matrices, like the base exp!(). Btw. exponential!() is also broken for SparseMatrixCSC():
|
Yeah we should probably just throw an error on
|
Describe the bug 🐞
Calculating the matrix exponential of a CUDA sparse matrix fails with trowing the exception
ArgumentError: Attempt to use a freed reference.
or
Error: Scalar Indexing is disallowed
when selecting
ExpMethodGeneric()
Expected behavior
Calculation of the matrix exponential like
exp(A)
Minimal Reproducible Example 👇
Error & Stacktrace⚠️
Environment (please complete the following information):
using Pkg; Pkg.status()
using Pkg; Pkg.status(; mode = PKGMODE_MANIFEST)
versioninfo()
The text was updated successfully, but these errors were encountered: