Open Keluaa opened 9 months ago
This does not happen on x86.
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. https://github.com/JuliaSIMD/StrideArrays.jl/issues/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.
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.