You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
This issue is to document a strange behaviour which is reproduced in poisson_dev_fe.jl when the following code is executed:
@time begin
for i in 1:100_000
smart_sum(manual_uₕ_array_at_qₖ)
end
end
A comment was attached to this code, that I move from there and put here to not forget
WHY THE SECOND PIECE OF CODE REQUIRES A NUMBER OF ALLOCATIONS THAT GROWS
WITH THE NUMBER OF CELLS? I CAN UNDERSTAND THAT THE CACHE ARRAY of
`manual_uₕ_array_at_qₖ` REQUIRES MORE MEMORY IN ABSOLUTE TERMS, BUT I AM NOT
ABLE TO SEE WHY IT GROWS WITH THE NUMBER OF CELLS!!!! ANY HINT?
The text was updated successfully, but these errors were encountered:
amartinhuertas
changed the title
purious memory allocation
Spurious memory allocation reproduced with poisson_dev_fe.jlApr 27, 2021
but this is not in Gridap#master yet since, after introducing these lines, the DG examples take forever to compile (specially the Stokes DG test).
The good news is that the refactoring in the block machinery I am working now cuts down these unbearable compilation times. So the fix of the memory allocations will me merged together with the work in branch https://github.com/gridap/Gridap.jl/tree/block_refactoring
This issue is to document a strange behaviour which is reproduced in
poisson_dev_fe.jl
when the following code is executed:A comment was attached to this code, that I move from there and put here to not forget
The text was updated successfully, but these errors were encountered: