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

psvd memory allocation #25

Open
johnnychen94 opened this issue Sep 28, 2020 · 0 comments
Open

psvd memory allocation #25

johnnychen94 opened this issue Sep 28, 2020 · 0 comments

Comments

@johnnychen94
Copy link

johnnychen94 commented Sep 28, 2020

Unsure of it, but it seems to me that psvd isn't optimal wrt memory allocations.

julia> x = rand(Float64, 49, 80);

julia> @btime svd($x; alg=LinearAlgebra.QRIteration());
  745.601 μs (9 allocations: 125.38 KiB)

julia> @btime psvd($x);
  998.062 μs (106 allocations: 503.63 KiB)
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

No branches or pull requests

1 participant