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

AbstractVecOrMat, not StridedVecOrMat, in tridiagonal methods #32147

Closed
wants to merge 1 commit into from

Conversation

stevengj
Copy link
Member

It looks like several of the methods for tridiagonal methods were unnecessarily restricted to act on StridedVecOrMat rather than AbstractVecOrMat.

I noticed this because someone reported that mul! with a view was still allocating lots of memory (https://discourse.julialang.org/t/symtrididiagonal-matrices-performance-and-views-allocations)

@stevengj stevengj added the linear algebra Linear algebra label May 26, 2019
@Sacha0
Copy link
Member

Sacha0 commented May 26, 2019

Looks like the buildbots are displeased due to the inevitable method ambiguities? Best!

@stevengj
Copy link
Member Author

Grr, yes, this requires more work.

@Sacha0
Copy link
Member

Sacha0 commented May 27, 2019

Grr, yes, this requires more work.

I wish you good fortune in the wars to come

@StefanKarpinski StefanKarpinski added the help wanted Indicates that a maintainer wants help on an issue or pull request label May 29, 2019
@dkarrasch
Copy link
Member

Since the original motivation for this PR disappeared, we may as well close it. The allocations were, most likely, due to the generation of views, at least the number of allocations coincides exactly with the number of views generated. On Julia v1.3 and nightly, I don't even see those anymore.

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
help wanted Indicates that a maintainer wants help on an issue or pull request linear algebra Linear algebra
Projects
None yet
Development

Successfully merging this pull request may close these issues.

5 participants