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
Allocations happen at each loop iteration, because for some reason *(::Int64, ::StaticInt{1}) was not inlined? AllocCheck.jl reports a lot of dynamic calls where Static values are used. The rest of @code_typed shows similar occurrences.
This does not happen on x86.
The text was updated successfully, but these errors were encountered:
Even with --check-bounds=no?
There have been similar reports elsewhere about --check-bounds=no causing inference problems that I could reproduce on x86, e.g. JuliaSIMD/StrideArrays.jl#78
Upon trying again, it does also happen on x86 with Julia 1.10. I mistakenly used Julia 1.9.4 for which the bug does not happen, therefore it might very well be the exact same bug as you mentioned.
Keluaa
changed the title
Type-inference failure when using --check-bounds=no on ARM
Type-inference failure when using --check-bounds=no with Julia 1.10
Feb 5, 2024
I am on a Nvidia Grace CPU, using Polyester.jl v0.7.9 and Julia 1.10.0.
When starting Julia with
julia -t 16 --check-bounds=no
:Allocations happen at each loop iteration, because for some reason
*(::Int64, ::StaticInt{1})
was not inlined? AllocCheck.jl reports a lot of dynamic calls whereStatic
values are used. The rest of@code_typed
shows similar occurrences.This does not happen on x86.
The text was updated successfully, but these errors were encountered: