-
Notifications
You must be signed in to change notification settings - Fork 27
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
Allocating lmul! #253
Comments
I'm getting 0 allocations when using julia> using FastTransforms, LinearAlgebra
julia> F = zeros(31, 61);
julia> PS = plan_sph_synthesis(copy(F))
FastTransforms plan for FFTW Fourier synthesis on the sphere for 31×61-element array of Float64
julia> @time lmul!(PS, F);
0.000379 seconds
|
I guess it is a version problem. It seems to allocate on
but I cant get higher because of |
Well:
with:
|
No idea! |
It is on osx M2. |
Could you possibly profile the code to check where the allocations arise from? |
I am surprised. In the REPL, it does not allocate but in VS code REPL it does ... in vscode:
which is a ccall so not sure what to profile |
Hi,
This is not really an issue. I am wondering if the following is expected to allocate:
I am trying to optimize
FastSphericalHarmonics.sph_evaluate!
by caching the plans and stumbled on this allocation.The text was updated successfully, but these errors were encountered: